Details

Time bar (total: 3.3s)

sample23.0ms

Algorithm
intervals
Results
16.0ms256×body80valid

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

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite22.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 frac-2neg div-sub div-exp clear-num div-inv add-log-exp
Counts
1 → 58
Calls
1 calls:
19.0ms
(/ (- x y) (- 2.0 (+ x y)))

series48.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune97.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
127×*-un-lft-identity
64×times-frac
59×add-sqr-sqrt
41×distribute-lft-out--
27×add-cube-cbrt
14×distribute-lft-out difference-of-squares
12×associate-/r*
associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- add-log-exp
div-inv
pow1 distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 116
Calls
3 calls:
15.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))
121.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series152.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0377899
11162864
25001858

prune219.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
211×*-un-lft-identity
197×times-frac
162×add-sqr-sqrt
89×add-cube-cbrt
47×distribute-lft-out--
31×associate-/r*
30×difference-of-squares
21×distribute-lft-out
19×add-exp-log
13×add-cbrt-cube
12×associate-/l*
div-exp
div-inv
add-log-exp
pow1 cbrt-undiv
flip3-- frac-2neg clear-num associate-/r/ flip--
rec-exp 1-exp associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 223
Calls
4 calls:
15.0ms
(/ x (- 2.0 (+ x y)))
163.0ms
(- (/ x (- 2.0 (+ x y))) (/ 1 (/ (- 2.0 (+ x y)) y)))
21.0ms
(/ (- 2.0 (+ x y)) y)
19.0ms
(/ 1 (/ (- 2.0 (+ x y)) y))

series228.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ x (- 2.0 (+ x y)))
80.0ms
(- (/ x (- 2.0 (+ x y))) (/ 1 (/ (- 2.0 (+ x y)) y)))
24.0ms
(/ (- 2.0 (+ x y)) y)
61.0ms
(/ 1 (/ (- 2.0 (+ x y)) y))

simplify83.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
07192009
130841730
250011720

prune335.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
66×add-sqr-sqrt
56×times-frac
37×add-cube-cbrt
24×associate-*l*
22×distribute-lft-out--
19×add-exp-log
13×add-cbrt-cube
12×associate-/r*
11×distribute-lft-out difference-of-squares
pow1
associate-/r/ associate-/l* add-log-exp
div-exp
flip3-- prod-exp flip--
cbrt-undiv associate-*r* associate-*l/ div-inv unswap-sqr
rec-exp frac-2neg 1-exp clear-num cbrt-unprod
sub-neg pow-flip diff-log pow-prod-down *-commutative frac-sub inv-pow sub-div
Counts
4 → 146
Calls
4 calls:
15.0ms
(/ 1 (- 2.0 (+ x y)))
15.0ms
(/ x (- 2.0 (+ x y)))
80.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ 1 (- 2.0 (+ x y))) y))
40.0ms
(* (/ 1 (- 2.0 (+ x y))) y)

series209.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1 (- 2.0 (+ x y)))
49.0ms
(/ x (- 2.0 (+ x y)))
68.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ 1 (- 2.0 (+ x y))) y))
57.0ms
(* (/ 1 (- 2.0 (+ x y))) y)

simplify59.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0486989
11978895
25001853

prune461.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample568.0ms

Algorithm
intervals
Results
435.0ms8000×body80valid