Details

Time bar (total: 7.2s)

sample37.0ms

Algorithm
intervals
Results
14.0ms529×body80valid

simplify95.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 9 (80.0ms)

IterNodesCost
0216
1526
21716
34016
48296
510906
616106
719566
822526
923675
1023675

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- t (* z z))
0.0b
(fma x x (* (* y 4.0) (- t (* z z))))
5.0b
(* (* y 4.0) (- t (* z z)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
distribute-rgt-in distribute-lft-in add-log-exp
associate-*r*
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- associate-*r/ flip-- difference-of-squares
diff-log associate-*l* *-commutative fma-udef
Counts
3 → 64
Calls
3 calls:
6.0ms
(- t (* z z))
0.0ms
(fma x x (* (* y 4.0) (- t (* z z))))
30.0ms
(* (* y 4.0) (- t (* z z)))

series218.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- t (* z z))
95.0ms
(fma x x (* (* y 4.0) (- t (* z z))))
84.0ms
(* (* y 4.0) (- t (* z z)))

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0279440
11253374
25002367

prune194.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- t (* z z))
0.0b
(fma x x (+ (* (* y 4.0) (- t (* z z))) (* (* y 4.0) (fma (- z) z (* z z)))))
5.0b
(* (* y 4.0) (- t (* z z)))
41.0b
(fma (- z) z (* z z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity prod-diff add-cbrt-cube
add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u associate-*r* log1p-expm1-u
sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ flip-- fma-udef difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 74
Calls
4 calls:
6.0ms
(- t (* z z))
0.0ms
(fma x x (+ (* (* y 4.0) (- t (* z z))) (* (* y 4.0) (fma (- z) z (* z z)))))
30.0ms
(* (* y 4.0) (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.8s

Counts
4 → 12
Calls
4 calls:
36.0ms
(- t (* z z))
1.6s
(fma x x (+ (* (* y 4.0) (- t (* z z))) (* (* y 4.0) (fma (- z) z (* z z)))))
79.0ms
(* (* y 4.0) (- t (* z z)))
56.0ms
(fma (- z) z (* z z))

simplify50.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0293562
11301478
25001467

prune276.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.7b

localize18.0ms

Local error

Found 4 expressions with local error:

5.2b
(cbrt (* (* y 4.0) (- t (* z z))))
5.2b
(cbrt (* (* y 4.0) (- t (* z z))))
5.2b
(cbrt (* (* y 4.0) (- t (* z z))))
41.0b
(fma (- z) z (* z z))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-div associate-*r/
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod flip3-- pow1/3 flip--
fma-udef
Counts
4 → 49
Calls
4 calls:
15.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
15.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
20.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
0.0ms
(fma (- z) z (* z z))

series1.1s

Counts
4 → 12
Calls
4 calls:
344.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
338.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
339.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
57.0ms
(fma (- z) z (* z z))

simplify139.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0175443
1456403
21462385
34969374
45001374

prune312.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 1.7b

localize22.0ms

Local error

Found 4 expressions with local error:

5.2b
(cbrt (* (* y 4.0) (- t (* z z))))
5.2b
(cbrt (* (* y 4.0) (- t (* z z))))
5.5b
(cbrt (- t (* z z)))
41.0b
(fma (- z) z (* z z))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt cbrt-div
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u associate-*r/ add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip--
fma-udef difference-of-squares
Counts
4 → 52
Calls
4 calls:
15.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
19.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
3.0ms
(cbrt (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.1s

Counts
4 → 12
Calls
4 calls:
343.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
350.0ms
(cbrt (* (* y 4.0) (- t (* z z))))
316.0ms
(cbrt (- t (* z z)))
53.0ms
(fma (- z) z (* z z))

simplify70.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
0268443
1674407
22488392
35001382

prune348.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 1.7b

regimes224.0ms

Accuracy

87.1% (0.4b remaining)

Error of 3.0b against oracle of 2.6b and baseline of 6.0b

bsearch125.0ms

Steps
ItersRangePoint
7
1.5804785112129858e+152
3.269943797234914e+154
1.3304026101213954e+154
10
-1.800530875751681e+160
-3.1795975076205082e+147
-1.3284830310983986e+154

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03619
13619

end0.0ms

sample985.0ms

Algorithm
intervals
Results
450.0ms15625×body80valid