Details

Time bar (total: 2.4s)

sample13.0ms

Algorithm
intervals
Results
5.0ms245×body80valid
0.0msbody1280valid
0.0msbody2560valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0123
1193
2293
3413
4513
5793
61343
71693
81853
92133
102263
112263

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

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (/ (- x y) 2.0))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative associate-+r- flip3-+ div-sub flip-+
Counts
1 → 4
Calls
1 calls:
3.0ms
(+ x (/ (- x y) 2.0))

series44.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
7 → 7
Iterations

Useful iterations: 4 (47.0ms)

IterNodesCost
06534
115533
241433
3163633
4500132

prune19.0ms

Filtered
7 candidates to 5 candidates (71.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New437
Fresh000
Picked101
Done000
Total538

Merged error: 0.0b

Counts
8 → 3

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(- (+ x (/ x 2.0)) (/ y 2.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
frac-sub
flip3-+ flip-+
frac-2neg associate--l+ clear-num
+-commutative sub-neg flip3-- flip--
Counts
1 → 12
Calls
1 calls:
5.0ms
(- (+ x (/ x 2.0)) (/ y 2.0))

series45.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0182164
1651150
23304137
35003136

prune41.0ms

Filtered
15 candidates to 12 candidates (80.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13215
Fresh112
Picked011
Done000
Total14418

Merged error: 0.0b

Counts
18 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (/ x 2.0) (- x (/ y 2.0)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
frac-add
flip3-- flip--
associate-+r+ frac-2neg clear-num
+-commutative associate-+r- sub-neg fma-def flip3-+ flip-+ div-inv
Counts
1 → 13
Calls
1 calls:
9.0ms
(+ (/ x 2.0) (- x (/ y 2.0)))

series40.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0239148
1983138
24149132
35001132

prune47.0ms

Filtered
16 candidates to 13 candidates (81.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New15116
Fresh112
Picked011
Done011
Total16420

Merged error: 0.0b

Counts
20 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x (/ y 2.0)) (- x (/ y 2.0)))
0.0b
(- (/ x 2.0) (- x (/ y 2.0)))
17.6b
(- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0))))
31.5b
(/ (- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0)))) (- (/ x 2.0) (- x (/ y 2.0))))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
276×frac-times
268×frac-sub
208×flip3-- flip--
149×clear-num
133×frac-2neg
130×associate-/l/
114×associate-*r/ associate-*l/
17×*-commutative
16×un-div-inv
14×div-inv
10×prod-diff associate--r+
sub-neg
associate-/r/ difference-of-squares
distribute-rgt-in distribute-lft-in fma-neg
div-sub
associate-/l*
swap-sqr associate-*r* associate-*l*
pow2 associate--r-
Counts
4 → 333
Calls
4 calls:
5.0ms
(* (- x (/ y 2.0)) (- x (/ y 2.0)))
5.0ms
(- (/ x 2.0) (- x (/ y 2.0)))
23.0ms
(- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0))))
31.0ms
(/ (- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0)))) (- (/ x 2.0) (- x (/ y 2.0))))

series243.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (- x (/ y 2.0)) (- x (/ y 2.0)))
40.0ms
(- (/ x 2.0) (- x (/ y 2.0)))
47.0ms
(- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0))))
125.0ms
(/ (- (* (/ x 2.0) (/ x 2.0)) (* (- x (/ y 2.0)) (- x (/ y 2.0)))) (- (/ x 2.0) (- x (/ y 2.0))))

simplify110.0ms

Algorithm
egg-herbie
Counts
345 → 345
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
025316875
150016638

prune1.1s

Filtered
345 candidates to 221 candidates (64.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3450345
Fresh011
Picked011
Done022
Total3454349

Merged error: 0.0b

Counts
349 → 4

regimes40.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample349.0ms

Algorithm
intervals
Results
169.0ms7418×body80valid
20.0ms212×body1280valid
12.0ms99×body2560valid
11.0ms147×body640valid
5.0ms83×body320valid
2.0ms43×body160valid