Details

Time bar (total: 4.3s)

sample25.0ms

Algorithm
intervals
Results
8.0ms257×body80valid
2.0ms17×body640valid
1.0msbody1280valid
1.0ms10×body320valid
1.0ms12×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.8b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
4.2b
(fma (/ (- y z) (- a z)) (- t x) 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) x)

series159.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune187.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.7b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.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))
28.0ms
(* (- y z) (/ 1 (- a z)))
0.0ms
(fma (* (- y z) (/ 1 (- a z))) (- t x) x)

series191.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ 1 (- a z))
49.0ms
(* (- y z) (/ 1 (- a z)))
109.0ms
(fma (* (- y z) (/ 1 (- a z))) (- t x) x)

simplify42.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0340602
11472525
25002481

prune282.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 3.7b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
4.2b
(fma (pow (/ (- y z) (- a z)) 1) (- t x) x)

rewrite19.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:
16.0ms
(/ (- y z) (- a z))
0.0ms
(fma (pow (/ (- y z) (- a z)) 1) (- t x) x)

series158.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (- y z) (- a z))
113.0ms
(fma (pow (/ (- y z) (- a z)) 1) (- t x) x)

simplify83.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0267462
1765434
22990432
35002430

prune229.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 3.7b

localize18.0ms

Local error

Found 4 expressions with local error:

3.0b
(cbrt (* (- y z) (/ 1 (- a z))))
3.0b
(cbrt (* (- y z) (/ 1 (- a z))))
3.0b
(cbrt (* (- y z) (/ 1 (- a z))))
4.2b
(fma (* (* (cbrt (* (- y z) (/ 1 (- a z)))) (cbrt (* (- y z) (/ 1 (- a z))))) (cbrt (* (- y z) (/ 1 (- a z))))) (- t x) x)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
frac-times flip3-- associate-*l/ flip--
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*r/ un-div-inv
fma-udef
Counts
4 → 61
Calls
4 calls:
8.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
8.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
8.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
0.0ms
(fma (* (* (cbrt (* (- y z) (/ 1 (- a z)))) (cbrt (* (- y z) (/ 1 (- a z))))) (cbrt (* (- y z) (/ 1 (- a z))))) (- t x) x)

series1.2s

Counts
4 → 12
Calls
4 calls:
304.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
502.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
318.0ms
(cbrt (* (- y z) (/ 1 (- a z))))
117.0ms
(fma (* (* (cbrt (* (- y z) (/ 1 (- a z)))) (cbrt (* (- y z) (/ 1 (- a z))))) (cbrt (* (- y z) (/ 1 (- a z))))) (- t x) x)

simplify70.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0232802
1690727
23022694
35002677

prune290.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 3.7b

regimes395.0ms

Accuracy

33.1% (5.3b remaining)

Error of 8.9b against oracle of 3.6b and baseline of 11.6b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03222
13222

end0.0ms

sample672.0ms

Algorithm
intervals
Results
255.0ms7764×body80valid
63.0ms500×body640valid
37.0ms421×body320valid
35.0ms236×body1280valid
16.0ms265×body160valid
2.0ms14×body2560valid