Details

Time bar (total: 3.1s)

sample14.0ms

Algorithm
intervals
Results
6.0ms301×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: 11.8b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ y z))
11.1b
(/ (* 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)

series64.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune95.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

series88.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25002832

prune245.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
295×times-frac
195×*-un-lft-identity
189×add-sqr-sqrt
173×cbrt-prod
156×associate-*r*
145×add-cube-cbrt
75×add-exp-log
39×add-cbrt-cube
28×prod-exp cbrt-unprod
27×cbrt-undiv div-exp
24×distribute-lft-out
18×cbrt-div
16×unswap-sqr
13×pow1
12×associate-*l*
flip3-+ swap-sqr flip-+
pow1/3
associate-/r/
frac-times div-inv
add-log-exp
associate-*r/ pow-prod-down associate-*l/
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 283
Calls
4 calls:
0.0ms
(cbrt z)
1.0ms
(cbrt z)
19.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
105.0ms
(* (/ (* (cbrt (+ y z)) (cbrt (+ y z))) (* (cbrt z) (cbrt z))) (/ x (/ (cbrt z) (cbrt (+ y z)))))

series571.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt z)
181.0ms
(cbrt z)
171.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
37.0ms
(* (/ (* (cbrt (+ y z)) (cbrt (+ y z))) (* (cbrt z) (cbrt z))) (/ x (/ (cbrt z) (cbrt (+ y z)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
295 → 295
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
016754488
150014128

prune851.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ y z))
0.2b
(* z (/ 1 (+ y z)))
3.1b
(/ x (* z (/ 1 (+ y z))))

rewrite33.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
rec-exp 1-exp associate-*l* 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 → 105
Calls
3 calls:
5.0ms
(/ 1 (+ y z))
16.0ms
(* z (/ 1 (+ y z)))
7.0ms
(/ x (* z (/ 1 (+ y z))))

series119.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ 1 (+ y z))
39.0ms
(* z (/ 1 (+ y z)))
47.0ms
(/ x (* z (/ 1 (+ y z))))

simplify45.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0328513
11537425
25001381

prune144.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes70.0ms

Accuracy

0% (1.1b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01415
11415

end0.0ms

sample383.0ms

Algorithm
intervals
Results
195.0ms9614×body80valid