Details

Time bar (total: 5.2s)

sample17.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
22.0ms
(/ (- x y) (- 2.0 (+ x y)))

series54.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune106.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity
258×times-frac
214×add-sqr-sqrt
100×add-cube-cbrt
83×distribute-lft-out--
57×difference-of-squares
41×associate-/r*
26×distribute-lft-out
15×add-exp-log
11×associate-/r/
add-cbrt-cube associate-/l*
div-exp
flip3-- flip-- div-inv
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 230
Calls
2 calls:
29.0ms
(/ (- 2.0 (+ x y)) (- x y))
27.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series178.0ms

Counts
2 → 6
Calls
2 calls:
121.0ms
(/ (- 2.0 (+ x y)) (- x y))
57.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

simplify90.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06582336
131502130
250011941

prune278.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite288.0ms

Algorithm
rewrite-expression-head
Rules
1383×*-un-lft-identity
1095×times-frac
976×add-sqr-sqrt
546×prod-diff
528×add-cube-cbrt
289×distribute-lft-out--
214×difference-of-squares
146×distribute-lft-out
124×associate-/r/
62×flip3-- flip--
61×div-inv
35×associate-/r*
21×fma-neg
15×distribute-rgt-out--
12×add-exp-log
10×add-cbrt-cube associate-/l*
add-log-exp
pow1
expm1-log1p-u div-exp log1p-expm1-u
cbrt-undiv frac-2neg clear-num
frac-sub associate-/l/ sub-div
sub-neg rec-exp pow-flip flip3-+ diff-log 1-exp flip-+ inv-pow
Counts
4 → 816
Calls
4 calls:
82.0ms
(- (/ 2.0 (- x y)) (/ (+ x y) (- x y)))
8.0ms
(/ 2.0 (- x y))
11.0ms
(/ (+ x y) (- x y))
95.0ms
(/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))

series417.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(- (/ 2.0 (- x y)) (/ (+ x y) (- x y)))
46.0ms
(/ 2.0 (- x y))
72.0ms
(/ (+ x y) (- x y))
142.0ms
(/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))

simplify277.0ms

Algorithm
egg-herbie
Counts
828 → 828
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0148022991
1484716811
2500116811

prune1.2s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))))
0.0b
(/ (+ x y) (- x y))
0.0b
(/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))
2.9b
(log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y)))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
311×*-un-lft-identity
223×times-frac
151×add-sqr-sqrt
97×distribute-lft-out--
61×add-cube-cbrt
37×difference-of-squares
34×distribute-lft-out
30×associate-/r*
22×associate-/r/
12×distribute-rgt-out--
10×add-exp-log flip3-- flip-- div-inv
add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u
log1p-expm1-u add-log-exp
div-exp
cbrt-undiv frac-2neg clear-num associate-/l/
rec-exp log1p-udef expm1-log1p pow-flip flip3-+ 1-exp log1p-expm1 frac-sub flip-+ inv-pow expm1-udef sub-div
Counts
4 → 194
Calls
4 calls:
0.0ms
(expm1 (log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))))
11.0ms
(/ (+ x y) (- x y))
94.0ms
(/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))
0.0ms
(log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y)))))

series781.0ms

Counts
4 → 12
Calls
4 calls:
325.0ms
(expm1 (log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))))
66.0ms
(/ (+ x y) (- x y))
140.0ms
(/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y))))
249.0ms
(log1p (/ 1 (- (/ 2.0 (- x y)) (/ (+ x y) (- x y)))))

simplify73.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06502005
124161863
250011749

prune361.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes193.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

end0.0ms

sample430.0ms

Algorithm
intervals
Results
297.0ms7995×body80valid
1.0msbody1280valid
0.0msbody640valid