Details

Time bar (total: 13.2s)

sample33.0ms

Algorithm
intervals
Results
16.0ms257×body80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06211
115411
250311
3184011
4500311

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 20.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y)
0.1b
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
0.3b
(/ (- x 2.0) (/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
19.8b
(/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
128×times-frac
96×add-sqr-sqrt *-un-lft-identity
68×add-cube-cbrt
16×associate-/r*
14×distribute-lft-out-- difference-of-squares
11×add-exp-log add-cbrt-cube
div-inv associate-/l*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef associate-/l/
flip3-- div-sub associate-/r/ flip--
Counts
4 → 152
Calls
4 calls:
1.0ms
(fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y)
0.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
11.0ms
(/ (- x 2.0) (/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
2.0ms
(/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

series546.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y)
26.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
285.0ms
(/ (- x 2.0) (/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
174.0ms
(/ (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

simplify87.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06772773
126212640
250012638

prune766.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

5.2b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
13.4b
(/ (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
13.6b
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
19.9b
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
2116×times-frac
1176×add-sqr-sqrt
1175×*-un-lft-identity
885×add-cube-cbrt
693×sqrt-prod
145×distribute-lft-out-- difference-of-squares
61×div-inv
45×associate-/l*
31×associate-/r*
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg div-sub clear-num associate-/l/
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip--
Counts
4 → 941
Calls
4 calls:
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
34.0ms
(/ (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
9.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
3.0ms
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

series874.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
299.0ms
(/ (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
164.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
305.0ms
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

simplify408.0ms

Algorithm
egg-herbie
Counts
953 → 953
Iterations

Useful iterations: 1 (53.0ms)

IterNodesCost
0310433066
1500232245

prune3.0s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

5.2b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
13.4b
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
13.6b
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
19.9b
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
129×add-sqr-sqrt
128×*-un-lft-identity
114×add-cube-cbrt
69×sqrt-prod
31×associate-/r*
14×associate-/l*
13×add-exp-log add-cbrt-cube
div-inv distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
associate-/l/
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 div-sub associate-/r/ flip--
Counts
4 → 222
Calls
4 calls:
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
7.0ms
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
10.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
3.0ms
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

series1.9s

Counts
4 → 12
Calls
4 calls:
106.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
1.3s
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))
168.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
300.0ms
(/ (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))

simplify126.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08245484
135634951
250014898

prune1.1s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

13.4b
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (* (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (* (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))) (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))))
13.6b
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
13.6b
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
13.6b
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
38×sqrt-prod
35×add-exp-log
33×times-frac
29×add-cube-cbrt
28×add-cbrt-cube
15×cbrt-undiv div-exp
pow1 sqrt-pow1 prod-exp cbrt-unprod associate-/l*
associate-/r* distribute-lft-out-- difference-of-squares
expm1-log1p-u rem-sqrt-square pow1/2 log1p-expm1-u add-log-exp
associate-/r/
frac-2neg clear-num div-inv associate-/l/
frac-times flip3-- div-sub associate-*r/ associate-*l/ flip--
Counts
4 → 136
Calls
4 calls:
22.0ms
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (* (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (* (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))) (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))))
2.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
6.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
10.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))

series1.9s

Counts
4 → 12
Calls
4 calls:
1.5s
(/ (log1p (expm1 (/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))))) (* (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (* (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))) (/ (sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (cbrt (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))))
148.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
161.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
171.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))

simplify87.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07393200
129722352
250012161

prune741.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes249.0ms

Accuracy

96.4% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 24.6b

bsearch244.0ms

Steps
ItersRangePoint
11
45264.06840193658
8.566821114543323e+39
3.1891806251302295e+39
6
-5.11831076240431e+48
-3.319771106735355e+47
-1.819735868441366e+48

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04224
14224

end0.0ms

sample690.0ms

Algorithm
intervals
Results
518.0ms8012×body80valid