Details

Time bar (total: 1.9s)

sample16.0ms

Algorithm
intervals
Results
6.0ms307×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (13.0ms)

IterNodesCost
0163
1243
2383
3453
4533
5573
6673
73092
821252
950012

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

1.5b
(fma (/ y z) x x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (/ y z) x x)

series26.0ms

Counts
1 → 3
Calls
1 calls:
26.0ms
(fma (/ y z) x x)

simplify145.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02644
16239
220539
384939
4478539
5500139

prune33.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (/ y z) x x))
1.5b
(fma (/ y z) x x)
1.5b
(fma (/ y z) x x)
1.5b
(fma (/ y z) x 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) x x))
0.0ms
(fma (/ y z) x x)
0.0ms
(fma (/ y z) x x)
0.0ms
(fma (/ y z) x x)

series209.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (fma (/ y z) x x))
29.0ms
(fma (/ y z) x x)
26.0ms
(fma (/ y z) x x)
27.0ms
(fma (/ y z) x x)

simplify119.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0102227
1252205
2978202
34867197
45001197

prune138.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:

1.5b
(fma (/ y z) x x)
1.5b
(fma (/ y z) x x)
1.5b
(fma (/ y z) x x)
1.5b
(fma (/ y z) x x)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
0.0ms
(fma (/ y z) x x)
0.0ms
(fma (/ y z) x x)
0.0ms
(fma (/ y z) x x)
0.0ms
(fma (/ y z) x x)

series109.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(fma (/ y z) x x)
26.0ms
(fma (/ y z) x x)
26.0ms
(fma (/ y z) x x)
28.0ms
(fma (/ y z) x x)

simplify146.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
026176
162156
2205156
3849156
44785156
55001156

prune154.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
13.0b
(/ (* x (+ y z)) z)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 associate-*r/ associate-*r*
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 50
Calls
2 calls:
10.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series63.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* x (+ y z))
38.0ms
(/ (* x (+ y z)) z)

simplify39.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0234220
11134191
25001188

prune92.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes82.0ms

Accuracy

30.5% (2.4b remaining)

Error of 2.4b against oracle of 0.0b and baseline of 3.5b

bsearch27.0ms

Steps
ItersRangePoint
8
-2.0560792791530574e+34
-5.716313222571936e+29
-2.6033079480859914e+30

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104

end0.0ms

sample401.0ms

Algorithm
intervals
Results
205.0ms9638×body80valid