Details

Time bar (total: 2.4s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

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

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

series7.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0275489
1853468
24104466
35001466

prune68.0ms

Filtered
38 candidates to 61 candidates (-60.5%)
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
(/ y (- 2.0 (+ x y)))
0.0b
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
0.0b
(/ x (- 2.0 (+ x y)))

rewrite54.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:
7.0ms
(/ y (- 2.0 (+ x y)))
34.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
7.0ms
(/ x (- 2.0 (+ x y)))

series25.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ y (- 2.0 (+ x y)))
12.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
6.0ms
(/ x (- 2.0 (+ x y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0377899
11162864
25001858

prune128.0ms

Filtered
85 candidates to 125 candidates (-47.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1250125
Fresh022
Picked011
Done000
Total1253128

Merged error: 0b

Counts
128 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
0.3b
(/ (- x y) (sqrt (- 2.0 (+ x y))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
1068×*-un-lft-identity
954×times-frac
744×add-sqr-sqrt
648×sqrt-prod
328×add-cube-cbrt
316×distribute-lft-out--
208×difference-of-squares
108×distribute-lft-out
56×associate-/l*
24×sqrt-div associate-/r/
18×associate-/r*
13×flip3-- flip--
12×div-inv
add-exp-log add-cbrt-cube
cbrt-undiv div-exp
div-sub associate-/l/
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 613
Calls
2 calls:
29.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
13.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

series25.0ms

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

simplify171.0ms

Algorithm
egg-herbie
Counts
619 → 619
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0120010982
146089831
250019824

prune433.0ms

Filtered
175 candidates to 619 candidates (-253.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New6190619
Fresh011
Picked011
Done011
Total6193622

Merged error: 0b

Counts
622 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
235×*-un-lft-identity
213×add-sqr-sqrt
143×times-frac
124×sqrt-prod
69×difference-of-squares
58×add-cube-cbrt
57×distribute-lft-out--
56×associate-*r*
40×distribute-lft-out
32×add-exp-log
24×associate-*l*
20×add-cbrt-cube
16×associate-/r*
11×div-exp
prod-exp associate-/r/ associate-/l*
pow1
cbrt-undiv add-log-exp unswap-sqr
flip3-- flip-- cbrt-unprod div-inv
rec-exp 1-exp
frac-2neg flip3-+ clear-num flip-+ associate-/l/
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 256
Calls
4 calls:
8.0ms
(- (sqrt 2.0) (sqrt (+ x y)))
46.0ms
(* (/ 1 (+ (sqrt 2.0) (sqrt (+ x y)))) (/ (- x y) (- (sqrt 2.0) (sqrt (+ x y)))))
9.0ms
(/ 1 (+ (sqrt 2.0) (sqrt (+ x y))))
13.0ms
(/ (- x y) (- (sqrt 2.0) (sqrt (+ x y))))

series176.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (sqrt 2.0) (sqrt (+ x y)))
92.0ms
(* (/ 1 (+ (sqrt 2.0) (sqrt (+ x y)))) (/ (- x y) (- (sqrt 2.0) (sqrt (+ x y)))))
33.0ms
(/ 1 (+ (sqrt 2.0) (sqrt (+ x y))))
39.0ms
(/ (- x y) (- (sqrt 2.0) (sqrt (+ x y))))

simplify115.0ms

Algorithm
egg-herbie
Counts
268 → 268
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09973434
147183015
250012834

prune280.0ms

Filtered
126 candidates to 268 candidates (-112.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2680268
Fresh000
Picked011
Done022
Total2683271

Merged error: 0b

Counts
271 → 3

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

sample384.0ms

Algorithm
intervals
Results
203.0ms7997×body80valid
0.0msbody640valid
0.0msbody320valid

Profiling

Loading profile data...