Details

Time bar (total: 7.1s)

sample232.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50%

Guaranteed chance to sample good point: 50%

Results
33.0ms374×body80valid
22.0ms29×body1280nan
13.0ms30×body640nan
11.0ms202×body80nan
9.0ms72×body80overflowed
3.0msbody320nan
1.0msbody160nan

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.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
4.0ms
(/ 1.0 (sqrt k))
11.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
5.0ms
(* (* 2.0 PI) n)
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

series86.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
09531493
142331364
250021352

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

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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:
7.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
10.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)

series171.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
141.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)

simplify99.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09391410
140821188
250011188

prune187.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh088
Picked011
Done000
Total1309139

Merged error: 0.0b

Counts
139 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1.0 (sqrt k)) (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0)))
0.3b
(* (* 2.0 PI) n)
0.5b
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
0.6b
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
68×times-frac
67×*-un-lft-identity
59×add-exp-log
50×pow-unpow
43×add-cube-cbrt
37×sqrt-prod
29×prod-exp
27×pow-exp
23×associate-*l*
19×unpow-prod-down
15×pow1
14×add-cbrt-cube
12×associate-*r* difference-of-squares unswap-sqr
11×sqr-pow
pow-to-exp div-exp
pow-prod-down distribute-lft-out distribute-lft-out--
cbrt-unprod
pow-pow add-log-exp
div-sub div-inv pow-sub
*-commutative
cbrt-undiv frac-times associate-*r/ associate-*l/
Counts
4 → 175
Calls
4 calls:
14.0ms
(* (/ 1.0 (sqrt k)) (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0)))
5.0ms
(* (* 2.0 PI) n)
12.0ms
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
11.0ms
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

series333.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(* (/ 1.0 (sqrt k)) (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0)))
3.0ms
(* (* 2.0 PI) n)
70.0ms
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
33.0ms
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

simplify72.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
018244418
150024252

prune738.0ms

Filtered
116 candidates to 187 candidates (-61.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1861187
Fresh077
Picked101
Done011
Total1879196

Merged error: 0b

Counts
196 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* 1.0 (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))) (sqrt k))
0.3b
(* (* 2.0 PI) n)
0.5b
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
0.6b
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt *-un-lft-identity
50×pow-unpow
48×times-frac
46×add-exp-log
32×add-cube-cbrt
30×sqrt-prod
19×pow-exp prod-exp
15×pow1
14×add-cbrt-cube
12×difference-of-squares
div-exp
unpow-prod-down
pow-prod-down associate-/r* distribute-lft-out distribute-lft-out--
pow-to-exp
pow-pow cbrt-unprod add-log-exp
associate-*r* div-inv sqr-pow
cbrt-undiv div-sub pow-sub
frac-2neg associate-*r/ associate-*l* clear-num *-commutative associate-/l/ associate-/l*
Counts
4 → 139
Calls
4 calls:
10.0ms
(/ (* 1.0 (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))) (sqrt k))
5.0ms
(* (* 2.0 PI) n)
12.0ms
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
12.0ms
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

series246.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(/ (* 1.0 (pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))) (sqrt k))
3.0ms
(* (* 2.0 PI) n)
72.0ms
(pow (pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1)) (/ (- (sqrt 1.0) (sqrt k)) 2.0))
30.0ms
(pow (* (* 2.0 PI) n) (/ (+ (sqrt 1.0) (sqrt k)) 1))

simplify67.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017403626
150023445

prune567.0ms

Filtered
91 candidates to 151 candidates (-65.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh077
Picked011
Done011
Total1519160

Merged error: 0b

Counts
160 → 9

regimes266.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01912
11912

end0.0ms

sample3.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50%

Guaranteed chance to sample good point: 50%

Results
933.0ms10739×body80valid
558.0ms953×body1280nan
365.0ms836×body640nan
327.0ms2440×body80overflowed
320.0ms5760×body80nan
128.0ms438×body320nan
36.0ms211×body160nan

Profiling

Loading profile data...