Details

Time bar (total: 4.1s)

sample27.0ms

Algorithm
intervals
Results
15.0ms275×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

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

prune7.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.5b
(fma (/ (- y z) (- a z)) t x)

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

series121.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune176.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.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:
12.0ms
(/ (- a z) (- y z))
18.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series360.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ (- a z) (- y z))
137.0ms
(/ 1 (/ (- a z) (- y z)))
177.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

prune396.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
52×*-un-lft-identity
35×add-cube-cbrt
32×times-frac
21×associate-*l*
18×prod-diff
16×add-exp-log
11×distribute-rgt-in distribute-lft-in
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*r* 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 sub-neg rec-exp 1-exp associate-*r/ cbrt-unprod div-inv
pow-flip frac-2neg pow-prod-down associate-*l/ clear-num *-commutative fma-udef inv-pow
Counts
3 → 126
Calls
3 calls:
6.0ms
(/ 1 (- a z))
26.0ms
(* (/ 1 (- a z)) (- y z))
0.0ms
(fma (* (/ 1 (- a z)) (- y z)) t x)

series350.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ 1 (- a z))
137.0ms
(* (/ 1 (- a z)) (- y z))
179.0ms
(fma (* (/ 1 (- a z)) (- y z)) t x)

simplify59.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0488928
12037685
25001639

prune276.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize16.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 (/ 1 (* (/ (* (cbrt (- a z)) (cbrt (- a z))) (* (cbrt (- y z)) (cbrt (- y z)))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

rewrite8.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:
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
0.0ms
(fma (/ 1 (* (/ (* (cbrt (- a z)) (cbrt (- a z))) (* (cbrt (- y z)) (cbrt (- y z)))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

series636.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(cbrt (- a z))
148.0ms
(cbrt (- a z))
154.0ms
(cbrt (- a z))
179.0ms
(fma (/ 1 (* (/ (* (cbrt (- a z)) (cbrt (- a z))) (* (cbrt (- y z)) (cbrt (- y z)))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0198605
1476540
21741511
35001490

prune334.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes216.0ms

Accuracy

68.1% (0.5b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02522
12522

end0.0ms

sample758.0ms

Algorithm
intervals
Results
501.0ms8690×body80valid
0.0msbody160valid