Details

Time bar (total: 2.3s)

sample16.0ms

Algorithm
intervals
Results
7.0ms328×body80valid

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

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: 13.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

series57.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0226206
11099177
25001177

prune83.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))
4.0b
(/ 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)))

series82.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413869
11890835
25002832

prune199.0ms

Filtered
129 candidates to 92 candidates (71.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1272129
Fresh235
Picked101
Done011
Total1306136

Merged error: 0b

Counts
136 → 6

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ z (+ y z))
0.2b
(/ 1 (/ (/ z (+ y z)) x))
4.0b
(/ (/ z (+ y z)) x)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
648×times-frac
398×*-un-lft-identity
294×add-sqr-sqrt add-cube-cbrt
65×associate-/r*
52×distribute-lft-out
35×associate-/r/
31×add-exp-log
24×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
17×flip3-+ flip-+
10×cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip associate-/l/ inv-pow
Counts
3 → 383
Calls
3 calls:
5.0ms
(/ z (+ y z))
17.0ms
(/ 1 (/ (/ z (+ y z)) x))
11.0ms
(/ (/ z (+ y z)) x)

series144.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(/ z (+ y z))
37.0ms
(/ 1 (/ (/ z (+ y z)) x))
66.0ms
(/ (/ z (+ y z)) x)

simplify71.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012063746
150013336

prune552.0ms

Filtered
392 candidates to 239 candidates (61.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3920392
Fresh044
Picked011
Done011
Total3926398

Merged error: 0b

Counts
398 → 6

localize5.0ms

Local error

Found 2 expressions with local error:

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

series53.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0233344
11013313
23962313
35001313

prune99.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh033
Picked011
Done022
Total74680

Merged error: 0b

Counts
80 → 6

regimes131.0ms

Accuracy

73.3% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 2.9b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02627
12927
23518
33818
44418
55518
66218
76318
86318

end0.0ms

sample406.0ms

Algorithm
intervals
Results
208.0ms9540×body80valid