Details

Time bar (total: 4.2s)

sample20.0ms

Algorithm
intervals
Results
8.0ms284×body80valid

simplify68.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.1b

localize8.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)

series130.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune199.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef inv-pow
Counts
3 → 105
Calls
3 calls:
6.0ms
(/ 1 (- a z))
24.0ms
(* (- y z) (/ 1 (- a z)))
0.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

series171.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ 1 (- a z))
50.0ms
(* (- y z) (/ 1 (- a z)))
81.0ms
(fma (* (- y z) (/ 1 (- a z))) t x)

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0333585
11448510
25002468

prune271.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
38×cbrt-prod
34×add-sqr-sqrt
32×*-un-lft-identity
16×cbrt-div
14×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 associate-*r* associate-*l* flip-- distribute-lft-out--
add-exp-log difference-of-squares
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 102
Calls
4 calls:
2.0ms
(cbrt (- y z))
2.0ms
(cbrt (- y z))
20.0ms
(* (cbrt (- a z)) (cbrt (- a z)))
0.0ms
(fma (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (cbrt (- y z)) (cbrt (- a z)))) t x)

series518.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(cbrt (- y z))
151.0ms
(cbrt (- y z))
132.0ms
(* (cbrt (- a z)) (cbrt (- a z)))
80.0ms
(fma (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (cbrt (- y z)) (cbrt (- a z)))) t x)

simplify49.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0369931
11249857
25001791

prune421.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×cbrt-prod
34×add-sqr-sqrt
32×*-un-lft-identity
16×cbrt-div
14×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 associate-*r* associate-*l* flip-- distribute-lft-out--
add-exp-log difference-of-squares
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 102
Calls
4 calls:
2.0ms
(cbrt (- y z))
2.0ms
(cbrt (- y z))
23.0ms
(* (cbrt (- a z)) (cbrt (- a z)))
0.0ms
(fma (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (* (cbrt (- a z)) (cbrt (* (cbrt (- a z)) (cbrt (- a z))))) (cbrt (cbrt (- a z))))) (/ (cbrt (- y z)) (cbrt (- a z)))) t x)

series594.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt (- y z))
179.0ms
(cbrt (- y z))
151.0ms
(* (cbrt (- a z)) (cbrt (- a z)))
80.0ms
(fma (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (* (cbrt (- a z)) (cbrt (* (cbrt (- a z)) (cbrt (- a z))))) (cbrt (cbrt (- a z))))) (/ (cbrt (- y z)) (cbrt (- a z)))) t x)

simplify61.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
03751035
11282945
25001890

prune514.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 0.0b

regimes355.0ms

Accuracy

31% (0.8b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 1.2b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02317
12317

end0.0ms

sample529.0ms

Algorithm
intervals
Results
274.0ms8712×body80valid