Details

Time bar (total: 4.5s)

sample21.0ms

Algorithm
intervals
Results
8.0ms277×body80valid

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

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 2

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.9b
(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:
9.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) t x)

series153.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune182.0ms

Filtered
70 candidates to 51 candidates (72.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New66470
Fresh011
Picked011
Done000
Total66672

Merged error: 0b

Counts
72 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.5b
(/ 1 (/ (- a z) (- y z)))
1.9b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite38.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:
11.0ms
(/ (- a z) (- y z))
14.0ms
(/ 1 (/ (- a z) (- y z)))
1.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series427.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(/ (- a z) (- y z))
152.0ms
(/ 1 (/ (- a z) (- y z)))
217.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify85.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06201891
127641708
250021537

prune381.0ms

Filtered
223 candidates to 106 candidates (47.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2230223
Fresh044
Picked011
Done011
Total2236229

Merged error: 0b

Counts
229 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- a z))
0.5b
(cbrt (- a z))
0.5b
(cbrt (- a z))
1.9b
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

rewrite17.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:
3.0ms
(cbrt (- a z))
7.0ms
(cbrt (- a z))
4.0ms
(cbrt (- a z))
1.0ms
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

series747.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt (- a z))
177.0ms
(cbrt (- a z))
178.0ms
(cbrt (- a z))
211.0ms
(fma (* (/ 1 (* (cbrt (- a z)) (cbrt (- a z)))) (/ (- y z) (cbrt (- a z)))) t x)

simplify62.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0193514
1454473
21559455
35002434

prune287.0ms

Filtered
73 candidates to 66 candidates (90.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done022
Total73679

Merged error: 0b

Counts
79 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (/ (- y z) (- a z)) t x))
1.9b
(fma (/ (- y z) (- a z)) t x)
1.9b
(fma (/ (- y z) (- a z)) t x)
1.9b
(fma (/ (- y z) (- a z)) t x)

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

series805.0ms

Counts
4 → 12
Calls
4 calls:
541.0ms
(cbrt (fma (/ (- y z) (- a z)) t x))
90.0ms
(fma (/ (- y z) (- a z)) t x)
84.0ms
(fma (/ (- y z) (- a z)) t x)
91.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

prune202.0ms

Filtered
55 candidates to 51 candidates (92.7%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New55055
Fresh022
Picked011
Done033
Total55661

Merged error: 0b

Counts
61 → 6

regimes260.0ms

Accuracy

30.6% (0.9b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02317
12317

end0.0ms

sample553.0ms

Algorithm
intervals
Results
289.0ms8697×body80valid
0.0msbody160valid

Profiling

Loading profile data...