Details

Time bar (total: 3.8s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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)))

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

series50.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune96.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

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:
120.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
14.0ms
(/ y (- 2.0 (+ x y)))
16.0ms
(/ x (- 2.0 (+ x y)))

series153.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0377899
11162864
25001858

prune211.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite514.0ms

Algorithm
rewrite-expression-head
Rules
226×*-un-lft-identity
159×add-sqr-sqrt
158×times-frac
124×sqrt-prod
79×add-cube-cbrt
60×distribute-lft-out--
33×associate-*r* associate-*l*
27×associate-/r*
26×difference-of-squares
21×add-exp-log distribute-lft-out
15×add-cbrt-cube
12×sqrt-div associate-/r/
associate-/l*
pow1 flip3-- flip--
div-exp div-inv
unswap-sqr
cbrt-undiv frac-times associate-*r/ prod-exp add-log-exp
distribute-rgt-out-- pow-flip frac-2neg clear-num
distribute-rgt-in sub-neg rec-exp distribute-lft-in 1-exp frac-sub cbrt-unprod sub-div
sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 264
Calls
4 calls:
450.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (- (/ x (sqrt (- 2.0 (+ x y)))) (/ y (sqrt (- 2.0 (+ x y))))))
18.0ms
(/ x (sqrt (- 2.0 (+ x y))))
15.0ms
(/ y (sqrt (- 2.0 (+ x y))))
16.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

series388.0ms

Counts
4 → 12
Calls
4 calls:
163.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (- (/ x (sqrt (- 2.0 (+ x y)))) (/ y (sqrt (- 2.0 (+ x y))))))
80.0ms
(/ x (sqrt (- 2.0 (+ x y))))
77.0ms
(/ y (sqrt (- 2.0 (+ x y))))
68.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
276 → 276
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08232985
136112676
250012437

prune473.0ms

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

rewrite234.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
53×*-un-lft-identity
48×times-frac
28×add-cube-cbrt
20×difference-of-squares
15×associate-*r*
12×associate-/r/
10×add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out--
frac-times associate-/r*
pow1 distribute-rgt-out-- div-inv associate-/l* add-log-exp
flip3-+ associate-*l* flip-+
associate-*r/ frac-sub sub-div
sub-neg distribute-lft-out
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in div-exp associate-*l/ clear-num
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 142
Calls
4 calls:
47.0ms
(- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))))
169.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))))
5.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series385.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))))
125.0ms
(* (+ 2.0 (+ x y)) (- (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))))
73.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))
69.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify118.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
06632283
135732129
250012103

prune358.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample310.0ms

Algorithm
intervals
Results
174.0ms7997×body80valid
0.0msbody1280valid
0.0msbody640valid