Details

Time bar (total: 3.0s)

sample17.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

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

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

series51.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune96.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
(/ x (- 2.0 (+ x y)))
0.0b
(/ y (- 2.0 (+ x y)))

rewrite151.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:
117.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
14.0ms
(/ x (- 2.0 (+ x y)))
14.0ms
(/ y (- 2.0 (+ x y)))

series156.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0377899
11162864
25001858

prune227.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
0.0b
(/ x (- 2.0 (+ x y)))
6.8b
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
15.8b
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
46×add-sqr-sqrt
43×times-frac
33×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube
11×difference-of-squares
10×associate-/r*
distribute-lft-out--
associate-/r/ distribute-lft-out
pow1 associate-/l* add-log-exp
associate-*r/ associate-*r* frac-sub flip-- flip-+
frac-times flip3-- flip3-+
cbrt-undiv div-exp div-inv
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ prod-exp clear-num cbrt-unprod associate--r+ unswap-sqr
sub-neg distribute-rgt-out-- diff-log pow-prod-down *-commutative sub-div
Counts
4 → 140
Calls
4 calls:
79.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
17.0ms
(/ x (- 2.0 (+ x y)))
41.0ms
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
5.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
43.0ms
(/ x (- 2.0 (+ x y)))
83.0ms
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
75.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify96.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07821609
137051499
250011497

prune345.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
25×add-sqr-sqrt
24×flip3-- flip--
19×add-exp-log add-cbrt-cube distribute-lft-out--
16×frac-times
12×pow1 swap-sqr associate-*l*
11×associate-*r*
add-cube-cbrt distribute-lft-out
associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod difference-of-squares
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp
add-log-exp
pow-prod-down *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 124
Calls
3 calls:
35.0ms
(* (- 2.0 (+ x y)) (- x y))
57.0ms
(* (- 2.0 (+ x y)) (- 2.0 (+ x y)))
29.0ms
(/ (* (- 2.0 (+ x y)) (- x y)) (* (- 2.0 (+ x y)) (- 2.0 (+ x y))))

series119.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* (- 2.0 (+ x y)) (- x y))
24.0ms
(* (- 2.0 (+ x y)) (- 2.0 (+ x y)))
52.0ms
(/ (* (- 2.0 (+ x y)) (- x y)) (* (- 2.0 (+ x y)) (- 2.0 (+ x y))))

simplify113.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
05961218
13562959
25002928

prune234.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample457.0ms

Algorithm
intervals
Results
333.0ms7999×body80valid
0.0msbody320valid