Details

Time bar (total: 7.2s)

sample33.0ms

Algorithm
intervals
Results
15.0ms506×body80valid

simplify131.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 9 (110.0ms)

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

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.6b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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:
0.0ms
(fma x x (* (* y 4.0) (- t (* z z))))
2.0ms
(- t (* z z))
11.0ms
(* (* y 4.0) (- t (* z z)))

series218.0ms

Counts
3 → 9
Calls
3 calls:
92.0ms
(fma x x (* (* y 4.0) (- t (* z z))))
40.0ms
(- t (* z z))
85.0ms
(* (* y 4.0) (- t (* z z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0279440
11253374
25002367

prune202.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 2.8b

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)))))
6.2b
(* (* y 4.0) (- t (* z z)))
38.9b
(fma (- z) z (* z z))

rewrite16.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:
2.0ms
(- t (* z z))
0.0ms
(fma x x (+ (* (* y 4.0) (- t (* z z))) (* (* y 4.0) (fma (- z) z (* z z)))))
11.0ms
(* (* y 4.0) (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.9s

Counts
4 → 12
Calls
4 calls:
38.0ms
(- t (* z z))
1.7s
(fma x x (+ (* (* y 4.0) (- t (* z z))) (* (* y 4.0) (fma (- z) z (* z z)))))
87.0ms
(* (* y 4.0) (- t (* z z)))
58.0ms
(fma (- z) z (* z z))

simplify58.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0293562
11301478
25001467

prune300.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 2.8b

localize18.0ms

Local error

Found 4 expressions with local error:

6.7b
(cbrt (- t (* z z)))
6.7b
(cbrt (- t (* z z)))
6.7b
(cbrt (- t (* z z)))
38.9b
(fma (- z) z (* z z))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- difference-of-squares
fma-udef
Counts
4 → 58
Calls
4 calls:
2.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.0s

Counts
4 → 12
Calls
4 calls:
332.0ms
(cbrt (- t (* z z)))
318.0ms
(cbrt (- t (* z z)))
319.0ms
(cbrt (- t (* z z)))
61.0ms
(fma (- z) z (* z z))

simplify69.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0176443
1423415
21390406
35002395

prune378.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 2.8b

localize22.0ms

Local error

Found 4 expressions with local error:

6.7b
(cbrt (- t (* z z)))
6.7b
(cbrt (- t (* z z)))
6.7b
(cbrt (- t (* z z)))
38.9b
(fma (- z) z (* z z))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- difference-of-squares
fma-udef
Counts
4 → 58
Calls
4 calls:
6.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
2.0ms
(cbrt (- t (* z z)))
0.0ms
(fma (- z) z (* z z))

series1.0s

Counts
4 → 12
Calls
4 calls:
318.0ms
(cbrt (- t (* z z)))
325.0ms
(cbrt (- t (* z z)))
317.0ms
(cbrt (- t (* z z)))
54.0ms
(fma (- z) z (* z z))

simplify69.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0176443
1423415
21390406
35002395

prune411.0ms

Pruning

10 alts after pruning (6 fresh and 4 done)

Merged error: 2.8b

regimes339.0ms

Accuracy

87% (0.4b remaining)

Error of 2.9b against oracle of 2.4b and baseline of 5.7b

bsearch1.0ms

simplify6.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03020
13020

end0.0ms

sample853.0ms

Algorithm
intervals
Results
478.0ms15668×body80valid