Details

Time bar (total: 1.7s)

sample11.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1143
2163
3163

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

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (+ x y))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/ associate-/l/
flip3-- frac-2neg flip3-+ div-sub clear-num flip-- flip-+ div-inv
Counts
1 → 8
Calls
1 calls:
4.0ms
(/ (- x y) (+ x y))

series64.0ms

Counts
1 → 3
Calls
1 calls:
64.0ms
(/ (- x y) (+ x y))

simplify85.0ms

Algorithm
egg-herbie
Counts
11 → 11
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
07032
115432
236532
3120428
4309928
5500128

prune24.0ms

Filtered
11 candidates to 10 candidates (90.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New10111
Fresh000
Picked011
Done000
Total10212

Merged error: 0.0b

Counts
12 → 2

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ y (+ x y))
0.0b
(- (/ x (+ x y)) (/ y (+ x y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×frac-2neg
frac-sub
clear-num associate-/r/
flip3-+ flip-+ div-inv
distribute-rgt-out--
sub-div
sub-neg flip3-- flip--
Counts
3 → 28
Calls
3 calls:
3.0ms
(/ x (+ x y))
3.0ms
(/ y (+ x y))
6.0ms
(- (/ x (+ x y)) (/ y (+ x y)))

series162.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(/ x (+ x y))
39.0ms
(/ y (+ x y))
77.0ms
(- (/ x (+ x y)) (/ y (+ x y)))

simplify99.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0213195
1873174
23580169
35003169

prune243.0ms

Filtered
37 candidates to 28 candidates (75.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New36137
Fresh000
Picked011
Done101
Total37239

Merged error: 0b

Counts
39 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x y) y)
0.0b
(/ (+ x y) y)
0.0b
(* (/ (+ x y) x) (/ (+ x y) y))
17.5b
(/ (+ (/ (+ x y) y) (- (/ (+ x y) x))) (* (/ (+ x y) x) (/ (+ x y) y)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
99×associate-/l/
50×frac-times
39×clear-num
37×frac-2neg flip3-+ flip-+
36×associate-/r/
25×frac-add distribute-neg-frac
19×div-inv
10×associate-*r/ associate-*l/
distribute-rgt-neg-in distribute-lft-out
times-frac associate-/r*
div-sub associate-*r* associate-*l* *-commutative
un-div-inv
neg-sub0 associate-+r- unsub-neg associate-/l*
Counts
4 → 127
Calls
4 calls:
4.0ms
(/ (+ x y) y)
3.0ms
(/ (+ x y) y)
7.0ms
(* (/ (+ x y) x) (/ (+ x y) y))
18.0ms
(/ (+ (/ (+ x y) y) (- (/ (+ x y) x))) (* (/ (+ x y) x) (/ (+ x y) y)))

series150.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (+ x y) y)
17.0ms
(/ (+ x y) y)
28.0ms
(* (/ (+ x y) x) (/ (+ x y) y))
89.0ms
(/ (+ (/ (+ x y) y) (- (/ (+ x y) x))) (* (/ (+ x y) x) (/ (+ x y) y)))

simplify131.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
06641228
138551134
250011119

prune317.0ms

Filtered
139 candidates to 117 candidates (84.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done011
Total1392141

Merged error: 0b

Counts
141 → 2

regimes22.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
075
175

end0.0ms

sample287.0ms

Algorithm
intervals
Results
154.0ms8000×body80valid