Details

Time bar (total: 3.1s)

sample16.0ms

Algorithm
intervals
Results
6.0ms317×body80valid

simplify53.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: 12.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

series62.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune94.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series87.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0413869
11890835
25002832

prune256.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ y z))
0.5b
(cbrt (+ y 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)))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
295×times-frac
199×*-un-lft-identity
189×add-sqr-sqrt
175×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
26×distribute-lft-out
22×cbrt-div
16×unswap-sqr
13×pow1
12×associate-*l*
11×flip3-+ flip-+
swap-sqr
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 → 289
Calls
4 calls:
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))
10.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
59.0ms
(* (/ (* (cbrt (+ y z)) (cbrt (+ y z))) (* (cbrt z) (cbrt z))) (/ x (/ (cbrt z) (cbrt (+ y z)))))

series466.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(cbrt (+ y z))
133.0ms
(cbrt (+ y z))
165.0ms
(* (cbrt (+ y z)) (cbrt (+ y z)))
38.0ms
(* (/ (* (cbrt (+ y z)) (cbrt (+ y z))) (* (cbrt z) (cbrt z))) (/ x (/ (cbrt z) (cbrt (+ y z)))))

simplify82.0ms

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
017124584
150014216

prune934.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
18×add-exp-log
15×times-frac
13×add-sqr-sqrt add-cube-cbrt add-cbrt-cube
div-exp
associate-/l*
cbrt-undiv associate-/r*
prod-exp distribute-lft-out
associate-/r/
pow1 frac-2neg 1-exp clear-num cbrt-unprod div-inv add-log-exp
flip3-+ associate-*r/ flip-+
Counts
2 → 59
Calls
2 calls:
5.0ms
(/ z (+ y z))
8.0ms
(/ x (* 1 (/ z (+ y z))))

series91.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0265308
11151266
24341259
35002259

prune117.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample408.0ms

Algorithm
intervals
Results
205.0ms9604×body80valid