Details

Time bar (total: 2.4s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series62.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune85.0ms

Filtered
61 candidates to 38 candidates (62.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New58361
Fresh000
Picked101
Done000
Total59362

Merged error: 0b

Counts
62 → 3

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

rewrite53.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:
32.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
7.0ms
(/ y (- 2.0 (+ x y)))
9.0ms
(/ x (- 2.0 (+ x y)))

series152.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)))
46.0ms
(/ x (- 2.0 (+ x y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0377899
11162864
25001858

prune170.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1250125
Fresh022
Picked011
Done000
Total1253128

Merged error: 0b

Counts
128 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity
258×times-frac
214×add-sqr-sqrt
100×add-cube-cbrt
83×distribute-lft-out--
57×difference-of-squares
41×associate-/r*
26×distribute-lft-out
15×add-exp-log
11×associate-/r/
add-cbrt-cube associate-/l*
div-exp
flip3-- flip-- div-inv
cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 226
Calls
2 calls:
9.0ms
(/ (- 2.0 (+ x y)) (- x y))
14.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series158.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06452314
131022113
250011926

prune205.0ms

Filtered
232 candidates to 92 candidates (39.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2320232
Fresh011
Picked011
Done011
Total2323235

Merged error: 0b

Counts
235 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
220×*-un-lft-identity
204×add-sqr-sqrt
166×times-frac
125×sqrt-prod
81×add-cube-cbrt
57×distribute-lft-out--
51×associate-*r*
38×difference-of-squares
33×associate-*l*
32×add-exp-log
20×add-cbrt-cube
19×distribute-lft-out
18×associate-/r*
15×unswap-sqr
11×div-exp
10×sqrt-div
pow1
prod-exp associate-/r/ associate-/l*
cbrt-undiv flip3-- flip--
cbrt-unprod div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
frac-times rem-sqrt-square div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 276
Calls
4 calls:
5.0ms
(sqrt (- 2.0 (+ x y)))
46.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (/ (- x y) (sqrt (- 2.0 (+ x y)))))
10.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))
8.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

series260.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (- 2.0 (+ x y)))
50.0ms
(* (/ 1 (sqrt (- 2.0 (+ x y)))) (/ (- x y) (sqrt (- 2.0 (+ x y)))))
100.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))
70.0ms
(/ 1 (sqrt (- 2.0 (+ x y))))

simplify112.0ms

Algorithm
egg-herbie
Counts
288 → 288
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08553065
140152685
250012525

prune385.0ms

Filtered
288 candidates to 146 candidates (50.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2880288
Fresh000
Picked011
Done022
Total2883291

Merged error: 0b

Counts
291 → 3

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

sample328.0ms

Algorithm
intervals
Results
200.0ms8000×body80valid