Details

Time bar (total: 3.0s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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)))

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

series57.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune118.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: 0.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)))

rewrite44.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:
12.0ms
(/ (- 2.0 (+ x y)) (- x y))
16.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series182.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06582336
131502130
250011941

prune254.0ms

Filtered
236 candidates to 96 candidates (40.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2351236
Fresh123
Picked011
Done000
Total2364240

Merged error: 0.0b

Counts
240 → 4

localize10.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.7b
(log1p (/ (- x y) (- 2.0 (+ x y))))

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

series367.0ms

Counts
3 → 9
Calls
3 calls:
179.0ms
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
52.0ms
(/ (- x y) (- 2.0 (+ x y)))
136.0ms
(log1p (/ (- x y) (- 2.0 (+ x y))))

simplify59.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0435735
11330686
25001677

prune206.0ms

Filtered
91 candidates to 65 candidates (71.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh022
Picked011
Done011
Total90595

Merged error: 0b

Counts
95 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (- 2.0 (+ x y))) (cbrt (- 2.0 (+ x y))))
0.6b
(cbrt (- 2.0 (+ x y)))
0.6b
(cbrt (- 2.0 (+ x y)))
0.6b
(cbrt (- 2.0 (+ x y)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
58×cbrt-prod
37×add-sqr-sqrt
22×distribute-lft-out--
18×cbrt-div
15×add-cube-cbrt swap-sqr
11×pow1 distribute-lft-out
flip3-- pow1/3 associate-*r* associate-*l* flip--
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 119
Calls
4 calls:
17.0ms
(* (cbrt (- 2.0 (+ x y))) (cbrt (- 2.0 (+ x y))))
6.0ms
(cbrt (- 2.0 (+ x y)))
5.0ms
(cbrt (- 2.0 (+ x y)))
6.0ms
(cbrt (- 2.0 (+ x y)))

series443.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (cbrt (- 2.0 (+ x y))) (cbrt (- 2.0 (+ x y))))
112.0ms
(cbrt (- 2.0 (+ x y)))
111.0ms
(cbrt (- 2.0 (+ x y)))
112.0ms
(cbrt (- 2.0 (+ x y)))

simplify171.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03351147
110351095
24702994
35001994

prune296.0ms

Filtered
131 candidates to 89 candidates (67.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh022
Picked011
Done022
Total1315136

Merged error: 0b

Counts
136 → 5

regimes71.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1125

end0.0ms

sample305.0ms

Algorithm
intervals
Results
174.0ms8000×body80valid

Profiling

Loading profile data...