Details

Time bar (total: 1.7s)

sample17.0ms

Algorithm
intervals
Results
8.0ms300×body80valid

simplify54.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: 12.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

series61.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0226206
11099177
25001177

prune82.0ms

Filtered
52 candidates to 35 candidates (67.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New46652
Fresh000
Picked011
Done000
Total46753

Merged error: 0.0b

Counts
53 → 7

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series87.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0413869
11890835
25002832

prune206.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh235
Picked011
Done101
Total1315136

Merged error: 0b

Counts
136 → 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))

series55.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune98.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh033
Picked011
Done011
Total74579

Merged error: 0b

Counts
79 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
17×associate-*r*
16×add-cbrt-cube
13×add-sqr-sqrt *-un-lft-identity prod-exp
11×add-cube-cbrt
pow1 times-frac
associate-*r/ cbrt-unprod
div-exp associate-*l* pow-prod-down
flip3-+ flip-+
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ *-commutative add-log-exp
distribute-rgt-in distribute-lft-in un-div-inv div-inv distribute-lft-out unswap-sqr
Counts
2 → 65
Calls
2 calls:
6.0ms
(* x (+ y z))
10.0ms
(* (* x (+ y z)) (/ 1 z))

series59.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0368342
12051282
25001270

prune87.0ms

Filtered
71 candidates to 42 candidates (59.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh022
Picked011
Done022
Total71576

Merged error: 0b

Counts
76 → 5

regimes55.0ms

Accuracy

0% (3.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073
173

end0.0ms

sample452.0ms

Algorithm
intervals
Results
247.0ms9573×body80valid