Details

Time bar (total: 7.8s)

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 68.103681%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
27.0ms44×body1280nan
22.0ms256×body80valid
12.0ms87×body80overflowed
11.0ms26×body640nan
5.0ms15×body320nan
1.0ms16×body80nan
1.0msbody160nan
0.0msbody80invalid

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
0.2b
(/ 1.0 (sqrt k))
0.2b
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
0.2b
(* (* 2.0 PI) n)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
55×times-frac
49×*-un-lft-identity
46×add-exp-log
43×add-cube-cbrt
23×associate-*l* sqrt-prod
22×prod-exp
19×pow-unpow
16×add-cbrt-cube
15×pow1
pow-exp
associate-*r*
div-exp pow-prod-down associate-/r* unswap-sqr
cbrt-unprod sqr-pow
add-log-exp
pow-to-exp pow-pow div-sub div-inv associate-/l* distribute-lft-out-- pow-sub difference-of-squares
cbrt-undiv unpow-prod-down *-commutative
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 149
Calls
4 calls:
11.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
4.0ms
(/ 1.0 (sqrt k))
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
5.0ms
(* (* 2.0 PI) n)

series91.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
8.0ms
(/ 1.0 (sqrt k))
17.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
3.0ms
(* (* 2.0 PI) n)

simplify106.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
09531493
142341364
250011351

prune304.0ms

Filtered
107 candidates to 161 candidates (-50.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1538161
Fresh000
Picked101
Done000
Total1548162

Merged error: 0.0b

Counts
162 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (sqrt k))
0.2b
(* (* 2.0 PI) n)
0.2b
(* (* 2.0 PI) n)
0.3b
(* (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)) (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
86×add-exp-log
61×prod-exp
30×pow-exp
29×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
18×times-frac add-cbrt-cube
14×pow1
12×sqrt-prod
11×associate-*r*
10×pow-to-exp
div-sub sqr-pow
associate-*l* pow-prod-down cbrt-unprod
associate-/r*
swap-sqr
unpow-prod-down pow-sub add-log-exp unswap-sqr
*-commutative associate-/l*
cbrt-undiv pow2 frac-times frac-2neg associate-*r/ div-exp associate-*l/ clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 135
Calls
4 calls:
4.0ms
(/ 1.0 (sqrt k))
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)
10.0ms
(* (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)) (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ 1.0 (sqrt k))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
26.0ms
(* (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)) (pow (* (* 2.0 PI) n) (/ (/ (- 1.0 k) 2.0) 2)))

simplify72.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05821161
125431023
25001990

prune238.0ms

Filtered
82 candidates to 147 candidates (-79.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1470147
Fresh077
Picked011
Done000
Total1478155

Merged error: 0.0b

Counts
155 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
0.2b
(* (* 2.0 PI) n)
0.2b
(* (* 2.0 PI) n)
0.3b
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
176×add-exp-log
105×prod-exp
39×pow-exp
36×div-exp
26×add-cbrt-cube
20×pow1
13×add-sqr-sqrt pow-to-exp add-cube-cbrt pow-unpow *-un-lft-identity
10×times-frac cbrt-unprod
pow-prod-down
associate-*r*
cbrt-undiv add-log-exp
pow-pow
associate-*l* *-commutative div-inv
unpow-prod-down frac-2neg clear-num associate-/r* associate-/l* sqr-pow
Counts
4 → 118
Calls
4 calls:
12.0ms
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)
7.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

series181.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
25.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

simplify103.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09391410
140811188
250021188

prune196.0ms

Filtered
60 candidates to 130 candidates (-116.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1282130
Fresh066
Picked101
Done011
Total1299138

Merged error: 0b

Counts
138 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 PI) n)
0.2b
(* (* 2.0 PI) n)
0.3b
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))
0.3b
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
40×add-sqr-sqrt
31×times-frac
27×add-cube-cbrt *-un-lft-identity
25×prod-exp
24×associate-*l*
20×pow1
19×add-cbrt-cube
13×pow-unpow
11×associate-*r* sqrt-prod
pow-prod-down pow-exp
cbrt-unprod
unswap-sqr
div-exp sqr-pow
add-log-exp
pow-to-exp pow-pow *-commutative
unpow-prod-down div-inv
cbrt-undiv associate-*l/
Counts
4 → 119
Calls
4 calls:
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)
11.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))
7.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

series118.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
86.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))
25.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0655982
12615870
25001870

prune209.0ms

Filtered
82 candidates to 131 candidates (-59.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1310131
Fresh077
Picked011
Done011
Total1319140

Merged error: 0b

Counts
140 → 9

regimes316.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01916
11916

end0.0ms

sample3.9s

Algorithm
intervals
sampling

Space saved by range analysis: 68.103681%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
716.0ms8000×body80valid
631.0ms1013×body1280nan
379.0ms841×body640nan
339.0ms2383×body80overflowed
145.0ms440×body320nan
40.0ms221×body160nan
31.0ms553×body80nan
11.0ms118×body80invalid

Profiling

Loading profile data...