Details

Time bar (total: 1.6s)

sample15.0ms

Algorithm
intervals
Results
7.0ms288×body80valid

simplify67.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: 7.6b

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))
7.1b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite15.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))
7.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))
43.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0145121
1444118
21992117
35001113

prune53.0ms

Filtered
29 candidates to 20 candidates (69.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New25429
Fresh000
Picked101
Done000
Total26430

Merged error: 0.0b

Counts
30 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(/ 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)
6.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
5.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series114.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0150125
1520122
22242118
35002117

prune66.0ms

Filtered
31 candidates to 24 candidates (77.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New27431
Fresh213
Picked101
Done000
Total30535

Merged error: 0.0b

Counts
35 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
14×distribute-neg-frac
frac-times flip3-+ flip-+
neg-mul-1
distribute-neg-in frac-2neg associate-*l/ clear-num associate-/r* associate-/r/
+-commutative associate-*l* div-inv
distribute-rgt-in distribute-lft-in associate-*r/
fma-def associate-*r* *-commutative distribute-rgt-neg-out
Counts
3 → 34
Calls
3 calls:
3.0ms
(+ (/ x y) 1.0)
3.0ms
(/ x (- (+ x 1.0)))
7.0ms
(* (/ x (- (+ x 1.0))) (- (+ (/ x y) 1.0)))

series93.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
41.0ms
(/ x (- (+ x 1.0)))
42.0ms
(* (/ x (- (+ x 1.0))) (- (+ (/ x y) 1.0)))

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0315303
11352290
25003288

prune96.0ms

Filtered
43 candidates to 36 candidates (83.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh134
Picked011
Done000
Total43548

Merged error: 0.0b

Counts
48 → 5

localize15.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.2b
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

rewrite28.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))
13.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series192.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
76.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
62.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
43.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify100.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0181196
1622190
23406181
35001180

prune91.0ms

Filtered
52 candidates to 40 candidates (76.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh033
Picked011
Done011
Total51657

Merged error: 0b

Counts
57 → 6

regimes39.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0207
1277
2297
3297

end0.0ms

sample370.0ms

Algorithm
intervals
Results
232.0ms9098×body80valid