Details

Time bar (total: 5.8s)

sample19.0ms

Algorithm
intervals
Results
8.0ms277×body80valid

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

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

series125.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune170.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

2.5b
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (cbrt (/ (- y z) (- a z)))) t x)
4.4b
(cbrt (/ (- y z) (- a z)))
4.4b
(cbrt (/ (- y z) (- a z)))
4.4b
(cbrt (/ (- y z) (- a z)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
97×add-sqr-sqrt *-un-lft-identity
93×cbrt-prod
75×times-frac
37×add-cube-cbrt
30×distribute-lft-out-- difference-of-squares
associate-/r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div flip3-- pow1/3 flip-- div-inv
fma-udef
Counts
4 → 136
Calls
4 calls:
0.0ms
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (cbrt (/ (- y z) (- a z)))) t x)
8.0ms
(cbrt (/ (- y z) (- a z)))
5.0ms
(cbrt (/ (- y z) (- a z)))
5.0ms
(cbrt (/ (- y z) (- a z)))

series980.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (cbrt (/ (- y z) (- a z)))) t x)
309.0ms
(cbrt (/ (- y z) (- a z)))
299.0ms
(cbrt (/ (- y z) (- a z)))
301.0ms
(cbrt (/ (- y z) (- a z)))

simplify81.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
03311574
17331516
224961503
350011473

prune521.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

1.8b
(cbrt (/ (cbrt (- y z)) (- a z)))
2.5b
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (* (cbrt (/ (* (cbrt (- y z)) (cbrt (- y z))) 1)) (cbrt (/ (cbrt (- y z)) (- a z))))) t x)
4.4b
(cbrt (/ (- y z) (- a z)))
4.4b
(cbrt (/ (- y z) (- a z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
133×cbrt-prod
111×add-sqr-sqrt *-un-lft-identity
90×times-frac
45×add-cube-cbrt
33×distribute-lft-out-- difference-of-squares
associate-/r/
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-div flip3-- pow1/3 flip-- div-inv
fma-udef
Counts
4 → 151
Calls
4 calls:
6.0ms
(cbrt (/ (cbrt (- y z)) (- a z)))
0.0ms
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (* (cbrt (/ (* (cbrt (- y z)) (cbrt (- y z))) 1)) (cbrt (/ (cbrt (- y z)) (- a z))))) t x)
5.0ms
(cbrt (/ (- y z) (- a z)))
6.0ms
(cbrt (/ (- y z) (- a z)))

series1.1s

Counts
4 → 12
Calls
4 calls:
394.0ms
(cbrt (/ (cbrt (- y z)) (- a z)))
78.0ms
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (* (cbrt (/ (* (cbrt (- y z)) (cbrt (- y z))) 1)) (cbrt (/ (cbrt (- y z)) (- a z))))) t x)
308.0ms
(cbrt (/ (- y z) (- a z)))
329.0ms
(cbrt (/ (- y z) (- a z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05531961
113091881
250011860

prune766.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (/ (- y z) (- a z)) t x))
2.5b
(fma (/ (- y z) (- a z)) t x)
2.5b
(fma (/ (- y z) (- a z)) t x)
2.5b
(fma (/ (- y 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 z) (- a z)) t x))
0.0ms
(fma (/ (- y z) (- a z)) t x)
0.0ms
(fma (/ (- y z) (- a z)) t x)
0.0ms
(fma (/ (- y z) (- a z)) t x)

series685.0ms

Counts
4 → 12
Calls
4 calls:
461.0ms
(cbrt (fma (/ (- y z) (- a z)) t x))
76.0ms
(fma (/ (- y z) (- a z)) t x)
71.0ms
(fma (/ (- y z) (- a z)) t x)
77.0ms
(fma (/ (- y z) (- a z)) t x)

simplify39.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0118347
1274309
21031306
35001303

prune196.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes294.0ms

Accuracy

80.6% (0.2b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02317
12317

end0.0ms

sample523.0ms

Algorithm
intervals
Results
270.0ms8716×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid