Details

Time bar (total: 3.9s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

rewrite46.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:
43.0ms
(/ (- x y) (- 2.0 (+ x y)))

series42.0ms

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

simplify120.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune108.0ms

Pruning

4 alts after pruning (4 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)))

rewrite393.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:
252.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
28.0ms
(/ y (- 2.0 (+ x y)))
30.0ms
(/ x (- 2.0 (+ x y)))

series140.0ms

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

simplify251.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune921.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite43.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:
40.0ms
(/ (- x y) (- 2.0 (+ x y)))

series46.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune99.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
0.0b
(/ y (- 2.0 (+ x y)))
8.1b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
13.6b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
62×add-sqr-sqrt
61×times-frac
43×add-cube-cbrt
24×prod-diff
18×associate-*l*
14×distribute-lft-out-- difference-of-squares
13×add-exp-log add-cbrt-cube
10×associate-/r* distribute-lft-out
associate-/r/
pow1 flip-- associate-/l* add-log-exp
flip3-- associate-*r/ associate-*r* frac-sub flip-+
expm1-log1p-u frac-times flip3-+ log1p-expm1-u div-inv
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod unswap-sqr
sub-neg distribute-rgt-out-- fma-neg diff-log pow-prod-down *-commutative sub-div
Counts
4 → 173
Calls
4 calls:
72.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
28.0ms
(/ y (- 2.0 (+ x y)))
86.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
13.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
42.0ms
(/ y (- 2.0 (+ x y)))
77.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
70.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify125.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010722607
149122241
250012241

prune406.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes46.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
084
184

end0.0ms

sample354.0ms

Algorithm
intervals
Results
171.0ms7997×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid