Details

Time bar (total: 8.1s)

sample33.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
06211
115411
250311
3184011
4500311

prune18.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.9b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)
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)))
26.1b
(/ (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))

rewrite22.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 (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)
0.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
12.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))

series605.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)
26.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
298.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)))
180.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))

simplify89.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06732789
126382653
250022650

prune822.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
0.2b
(* (/ (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)) (+ x 2.0))
16.6b
(/ (- (* x x) (* 2.0 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)) (+ x 2.0)))
26.1b
(/ (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))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×*-un-lft-identity
23×times-frac
22×add-cube-cbrt
20×add-exp-log add-cbrt-cube
13×associate-*l*
associate-/l*
pow1 cbrt-undiv div-exp
associate-/r/
expm1-log1p-u frac-times flip3-+ associate-*r/ associate-*r* prod-exp associate-/r* cbrt-unprod flip-+ log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*l/ clear-num associate-/l/ difference-of-squares unswap-sqr
distribute-rgt-in flip3-- distribute-lft-in div-sub pow-prod-down *-commutative flip-- fma-udef distribute-lft-out
Counts
4 → 115
Calls
4 calls:
0.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
16.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)) (+ x 2.0))
13.0ms
(/ (- (* x x) (* 2.0 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)) (+ x 2.0)))
3.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))

series778.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
212.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)) (+ x 2.0))
356.0ms
(/ (- (* x x) (* 2.0 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)) (+ x 2.0)))
184.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))

simplify84.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06371806
129921563
250021561

prune633.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
0.2b
(/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))
3.0b
(/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
26.0b
(/ (/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
661×times-frac
380×add-sqr-sqrt *-un-lft-identity
288×add-cube-cbrt
46×distribute-lft-out-- difference-of-squares
37×div-inv
32×add-exp-log
27×associate-/l*
20×add-cbrt-cube
19×div-exp associate-/r*
10×cbrt-undiv
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp div-sub clear-num associate-/l/
flip3-- pow-flip associate-/r/ flip-- fma-udef inv-pow
Counts
4 → 389
Calls
4 calls:
0.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
3.0ms
(/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))
9.0ms
(/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
19.0ms
(/ (/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))

series516.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(fma (fma x 4.16438922228 78.6994924154) x 137.519416416)
98.0ms
(/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z))
92.0ms
(/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606))
300.0ms
(/ (/ (- x 2.0) (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)) (/ 1 (fma (fma (fma (fma x 4.16438922228 78.6994924154) x 137.519416416) x y) x z)))

simplify320.0ms

Algorithm
egg-herbie
Counts
401 → 401
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
016928831
150028373

prune1.4s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize24.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.5b
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
22.5b
(* (/ 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)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
52×*-un-lft-identity
48×times-frac
45×add-exp-log
38×add-cube-cbrt
33×sqrt-prod
27×add-cbrt-cube
22×associate-*l*
20×prod-exp
11×pow1 div-exp
10×cbrt-unprod
distribute-lft-out-- difference-of-squares
cbrt-undiv associate-/r*
associate-/l*
distribute-rgt-in expm1-log1p-u distribute-lft-in fma-udef log1p-expm1-u add-log-exp
rec-exp 1-exp pow-prod-down associate-*l/
rem-sqrt-square sqrt-pow1 pow1/2 div-inv associate-/l/
frac-times flip3-- frac-2neg div-sub associate-*r/ associate-*r* clear-num *-commutative flip--
Counts
4 → 148
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))
10.0ms
(/ (- x 2.0) (sqrt (fma (fma (fma (+ x 43.3400022514) x 263.505074721) x 313.399215894) x 47.066876606)))
35.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)))

series638.0ms

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

simplify95.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07132519
132812123
250011946

prune646.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes234.0ms

Accuracy

97.9% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 25.8b

bsearch192.0ms

Steps
ItersRangePoint
8
6.217793645765005e+41
3.9777289923527025e+45
3.6379943132031436e+44
6
-1.134609644762367e+48
-1.5785591069619822e+47
-3.224942267140988e+47

simplify10.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04419
14419

end0.0ms

sample702.0ms

Algorithm
intervals
Results
514.0ms8005×body80valid