Details

Time bar (total: 7.4s)

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 62.112427%

Guaranteed chance to sample good point: 65.984696%

Results
30.0ms346×body80valid
27.0ms40×body1280nan
14.0ms32×body640nan
14.0ms97×body80overflowed
5.0ms16×body320nan
2.0msbody160nan
1.0ms14×body80nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.7b

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.3b
(/ 1.0 (sqrt k))
0.3b
(* (* 2.0 PI) n)
0.5b
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

rewrite33.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))
5.0ms
(* (* 2.0 PI) n)
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

series88.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09531493
142331364
250021351

prune295.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1529161
Fresh000
Picked101
Done000
Total1539162

Merged error: 0.0b

Counts
162 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
26×pow1 add-exp-log pow-unpow
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
14×add-cbrt-cube
12×pow-prod-down prod-exp
pow-pow associate-*r* pow-exp cbrt-unprod
add-log-exp
pow-to-exp unpow-prod-down associate-*l* *-commutative div-inv sqr-pow
Counts
4 → 94
Calls
4 calls:
6.0ms
(pow (* (* 2.0 PI) n) (/ k 2.0))
5.0ms
(* (* 2.0 PI) n)
6.0ms
(* (* 2.0 PI) n)
6.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

series44.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(pow (* (* 2.0 PI) n) (/ k 2.0))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
24.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0453528
11774479
25002473

prune183.0ms

Filtered
67 candidates to 106 candidates (-58.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1051106
Fresh178
Picked011
Done000
Total1069115

Merged error: 0.0b

Counts
115 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
33×pow1 add-exp-log
23×add-cbrt-cube
18×pow-prod-down prod-exp
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×associate-*r*
13×pow-unpow
12×cbrt-unprod
times-frac
sqrt-prod
pow-pow pow-exp add-log-exp
associate-*l* *-commutative
pow-to-exp unpow-prod-down div-inv sqr-pow
Counts
4 → 94
Calls
4 calls:
5.0ms
(* (* 2.0 PI) n)
6.0ms
(* (* 2.0 PI) (sqrt n))
10.0ms
(pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ 1.0 2.0))
9.0ms
(* (* (* 2.0 PI) (sqrt n)) (sqrt n))

series38.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0592627
12811518
25002514

prune163.0ms

Filtered
61 candidates to 106 candidates (-73.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1060106
Fresh077
Picked011
Done011
Total1069115

Merged error: 0.0b

Counts
115 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
22×add-exp-log
20×pow1
16×add-cbrt-cube
13×pow-unpow
12×sqrt-prod
pow-prod-down prod-exp
associate-*r* associate-/r* cbrt-unprod
add-log-exp
pow-pow pow-exp associate-/l*
associate-*l* *-commutative div-inv
cbrt-undiv pow-to-exp unpow-prod-down frac-2neg div-exp clear-num sqr-pow
Counts
4 → 104
Calls
4 calls:
4.0ms
(/ 1.0 (sqrt k))
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)
6.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

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

simplify48.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0438558
11703505
25001495

prune161.0ms

Filtered
73 candidates to 116 candidates (-58.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1160116
Fresh066
Picked011
Done022
Total1169125

Merged error: 0.0b

Counts
125 → 9

regimes183.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01912
11912

end0.0ms

sample4.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 62.112427%

Guaranteed chance to sample good point: 65.984696%

Results
951.0ms10596×body80valid
597.0ms984×body1280nan
363.0ms816×body640nan
351.0ms2508×body80overflowed
136.0ms421×body320nan
33.0ms184×body160nan
32.0ms555×body80nan

Profiling

Loading profile data...