Details

Time bar (total: 3.2s)

sample12.0ms

Algorithm
intervals
Results
5.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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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

series49.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune96.0ms

Filtered
61 candidates to 38 candidates (62.3%)
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
(/ y (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))
0.0b
(- (/ x (- 2.0 (+ x y))) (/ 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:
14.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))
118.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series149.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0377899
11162864
25001858

prune216.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
7.2b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
15.5b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
33×add-sqr-sqrt
26×add-cube-cbrt
25×times-frac
22×associate-*l*
13×pow1 add-exp-log add-cbrt-cube
11×flip-+
10×flip3-+
associate-*r* distribute-lft-out
frac-times
associate-*r/ difference-of-squares
swap-sqr add-log-exp
associate-/r/ frac-sub
associate-*l/ associate-/r* flip--
distribute-rgt-in flip3-- distribute-lft-in prod-exp cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp pow-prod-down associate--l+ *-commutative div-inv
pow2 sub-neg distribute-rgt-out-- frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up sub-div
Counts
4 → 139
Calls
4 calls:
16.0ms
(* (+ x y) (+ x y))
33.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
41.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
5.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series331.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (+ x y) (+ x y))
157.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
85.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
74.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify110.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
08091547
143611412
250021408

prune304.0ms

Filtered
151 candidates to 108 candidates (71.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
961×*-un-lft-identity
912×times-frac
718×add-sqr-sqrt
580×sqrt-prod
324×add-cube-cbrt
278×distribute-lft-out--
197×difference-of-squares
81×distribute-lft-out
62×associate-/r*
22×sqrt-div
21×associate-/r/
14×associate-/l*
12×flip3-- flip--
11×div-inv
add-exp-log add-cbrt-cube
cbrt-undiv div-exp associate-/l/
pow1 frac-2neg clear-num add-log-exp
div-sub
Counts
2 → 590
Calls
2 calls:
38.0ms
(/ (sqrt (- x y)) (/ (- 2.0 (+ x y)) (sqrt (- x y))))
28.0ms
(/ (- 2.0 (+ x y)) (sqrt (- x y)))

series162.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(/ (sqrt (- x y)) (/ (- 2.0 (+ x y)) (sqrt (- x y))))
114.0ms
(/ (- 2.0 (+ x y)) (sqrt (- x y)))

simplify106.0ms

Algorithm
egg-herbie
Counts
596 → 596
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
011449846
150018921

prune686.0ms

Filtered
596 candidates to 207 candidates (34.7%)
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

sample278.0ms

Algorithm
intervals
Results
160.0ms8000×body80valid