Details

Time bar (total: 2.7s)

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

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

localize39.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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 expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
10.0ms
(/ (- x y) (- 2.0 (+ x y)))

series47.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune99.0ms

Filtered
63 candidates to 40 candidates (63.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New59463
Fresh000
Picked101
Done000
Total60464

Merged error: 0b

Counts
64 → 4

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

rewrite43.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
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 230
Calls
2 calls:
11.0ms
(/ (- 2.0 (+ x y)) (- x y))
15.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series161.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06582336
131502130
250011941

prune204.0ms

Filtered
236 candidates to 96 candidates (40.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2360236
Fresh033
Picked011
Done000
Total2364240

Merged error: 0b

Counts
240 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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 expm1-log1p-u frac-times rec-exp 1-exp associate-*l/ cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 102
Calls
2 calls:
7.0ms
(/ 1 (- 2.0 (+ x y)))
15.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))

series84.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0377663
11708581
25002530

prune122.0ms

Filtered
108 candidates to 62 candidates (57.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1080108
Fresh022
Picked011
Done011
Total1084112

Merged error: 0b

Counts
112 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
0.0b
(/ (- x y) (- 2.0 (+ x y)))
2.9b
(log1p (/ (- x y) (- 2.0 (+ x y))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
16×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
expm1-log1p-u
pow1 log1p-expm1-u add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv log1p-udef expm1-log1p frac-2neg div-sub log1p-expm1 div-exp clear-num div-inv expm1-udef
Counts
3 → 82
Calls
3 calls:
1.0ms
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
11.0ms
(/ (- x y) (- 2.0 (+ x y)))
1.0ms
(log1p (/ (- x y) (- 2.0 (+ x y))))

series315.0ms

Counts
3 → 9
Calls
3 calls:
153.0ms
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
49.0ms
(/ (- x y) (- 2.0 (+ x y)))
114.0ms
(log1p (/ (- x y) (- 2.0 (+ x y))))

simplify46.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0435735
11330686
25001677

prune166.0ms

Filtered
91 candidates to 65 candidates (71.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New91091
Fresh011
Picked011
Done022
Total91495

Merged error: 0b

Counts
95 → 4

regimes712.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
0125
1125

end0.0ms

sample340.0ms

Algorithm
intervals
Results
205.0ms8000×body80valid