Details

Time bar (total: 2.9s)

sample19.0ms

Algorithm
intervals
Results
10.0ms300×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

series64.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0226206
11099177
25001177

prune82.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653

Merged error: 0.0b

Counts
53 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

series84.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0413869
11890835
25002832

prune212.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1272129
Fresh314
Picked011
Done011
Total1305135

Merged error: 0b

Counts
135 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series51.0ms

Counts
2 → 6
Calls
2 calls:
17.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

prune279.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh022
Picked011
Done022
Total74579

Merged error: 0b

Counts
79 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
314×times-frac
206×*-un-lft-identity
169×add-sqr-sqrt
160×add-cube-cbrt
93×cbrt-prod
86×associate-*r*
42×cbrt-div
30×add-exp-log
27×associate-/r*
23×distribute-lft-out
21×flip3-+ add-cbrt-cube flip-+
16×frac-times associate-/r/
12×associate-*l/
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
associate-*r/
add-log-exp unswap-sqr
pow-prod-down associate-/l*
pow1/3
frac-2neg associate-*l* clear-num *-commutative
Counts
4 → 284
Calls
4 calls:
3.0ms
(cbrt (+ y z))
3.0ms
(cbrt (+ y z))
10.0ms
(/ x (/ z (cbrt (+ y z))))
37.0ms
(* (* (cbrt (+ y z)) (cbrt (+ y z))) (/ x (/ z (cbrt (+ y z)))))

series420.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (+ y z))
123.0ms
(cbrt (+ y z))
111.0ms
(/ x (/ z (cbrt (+ y z))))
59.0ms
(* (* (cbrt (+ y z)) (cbrt (+ y z))) (/ x (/ z (cbrt (+ y z)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
012383225
150012999

prune706.0ms

Filtered
296 candidates to 241 candidates (81.4%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2960296
Fresh011
Picked011
Done033
Total2965301

Merged error: 0b

Counts
301 → 5

regimes93.0ms

Accuracy

21.4% (2.3b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01912
11912

end0.0ms

sample439.0ms

Algorithm
intervals
Results
241.0ms9573×body80valid