Details

Time bar (total: 1.5s)

sample11.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1143
2163
3163

prune1.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))

series88.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
11 → 11
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
07331
116931
243131
3153227
4389327
5500127

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

localize6.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)))

rewrite17.0ms

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

series150.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ x (+ x y))
42.0ms
(/ y (+ x y))
71.0ms
(- (/ x (+ x y)) (/ y (+ x y)))

simplify35.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0292451
11118370
25001349

prune103.0ms

Filtered
49 candidates to 40 candidates (81.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done101
Total49251

Merged error: 0b

Counts
51 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
106×associate-/l/
50×frac-times
40×clear-num
38×frac-2neg flip3-+ flip-+
36×associate-/r/
30×frac-add
12×distribute-neg-frac
10×associate-*r/ associate-*l/
div-inv
neg-mul-1 associate-/l*
associate-/r*
div-sub
neg-sub0 associate-*r* associate-*l* un-div-inv *-commutative
associate-+l- distribute-frac-neg
Counts
4 → 128
Calls
4 calls:
3.0ms
(/ (+ x y) y)
3.0ms
(/ (- (+ x y)) x)
7.0ms
(* (/ (+ x y) x) (/ (+ x y) y))
18.0ms
(/ (+ (/ (- (+ x y)) x) (/ (+ x y) y)) (* (/ (+ x y) x) (/ (+ x y) y)))

series170.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (+ x y) y)
31.0ms
(/ (- (+ x y)) x)
32.0ms
(* (/ (+ x y) x) (/ (+ x y) y))
91.0ms
(/ (+ (/ (- (+ x y)) x) (/ (+ x y) y)) (* (/ (+ x y) x) (/ (+ x y) y)))

simplify106.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06521199
139821164
250011163

prune376.0ms

Filtered
140 candidates to 120 candidates (85.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh000
Picked011
Done011
Total1402142

Merged error: 0b

Counts
142 → 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

sample292.0ms

Algorithm
intervals
Results
164.0ms8000×body80valid