Details

Time bar (total: 16.6s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify29.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)))

simplify133.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune112.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite261.0ms

Algorithm
rewrite-expression-head
Rules
1352×*-un-lft-identity
946×times-frac
843×add-sqr-sqrt
576×prod-diff
517×add-cube-cbrt
335×distribute-lft-out--
161×distribute-lft-out difference-of-squares
106×associate-/r/
54×flip3-- flip--
53×div-inv
24×fma-neg
12×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 722
Calls
3 calls:
152.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
17.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))

series169.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
46.0ms
(/ y (- 2.0 (+ x y)))
55.0ms
(/ x (- 2.0 (+ x y)))

simplify257.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune997.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (- (/ x (sqrt (- 2.0 (+ x y)))) (/ y (sqrt (- 2.0 (+ x y))))))
0.2b
(/ x (sqrt (- 2.0 (+ x y))))
0.3b
(/ y (sqrt (- 2.0 (+ x y))))
0.4b
(/ 1 (sqrt (- 2.0 (+ x y))))

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
4318×*-un-lft-identity
3722×times-frac
3063×add-sqr-sqrt
2500×sqrt-prod
2191×add-cube-cbrt
2178×prod-diff
1091×distribute-rgt-in distribute-lft-in
852×distribute-lft-out--
422×difference-of-squares
417×distribute-lft-out
276×sqrt-div associate-/r/
140×flip3-- flip--
138×div-inv
33×associate-*r* associate-*l*
27×associate-/r*
21×add-exp-log
15×add-cbrt-cube
associate-/l*
pow1
div-exp
unswap-sqr
cbrt-undiv expm1-log1p-u frac-times associate-*r/ prod-exp log1p-expm1-u add-log-exp
distribute-rgt-out-- pow-flip frac-2neg clear-num
sub-neg rec-exp 1-exp frac-sub cbrt-unprod sub-div
sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 2450
Calls
4 calls:
646.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (- (/ x (sqrt (- 2.0 (+ x y)))) (/ y (sqrt (- 2.0 (+ x y))))))
16.0ms
(/ x (sqrt (- 2.0 (+ x y))))
15.0ms
(/ y (sqrt (- 2.0 (+ x y))))
16.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

series437.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (- (/ x (sqrt (- 2.0 (+ x y)))) (/ y (sqrt (- 2.0 (+ x y))))))
92.0ms
(/ x (sqrt (- 2.0 (+ x y))))
88.0ms
(/ y (sqrt (- 2.0 (+ x y))))
72.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

simplify1.1s

Algorithm
egg-herbie
Counts
2462 → 2462
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05001132828

prune6.9s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))))
0.1b
(* (+ 2.0 (+ x y)) (- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))))
12.1b
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))
12.7b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite421.0ms

Algorithm
rewrite-expression-head
Rules
1356×times-frac
972×prod-diff
926×add-sqr-sqrt
925×*-un-lft-identity
900×add-cube-cbrt
347×difference-of-squares
326×distribute-rgt-in distribute-lft-in
230×associate-/r/
119×flip3-- flip--
115×div-inv
18×fma-neg
15×associate-*r*
10×add-exp-log add-cbrt-cube distribute-lft-out--
frac-times associate-/r*
pow1 distribute-rgt-out-- associate-/l* add-log-exp
flip3-+ associate-*l* flip-+
expm1-log1p-u associate-*r/ frac-sub log1p-expm1-u sub-div
sub-neg distribute-lft-out
cbrt-undiv frac-2neg div-exp associate-*l/ clear-num
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 1140
Calls
4 calls:
68.0ms
(- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))))
228.0ms
(* (+ 2.0 (+ x y)) (- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))))
5.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))
6.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series415.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))))
127.0ms
(* (+ 2.0 (+ x y)) (- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))))
79.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))
87.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify623.0ms

Algorithm
egg-herbie
Counts
1152 → 1152
Iterations

Useful iterations: 1 (74.0ms)

IterNodesCost
0431466412
1500165737

prune3.3s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes28.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
197

end0.0ms

sample293.0ms

Algorithm
intervals
Results
169.0ms7997×body80valid
0.0msbody1280valid
0.0msbody640valid