Details

Time bar (total: 2.8s)

sample26.0ms

Algorithm
intervals
Results
17.0ms302×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0163
1223
2333
3363
4423
5463
6543
72823
820723
950013

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.8b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
14.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 flip3-+ div-exp prod-exp cbrt-unprod flip-+ 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 → 46
Calls
2 calls:
10.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series62.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune89.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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 frac-2neg clear-num add-log-exp
Counts
2 → 123
Calls
2 calls:
6.0ms
(/ z (+ y z))
10.0ms
(/ x (/ z (+ y z)))

series87.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25002832

prune241.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
25×add-sqr-sqrt times-frac
20×add-cube-cbrt
16×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-/l*
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 68
Calls
2 calls:
8.0ms
(/ (+ y z) z)
16.0ms
(* x (/ (+ y z) z))

series53.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune125.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.6b
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
2.6b
(cbrt (/ (+ y z) z))
2.6b
(cbrt (/ (+ y z) z))
2.6b
(cbrt (/ (+ y z) z))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
48×cbrt-prod
47×*-un-lft-identity
36×times-frac
30×add-sqr-sqrt
29×add-cube-cbrt
pow1 add-exp-log distribute-lft-out
cbrt-div add-cbrt-cube
associate-*r/ add-log-exp
pow1/3 associate-*l* pow-prod-down prod-exp cbrt-unprod div-inv
frac-times associate-*r* associate-*l/ *-commutative unswap-sqr
Counts
4 → 97
Calls
4 calls:
34.0ms
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
3.0ms
(cbrt (/ (+ y z) z))
3.0ms
(cbrt (/ (+ y z) z))
4.0ms
(cbrt (/ (+ y z) z))

series609.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
163.0ms
(cbrt (/ (+ y z) z))
164.0ms
(cbrt (/ (+ y z) z))
155.0ms
(cbrt (/ (+ y z) z))

simplify53.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0220814
1546758
21593748
35001723

prune261.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes73.0ms

Accuracy

24.4% (2.2b remaining)

Error of 2.2b against oracle of 0.0b and baseline of 2.9b

bsearch66.0ms

Steps
ItersRangePoint
8
4.44730102309774e-53
2.450734406407808e-49
8.41080899877055e-53
7
-4.541056729908261e-196
-5.170954158333945e-198
-4.138619732631135e-196

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0216
1216

end0.0ms

sample679.0ms

Algorithm
intervals
Results
470.0ms9581×body80valid