Details

Time bar (total: 5.5s)

sample28.0ms

Algorithm
intervals
Results
16.0ms280×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0175
1355
2634
31074
41694
52394
62884
73564
84074
95334
107554
1112564
1213024
1313044
1413044

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.1b
(fma (/ (- y z) (- a z)) t x)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
12.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) t x)

series138.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(/ (- y z) (- a z))
84.0ms
(fma (/ (- y z) (- a z)) t x)

simplify60.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune193.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ y (- a z)) (/ z (- a z)))
0.0b
(/ z (- a z))
0.0b
(/ y (- a z))
1.1b
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
693×times-frac
441×prod-diff
413×add-cube-cbrt
149×distribute-lft-out--
143×difference-of-squares
94×associate-/r/
48×flip3-- flip--
47×div-inv
21×fma-neg
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub fma-udef sub-div
Counts
4 → 581
Calls
4 calls:
76.0ms
(- (/ y (- a z)) (/ z (- a z)))
5.0ms
(/ z (- a z))
5.0ms
(/ y (- a z))
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

series326.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (/ y (- a z)) (/ z (- a z)))
46.0ms
(/ z (- a z))
33.0ms
(/ y (- a z))
175.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

simplify178.0ms

Algorithm
egg-herbie
Counts
593 → 593
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0123315689
1329711705
2500111613

prune1.3s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
1.1b
(fma (- (/ (* (cbrt y) (cbrt y)) (/ (- a z) (cbrt y))) (/ z (- a z))) t x)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt y)
0.0ms
(cbrt y)
1.0ms
(cbrt y)
0.0ms
(fma (- (/ (* (cbrt y) (cbrt y)) (/ (- a z) (cbrt y))) (/ z (- a z))) t x)

series782.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(cbrt y)
194.0ms
(cbrt y)
188.0ms
(cbrt y)
211.0ms
(fma (- (/ (* (cbrt y) (cbrt y)) (/ (- a z) (cbrt y))) (/ z (- a z))) t x)

simplify78.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (73.0ms)

IterNodesCost
085291
1188259
2538249
32377246
45001244

prune240.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.5b
(/ 1 (/ (- a z) (- y z)))
1.1b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
195×add-sqr-sqrt *-un-lft-identity
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp associate-/l*
flip3-- flip-- div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
3 → 214
Calls
3 calls:
16.0ms
(/ (- a z) (- y z))
14.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series390.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(/ (- a z) (- y z))
139.0ms
(/ 1 (/ (- a z) (- y z)))
194.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify70.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06201891
127641708
250021537

prune414.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes227.0ms

Accuracy

27.5% (1.0b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 1.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02724
12724

end0.0ms

sample783.0ms

Algorithm
intervals
Results
512.0ms8707×body80valid
0.0msbody320valid
0.0msbody160valid