Details

Time bar (total: 2.0s)

sample24.0ms

Algorithm
intervals
Results
14.0ms298×body80valid

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

localize5.0ms

Local error

Found 1 expressions with local error:

3.3b
(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)

series25.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02644
16239
220539
384939
4478539
5500139

prune28.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
9.0ms
(* x (+ y z))
5.0ms
(/ (* x (+ y z)) z)

series62.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0234220
11134191
25001188

prune98.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
(/ z (+ y z))
3.4b
(/ x (/ z (+ y z)))

rewrite20.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))
9.0ms
(/ x (/ z (+ y z)))

series86.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0420883
11912847
25002841

prune260.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ y z))
0.3b
(* z (/ 1 (+ y z)))
3.4b
(/ x (* z (/ 1 (+ y z))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
31×add-exp-log
30×add-sqr-sqrt
29×times-frac
23×add-cube-cbrt
19×add-cbrt-cube
18×associate-*r*
11×div-exp
prod-exp
distribute-lft-out
pow1 cbrt-undiv associate-/r/ associate-/l*
associate-/r*
cbrt-unprod
expm1-log1p-u rec-exp 1-exp associate-*l* log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ clear-num un-div-inv flip-+
pow-flip pow-prod-down *-commutative inv-pow
Counts
3 → 111
Calls
3 calls:
5.0ms
(/ 1 (+ y z))
16.0ms
(* z (/ 1 (+ y z)))
7.0ms
(/ x (* z (/ 1 (+ y z))))

series120.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ 1 (+ y z))
38.0ms
(* z (/ 1 (+ y z)))
46.0ms
(/ x (* z (/ 1 (+ y z))))

simplify41.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0335537
11556449
25001402

prune167.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

regimes137.0ms

Accuracy

94% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02426
12426

end0.0ms

sample596.0ms

Algorithm
intervals
Results
396.0ms9632×body80valid