Details

Time bar (total: 2.5s)

sample16.0ms

Algorithm
intervals
Results
6.0ms296×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 16.1b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
15.2b
(/ (* 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 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:
9.0ms
(* x (+ y z))
6.0ms
(/ (* x (+ y z)) z)

series63.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune91.0ms

Pruning

5 alts after pruning (5 fresh and 0 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)))

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

series85.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0413869
11890835
25002832

prune245.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
(/ (+ y z) z)
2.7b
(* x (/ (+ y z) z))

rewrite24.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)
14.0ms
(* x (/ (+ y z) z))

series55.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune129.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.9b
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
2.8b
(cbrt (/ (+ y z) z))
2.8b
(cbrt (/ (+ y z) z))
2.8b
(cbrt (/ (+ y z) z))

rewrite44.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:
32.0ms
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
3.0ms
(cbrt (/ (+ y z) z))
3.0ms
(cbrt (/ (+ y z) z))
3.0ms
(cbrt (/ (+ y z) z))

series593.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* x (* (cbrt (/ (+ y z) z)) (cbrt (/ (+ y z) z))))
154.0ms
(cbrt (/ (+ y z) z))
151.0ms
(cbrt (/ (+ y z) z))
160.0ms
(cbrt (/ (+ y z) z))

simplify50.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0220814
1546758
21593748
35001723

prune269.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

regimes85.0ms

Accuracy

-2.9% (3.1b remaining)

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

bsearch58.0ms

Steps
ItersRangePoint
8
3.03645960558663e-282
5.171076657721044e-279
1.4526164130838052e-279
7
-4.803716780796888e-28
-4.171108835800062e-30
-3.551442779203872e-29

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1199

end0.0ms

sample407.0ms

Algorithm
intervals
Results
208.0ms9593×body80valid