Details

Time bar (total: 5.6s)

sample22.0ms

Algorithm
intervals
Results
8.0ms279×body80valid

simplify57.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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.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:
26.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) t x)

series115.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune178.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.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:
105.0ms
(- (/ y (- a z)) (/ z (- a z)))
11.0ms
(/ y (- a z))
14.0ms
(/ z (- a z))
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

series290.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(- (/ y (- a z)) (/ z (- a z)))
26.0ms
(/ y (- a z))
45.0ms
(/ z (- a z))
155.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

simplify180.0ms

Algorithm
egg-herbie
Counts
593 → 593
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0123315689
1329711705
2500111613

prune1.2s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
4.0ms
(cbrt (- a z))
4.0ms
(cbrt (- a z))
4.0ms
(cbrt (- a z))
0.0ms
(fma (- (/ (/ y (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))) (/ z (- a z))) t x)

series579.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(cbrt (- a z))
137.0ms
(cbrt (- a z))
139.0ms
(cbrt (- a z))
156.0ms
(fma (- (/ (/ y (* (cbrt (- a z)) (cbrt (- a z)))) (cbrt (- a z))) (/ z (- a z))) t x)

simplify132.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 4 (125.0ms)

IterNodesCost
0185527
1396485
21145474
34099443
45001440

prune277.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
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
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (fma (- (/ y (- a z)) (/ z (- a z))) t x))
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)
0.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

series1.2s

Counts
4 → 12
Calls
4 calls:
720.0ms
(cbrt (fma (- (/ y (- a z)) (/ z (- a z))) t x))
149.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)
149.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)
149.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) t x)

simplify43.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0131463
1318409
21286400
35001395

prune179.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes239.0ms

Accuracy

79.8% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02519
12519

end0.0ms

sample619.0ms

Algorithm
intervals
Results
259.0ms8733×body80valid