Details

Time bar (total: 11.8s)

sample71.0ms

Algorithm
intervals
Results
53.0ms257×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06211
115411
250311
3184011
4500311

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.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.5b
(/ (- 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)))
25.6b
(/ (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))

rewrite23.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:
0.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))

series533.0ms

Counts
4 → 12
Calls
4 calls:
58.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)
277.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)))
172.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))

simplify91.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06772773
126212640
250012638

prune762.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

8.0b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
8.0b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
22.1b
(* (/ 1 (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (- x 2.0) (/ (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))))
25.6b
(/ (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))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
277×times-frac
241×add-sqr-sqrt
174×*-un-lft-identity
122×add-cube-cbrt
115×associate-*r*
85×sqrt-prod
45×add-exp-log
27×add-cbrt-cube
22×associate-*l* distribute-lft-out-- difference-of-squares
20×unswap-sqr
19×div-exp
12×prod-exp
10×cbrt-undiv
pow1 div-inv
cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp 1-exp associate-/r*
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r/ *-commutative
Counts
4 → 260
Calls
4 calls:
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
81.0ms
(* (/ 1 (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (- x 2.0) (/ (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))))
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))

series792.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
103.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
292.0ms
(* (/ 1 (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))) (/ (- x 2.0) (/ (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))))
292.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))

simplify93.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011315460
150014977

prune1.1s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

8.0b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
16.4b
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
16.4b
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
25.7b
(* (/ (/ 1 (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)))) (/ (- x 2.0) (/ (sqrt (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))))

rewrite496.0ms

Algorithm
rewrite-expression-head
Rules
897×times-frac
764×add-sqr-sqrt
590×sqrt-prod
412×*-un-lft-identity
320×add-cube-cbrt
202×associate-*l*
160×associate-*r*
80×unswap-sqr
64×add-exp-log
40×add-cbrt-cube
33×div-exp
31×distribute-lft-out-- difference-of-squares
18×cbrt-undiv
16×div-inv
15×prod-exp
11×pow1
sqrt-pow1 cbrt-unprod
rem-sqrt-square pow1/2
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp 1-exp
frac-times associate-*r/ pow-prod-down associate-*l/ associate-/r/ *-commutative
Counts
4 → 537
Calls
4 calls:
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
1.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
1.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
441.0ms
(* (/ (/ 1 (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)))) (/ (- x 2.0) (/ (sqrt (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))))

series702.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
155.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
153.0ms
(sqrt (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
290.0ms
(* (/ (/ 1 (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)))) (/ (- x 2.0) (/ (sqrt (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))))

simplify220.0ms

Algorithm
egg-herbie
Counts
549 → 549
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0196117292
1500116464

prune2.3s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize22.0ms

Local error

Found 4 expressions with local error:

8.0b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
8.0b
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
16.4b
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
25.7b
(* (/ (/ (- 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))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
424×times-frac
309×add-sqr-sqrt
283×*-un-lft-identity
221×sqrt-prod
208×associate-*l*
197×add-cube-cbrt
43×distribute-lft-out-- difference-of-squares
15×add-exp-log add-cbrt-cube
pow1 div-inv
unswap-sqr
associate-/r*
associate-/l*
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-*r* prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef associate-/l/
distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-sub pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
4 → 326
Calls
4 calls:
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
1.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
9.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
79.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))

series630.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
97.0ms
(sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
153.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
280.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))

simplify126.0ms

Algorithm
egg-herbie
Counts
338 → 338
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
09315897
136245344
250015328

prune1.3s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes232.0ms

Accuracy

96.7% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 24.0b

bsearch218.0ms

Steps
ItersRangePoint
8
4.156039484845393e+59
1.5826941099673832e+62
3.4522923987804874e+60
5
-8.046241462226344e+67
-3.44962383690743e+67
-3.9093960876619187e+67

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04523
14523

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.5s8009×body80valid