Details

Time bar (total: 2.7s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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

series49.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
47×add-sqr-sqrt
38×times-frac
24×add-cube-cbrt associate-*r*
15×add-exp-log distribute-lft-out--
add-cbrt-cube
difference-of-squares
distribute-lft-out
associate-/r*
pow1 associate-*l*
flip3-- div-exp prod-exp associate-/r/ flip--
associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 98
Calls
2 calls:
10.0ms
(/ 1 (- 2.0 (+ x y)))
16.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))

series83.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0364646
11671565
25002515

prune123.0ms

Filtered
104 candidates to 57 candidates (54.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh022
Picked011
Done000
Total1043107

Merged error: 0b

Counts
107 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.1b
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
7.3b
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
258×*-un-lft-identity
180×add-sqr-sqrt
150×times-frac
83×distribute-lft-out--
78×cbrt-prod
72×unpow-prod-down cube-prod
66×add-cube-cbrt
57×difference-of-squares
26×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- associate-/r* flip--
div-inv associate-/l*
pow1
pow-unpow add-log-exp
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 div-sub clear-num rem-cbrt-cube
Counts
3 → 238
Calls
3 calls:
10.0ms
(/ (- x y) (- 2.0 (+ x y)))
13.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
16.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

series176.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(/ (- x y) (- 2.0 (+ x y)))
76.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
54.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

simplify97.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07202331
130992212
250012188

prune259.0ms

Filtered
247 candidates to 99 candidates (40.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2470247
Fresh011
Picked011
Done011
Total2473250

Merged error: 0b

Counts
250 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
1082×*-un-lft-identity
954×times-frac
754×add-sqr-sqrt
660×sqrt-prod
332×add-cube-cbrt
320×distribute-lft-out--
210×difference-of-squares
110×distribute-lft-out
56×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
15×flip3-- flip--
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv div-exp add-log-exp
div-sub associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 649
Calls
4 calls:
6.0ms
(sqrt (- 2.0 (+ x y)))
6.0ms
(sqrt (- 2.0 (+ x y)))
30.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
11.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

series238.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (- 2.0 (+ x y)))
37.0ms
(sqrt (- 2.0 (+ x y)))
53.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
106.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

simplify176.0ms

Algorithm
egg-herbie
Counts
661 → 661
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0118111219
1449910046
2500210039

prune596.0ms

Filtered
661 candidates to 204 candidates (30.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New6610661
Fresh000
Picked011
Done022
Total6613664

Merged error: 0b

Counts
664 → 3

regimes44.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample305.0ms

Algorithm
intervals
Results
176.0ms7999×body80valid
0.0msbody640valid