Details

Time bar (total: 1.7s)

sample15.0ms

Algorithm
intervals
Results
7.0ms291×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
9.6b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ associate-*r/ flip-+
+-commutative
distribute-rgt-in distribute-lft-in associate-/r/ *-commutative div-inv associate-/l/ associate-/l*
fma-def frac-2neg clear-num
Counts
3 → 20
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
4.0ms
(* x (+ (/ x y) 1.0))
6.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series78.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
24.0ms
(* x (+ (/ x y) 1.0))
44.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0145121
1444118
21992117
35001113

prune56.0ms

Filtered
29 candidates to 20 candidates (69.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New24529
Fresh000
Picked101
Done000
Total25530

Merged error: 0.0b

Counts
30 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.0b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-+ flip-+
div-inv associate-/l/
frac-2neg clear-num associate-/r*
+-commutative fma-def
Counts
3 → 22
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
5.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
5.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series115.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
44.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
60.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify60.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0150125
1520122
22242118
35002117

prune77.0ms

Filtered
31 candidates to 24 candidates (77.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New27431
Fresh314
Picked011
Done000
Total30636

Merged error: 0b

Counts
36 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.1b
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-/r/ associate-/l/
clear-num
flip3-+ flip-+ div-inv
frac-2neg associate-/l*
remove-double-div
+-commutative fma-def associate-/r* inv-pow
Counts
4 → 40
Calls
4 calls:
3.0ms
(+ (/ x y) 1.0)
6.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
5.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
7.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series224.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ (/ x y) 1.0)
109.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
63.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
40.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify104.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0181196
1622190
23406181
35001180

prune98.0ms

Filtered
52 candidates to 38 candidates (73.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh134
Picked011
Done101
Total53558

Merged error: 0b

Counts
58 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(/ (+ (/ x y) 1.0) (+ x 1.0))
0.2b
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ associate-*r/ flip-+
associate-/r/ associate-/l/
associate-*r* clear-num div-inv
frac-2neg
+-commutative fma-def un-div-inv *-commutative
Counts
3 → 21
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
5.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
6.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series84.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
33.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
40.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0166137
1664131
23288126
35003122

prune65.0ms

Filtered
30 candidates to 24 candidates (80.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh033
Picked011
Done011
Total30535

Merged error: 0b

Counts
35 → 5

regimes39.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0165
1185
2185

end0.0ms

sample379.0ms

Algorithm
intervals
Results
238.0ms9114×body80valid