Details

Time bar (total: 2.9s)

sample14.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0368
11568
25398
324108
450018

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

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
60×frac-times flip3-+ flip-+
30×associate-*l/
26×associate-/r/
18×associate-*r/
14×*-commutative
times-frac associate-*l*
+-commutative distribute-rgt-in distribute-lft-in
associate-+l+ associate-/r*
associate-/l*
pow2 frac-2neg clear-num div-inv
Counts
3 → 94
Calls
3 calls:
4.0ms
(* (+ x y) (+ x y))
9.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
11.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series212.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07121075
132581056
250011053

prune232.0ms

Filtered
103 candidates to 71 candidates (68.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New976103
Fresh000
Picked101
Done000
Total986104

Merged error: 4.2b

Counts
104 → 6

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
27×frac-times
20×flip3-+ associate-/r/ flip-+
13×clear-num
12×frac-2neg
11×associate-*r/
10×associate-/r*
associate-*r* associate-*l/
*-commutative
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in div-inv
associate-*l*
un-div-inv
Counts
4 → 72
Calls
4 calls:
3.0ms
(/ y (+ x y))
5.0ms
(* (+ x y) (+ (+ x y) 1.0))
11.0ms
(* (/ y (+ x y)) (/ x (* (+ x y) (+ (+ x y) 1.0))))
6.0ms
(/ x (* (+ x y) (+ (+ x y) 1.0)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ y (+ x y))
29.0ms
(* (+ x y) (+ (+ x y) 1.0))
157.0ms
(* (/ y (+ x y)) (/ x (* (+ x y) (+ (+ x y) 1.0))))
91.0ms
(/ x (* (+ x y) (+ (+ x y) 1.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0469543
12661529
25001526

prune199.0ms

Filtered
84 candidates to 69 candidates (82.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New78684
Fresh505
Picked101
Done000
Total84690

Merged error: 0.0b

Counts
90 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×clear-num
19×frac-2neg
18×frac-times
16×associate-/l/
14×associate-/r/
associate-/l*
flip3-+ flip-+ div-inv
associate-*r/ associate-*r* associate-*l* associate-*l/
un-div-inv *-commutative
Counts
4 → 62
Calls
4 calls:
3.0ms
(/ x (+ x y))
3.0ms
(/ y (+ x y))
6.0ms
(* (/ y (+ x y)) (/ x (+ x y)))
10.0ms
(/ (* (/ y (+ x y)) (/ x (+ x y))) (+ (+ x y) 1.0))

series496.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ x (+ x y))
39.0ms
(/ y (+ x y))
77.0ms
(* (/ y (+ x y)) (/ x (+ x y)))
342.0ms
(/ (* (/ y (+ x y)) (/ x (+ x y))) (+ (+ x y) 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0296327
11579318
25001318

prune149.0ms

Filtered
74 candidates to 60 candidates (81.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New70474
Fresh415
Picked101
Done000
Total75580

Merged error: 0.0b

Counts
80 → 5

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×associate-/r/
24×flip3-+ flip-+
20×frac-times
17×associate-/l/
12×clear-num div-inv
10×frac-2neg associate-*r/
times-frac
associate-*r* *-commutative
associate-*l/
associate-/r* associate-/l*
un-div-inv
Counts
4 → 69
Calls
4 calls:
4.0ms
(/ (+ x y) x)
3.0ms
(/ y (+ x y))
6.0ms
(* (+ (+ x y) 1.0) (/ (+ x y) x))
10.0ms
(/ (/ y (+ x y)) (* (+ (+ x y) 1.0) (/ (+ x y) x)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (+ x y) x)
40.0ms
(/ y (+ x y))
36.0ms
(* (+ (+ x y) 1.0) (/ (+ x y) x))
155.0ms
(/ (/ y (+ x y)) (* (+ (+ x y) 1.0) (/ (+ x y) x)))

simplify61.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0449599
12188581
25001579

prune192.0ms

Filtered
81 candidates to 69 candidates (85.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh044
Picked011
Done000
Total81586

Merged error: 0.0b

Counts
86 → 5

regimes38.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample360.0ms

Algorithm
intervals
Results
228.0ms8000×body80valid