Details

Time bar (total: 2.1s)

sample17.0ms

Algorithm
intervals
Results
7.0ms291×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
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

localize6.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 associate-/l/ associate-/l*
frac-2neg clear-num div-inv
Counts
3 → 19
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))

series82.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (/ x y) 1.0)
28.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0139121
1412119
21803119
35002117

prune54.0ms

Filtered
28 candidates to 19 candidates (67.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New24428
Fresh000
Picked101
Done000
Total25429

Merged error: 0.0b

Counts
29 → 4

localize7.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-+
associate-/l/
frac-2neg clear-num associate-/r* div-inv
+-commutative
Counts
3 → 21
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))

series126.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0143125
1483123
22051120
35001120

prune58.0ms

Filtered
30 candidates to 22 candidates (73.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh213
Picked011
Done000
Total30434

Merged error: 0.0b

Counts
34 → 4

localize8.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-+
frac-2neg div-inv associate-/l*
remove-double-div
+-commutative associate-/r* inv-pow
Counts
4 → 39
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))

series211.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
83.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
68.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
48.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify113.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0174196
1589192
23208185
35001185

prune96.0ms

Filtered
51 candidates to 37 candidates (72.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New50151
Fresh022
Picked011
Done011
Total50555

Merged error: 0b

Counts
55 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ x y) 3)
0.3b
(* (/ x y) (/ x y))
3.2b
(/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))
15.1b
(/ (/ x (/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))) (+ (* (/ x y) (/ x y)) (- (* 1.0 1.0) (* (/ x y) 1.0))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-/r/
32×frac-add
31×clear-num
28×frac-2neg
27×frac-times
16×flip3-- flip--
10×associate-/l/
associate-*r/ associate-*l/ div-inv
associate-/l*
flip3-+ associate-/r* flip-+
un-div-inv
sum-cubes
pow2 pow-to-exp unpow-prod-down unpow3 swap-sqr associate-*r* associate-*l* *-commutative sqr-pow
Counts
4 → 83
Calls
4 calls:
2.0ms
(pow (/ x y) 3)
4.0ms
(* (/ x y) (/ x y))
6.0ms
(/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))
20.0ms
(/ (/ x (/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))) (+ (* (/ x y) (/ x y)) (- (* 1.0 1.0) (* (/ x y) 1.0))))

series238.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(pow (/ x y) 3)
31.0ms
(* (/ x y) (/ x y))
70.0ms
(/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))
94.0ms
(/ (/ x (/ (+ x 1.0) (+ (pow (/ x y) 3) (pow 1.0 3)))) (+ (* (/ x y) (/ x y)) (- (* 1.0 1.0) (* (/ x y) 1.0))))

simplify108.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
08671411
137481366
250011361

prune285.0ms

Filtered
95 candidates to 65 candidates (68.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh022
Picked011
Done022
Total955100

Merged error: 0b

Counts
100 → 5

regimes40.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
0105
1105

end0.0ms

sample365.0ms

Algorithm
intervals
Results
225.0ms9114×body80valid