Details

Time bar (total: 2.5s)

sample19.0ms

Algorithm
intervals
Results
8.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: 12.7b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.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:
20.0ms
(* x (+ y z))
15.0ms
(/ (* x (+ y z)) z)

series55.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune94.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.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:
11.0ms
(/ z (+ y z))
17.0ms
(/ x (/ z (+ y z)))

series76.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0413869
11890835
25002832

prune246.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

3.0b
(/ x (* (* (cbrt (/ z (+ y z))) (cbrt (/ z (+ y z)))) (cbrt (/ z (+ y z)))))
3.2b
(cbrt (/ z (+ y z)))
3.2b
(cbrt (/ z (+ y z)))
3.2b
(cbrt (/ z (+ y z)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
48×*-un-lft-identity
39×times-frac
30×add-sqr-sqrt add-cube-cbrt
15×cbrt-div
13×add-exp-log associate-/r/
add-cbrt-cube distribute-lft-out
frac-times associate-*l/
pow1 div-inv add-log-exp
cbrt-undiv flip3-+ pow1/3 associate-*r/ div-exp prod-exp cbrt-unprod flip-+ associate-/l*
frac-2neg clear-num associate-/r*
Counts
4 → 111
Calls
4 calls:
79.0ms
(/ x (* (* (cbrt (/ z (+ y z))) (cbrt (/ z (+ y z)))) (cbrt (/ z (+ y z)))))
6.0ms
(cbrt (/ z (+ y z)))
6.0ms
(cbrt (/ z (+ y z)))
6.0ms
(cbrt (/ z (+ y z)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ x (* (* (cbrt (/ z (+ y z))) (cbrt (/ z (+ y z)))) (cbrt (/ z (+ y z)))))
111.0ms
(cbrt (/ z (+ y z)))
112.0ms
(cbrt (/ z (+ y z)))
115.0ms
(cbrt (/ z (+ y z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
02931046
1753938
22716884
35001842

prune306.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite52.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:
22.0ms
(/ (+ y z) z)
27.0ms
(* x (/ (+ y z) z))

series47.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune127.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes91.0ms

Accuracy

40.9% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.2b

bsearch43.0ms

Steps
ItersRangePoint
8
2.8142794740700852e-151
1.2316778552260881e-147
1.2168599634495576e-147
7
-2.2736486955259513e-10
-2.7271593293869785e-12
-7.650785111325439e-11

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample457.0ms

Algorithm
intervals
Results
196.0ms9595×body80valid