Details

Time bar (total: 1.2s)

sample12.0ms

Algorithm
intervals
Results
5.0ms249×body80valid
0.0msbody2560valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0104
1114
2114

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.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative flip3-+ flip-+
Counts
1 → 3
Calls
1 calls:
2.0ms
(+ x (/ (fabs (- y x)) 2.0))

series16.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
05641
112537
224737
350737
4141937
5366637
6500137

prune15.0ms

Filtered
6 candidates to 4 candidates (66.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New516
Fresh000
Picked011
Done000
Total527

Merged error: 0.0b

Counts
7 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (fabs (- y x)) 2.0))
0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
11.6b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
29.3b
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×*-commutative
13×div-inv
10×prod-diff clear-num
frac-times frac-2neg
difference-of-squares
flip3-- flip-- associate-/l*
associate-*r/ swap-sqr associate-*r* associate-*l* associate-*l/
sub-neg fma-neg associate-/r/ associate-/l/
pow2 div-sub un-div-inv
Counts
4 → 57
Calls
4 calls:
2.0ms
(- x (/ (fabs (- y x)) 2.0))
4.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
6.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
9.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- x (/ (fabs (- y x)) 2.0))
18.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
27.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
51.0ms
(/ (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (- x (/ (fabs (- y x)) 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0269677
11252540
25002527

prune101.0ms

Filtered
69 candidates to 35 candidates (50.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh000
Picked101
Done011
Total69271

Merged error: 0.0b

Counts
71 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
0.1b
(/ 1 (- x (/ (fabs (- y x)) 2.0)))
11.6b
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
29.3b
(* (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (/ 1 (- x (/ (fabs (- y x)) 2.0))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
18×*-commutative
15×frac-times
14×clear-num div-inv
12×frac-2neg
10×prod-diff
difference-of-squares
flip3-- associate-*l* flip--
associate-*r/ associate-*r*
associate-*l/
associate-/r/
swap-sqr un-div-inv
fma-neg
pow2 sub-neg inv-pow
Counts
4 → 68
Calls
4 calls:
4.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
3.0ms
(/ 1 (- x (/ (fabs (- y x)) 2.0)))
6.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
9.0ms
(* (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (/ 1 (- x (/ (fabs (- y x)) 2.0))))

series116.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))
19.0ms
(/ 1 (- x (/ (fabs (- y x)) 2.0)))
31.0ms
(- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0)))
48.0ms
(* (- (* x x) (* (/ (fabs (- y x)) 2.0) (/ (fabs (- y x)) 2.0))) (/ 1 (- x (/ (fabs (- y x)) 2.0))))

simplify87.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0319895
11943713
25001708

prune167.0ms

Filtered
80 candidates to 45 candidates (56.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh000
Picked011
Done011
Total80282

Merged error: 0.0b

Counts
82 → 2

regimes42.0ms

Accuracy

0% (0.0b 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
084
184

end0.0ms

sample333.0ms

Algorithm
intervals
Results
170.0ms7698×body80valid
10.0ms97×body1280valid
7.0ms88×body640valid
6.0ms48×body2560valid
3.0ms43×body320valid
1.0ms27×body160valid