Details

Time bar (total: 1.6s)

sample12.0ms

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

simplify22.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+r- flip3-+ div-sub sum-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
Counts
1 → 18
Calls
1 calls:
13.0ms
(+ x (/ (- x y) 2.0))

series37.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 4 (80.0ms)

IterNodesCost
09789
126181
277381
3372781
4500180

prune46.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
52×prod-diff
48×add-sqr-sqrt
43×add-cube-cbrt
37×times-frac
15×distribute-lft-out
add-log-exp
fma-neg div-inv
diff-log frac-sub distribute-lft-out-- difference-of-squares
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- flip3-+ associate--l+ sum-log add-cbrt-cube flip-- flip-+ log1p-expm1-u
Counts
1 → 78
Calls
1 calls:
77.0ms
(- (+ x (/ x 2.0)) (/ y 2.0))

series37.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04511522
114431047
25002936

prune77.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (sqrt x) (sqrt x) (/ (- x y) 2.0))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (sqrt x) (sqrt x) (/ (- x y) 2.0))

series82.0ms

Counts
1 → 3
Calls
1 calls:
82.0ms
(fma (sqrt x) (sqrt x) (/ (- x y) 2.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
05885
115071
241669
3134567
4500167

prune30.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ (- x y) 2.0))
2.6b
(fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x))
32.7b
(/ (fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x)) (- x (/ (- x y) 2.0)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
104×add-sqr-sqrt
89×*-un-lft-identity
68×times-frac
61×add-cube-cbrt
57×prod-diff
19×difference-of-squares
14×distribute-lft-out--
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
div-inv
pow1 expm1-log1p-u fma-neg log1p-expm1-u associate-/l*
flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num fma-udef associate--r-
Counts
3 → 131
Calls
3 calls:
17.0ms
(- x (/ (- x y) 2.0))
0.0ms
(fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x))
29.0ms
(/ (fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x)) (- x (/ (- x y) 2.0)))

series193.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- x (/ (- x y) 2.0))
45.0ms
(fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x))
115.0ms
(/ (fma (/ (- x y) (* 2.0 2.0)) (- y x) (* x x)) (- x (/ (- x y) 2.0)))

simplify79.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06212631
120142006
250011760

prune232.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes62.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

sample321.0ms

Algorithm
intervals
Results
147.0ms7390×body80valid
21.0ms210×body1280valid
11.0ms170×body640valid
10.0ms102×body2560valid
5.0ms95×body320valid
1.0ms36×body160valid