Details

Time bar (total: 1.9s)

sample15.0ms

Algorithm
intervals
Results
6.0ms302×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (13.0ms)

IterNodesCost
0163
1243
2383
3453
4533
5573
6673
73092
821252
950012

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 1 expressions with local error:

2.7b
(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:
1.0ms
(fma (/ y z) x x)

series26.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02644
16239
220539
384939
4478539
5500139

prune31.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (/ y z) x x))
2.7b
(fma (/ y z) x x)
2.7b
(fma (/ y z) x x)
2.7b
(fma (/ y z) x x)

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

series204.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0102227
1252205
2978202
34867197
45001197

prune143.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
6.0ms
(* x (+ y z))
7.0ms
(/ (* x (+ y z)) z)

series62.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0234220
11134191
25001188

prune96.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ y z))
2.7b
(/ x (/ z (+ y z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
94×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
16×distribute-lft-out
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 127
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (/ z (+ y z)))

series84.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(/ z (+ y z))
42.0ms
(/ x (/ z (+ y z)))

simplify52.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0420883
11912847
25002841

prune239.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes81.0ms

Accuracy

45.7% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.4b

bsearch52.0ms

Steps
ItersRangePoint
10
1.761122338313213e-21
1.4316099847845607e-10
4.411147860766137e-11
7
-5.2969709347915024e+88
-3.168377706180798e+86
-3.9747265790110112e+87

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0164
1164

end0.0ms

sample380.0ms

Algorithm
intervals
Results
200.0ms9630×body80valid