Details

Time bar (total: 6.8s)

sample22.0ms

Algorithm
intervals
Results
9.0ms277×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

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

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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:
10.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) t x)

series135.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune212.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

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

rewrite32.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:
1.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)))
8.0ms
(cbrt (/ (- y z) (- a z)))
8.0ms
(cbrt (/ (- y z) (- a z)))

series1.1s

Counts
4 → 12
Calls
4 calls:
90.0ms
(fma (* (* (cbrt (/ (- y z) (- a z))) (cbrt (/ (- y z) (- a z)))) (cbrt (/ (- y z) (- a z)))) t x)
343.0ms
(cbrt (/ (- y z) (- a z)))
354.0ms
(cbrt (/ (- y z) (- a z)))
342.0ms
(cbrt (/ (- y z) (- a z)))

simplify87.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
03311574
17331516
224961503
350011473

prune609.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite41.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:
10.0ms
(cbrt (/ (cbrt (- y z)) (- a z)))
1.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)
9.0ms
(cbrt (/ (- y z) (- a z)))
8.0ms
(cbrt (/ (- y z) (- a z)))

series1.3s

Counts
4 → 12
Calls
4 calls:
483.0ms
(cbrt (/ (cbrt (- y z)) (- a z)))
100.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)
381.0ms
(cbrt (/ (- y z) (- a z)))
373.0ms
(cbrt (/ (- y z) (- a z)))

simplify73.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05531961
113091881
250011860

prune869.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

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

rewrite6.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))
1.0ms
(fma (/ (- y z) (- a z)) t x)
1.0ms
(fma (/ (- y z) (- a z)) t x)
1.0ms
(fma (/ (- y z) (- a z)) t x)

series844.0ms

Counts
4 → 12
Calls
4 calls:
576.0ms
(cbrt (fma (/ (- y z) (- a z)) t x))
81.0ms
(fma (/ (- y z) (- a z)) t x)
89.0ms
(fma (/ (- y z) (- a z)) t x)
98.0ms
(fma (/ (- y z) (- a z)) t x)

simplify43.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0118347
1274309
21031306
35001303

prune242.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes327.0ms

Accuracy

80.6% (0.2b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02317
12317

end0.0ms

sample575.0ms

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