Details

Time bar (total: 10.2s)

sample173.0ms

Algorithm
intervals
Results
65.0ms824×body80nan
27.0ms333×body80valid
21.0ms37×body1280nan
11.0ms25×body640nan
9.0ms68×body80overflowed
8.0ms12×body320nan
1.0msbody160nan

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

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

Counts
2 → 1

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

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

series547.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
142.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
44.0ms
(/ 1.0 (sqrt k))
33.0ms
(* (* 2.0 PI) n)

simplify100.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
09501461
139251358
250011344

prune429.0ms

Filtered
161 candidates to 107 candidates (66.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15011161
Fresh000
Picked101
Done000
Total15111162

Merged error: 0.0b

Counts
162 → 11

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

rewrite33.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:
11.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))

series1.2s

Counts
4 → 12
Calls
4 calls:
914.0ms
(/ (* 1.0 (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
33.0ms
(* (* 2.0 PI) n)
38.0ms
(* (* 2.0 PI) n)
264.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

simplify108.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09161358
139511199
250021199

prune265.0ms

Filtered
130 candidates to 59 candidates (45.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh2810
Picked101
Done000
Total13110141

Merged error: 0b

Counts
141 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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))
9.0ms
(* (* (* 2.0 PI) (sqrt n)) (sqrt n))
11.0ms
(pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ 1.0 2.0))

series423.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* 2.0 PI) n)
79.0ms
(* (* 2.0 PI) (sqrt n))
52.0ms
(* (* (* 2.0 PI) (sqrt n)) (sqrt n))
260.0ms
(pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ 1.0 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0502607
12341489
25002478

prune269.0ms

Filtered
106 candidates to 61 candidates (57.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh099
Picked011
Done000
Total10610116

Merged error: 0b

Counts
116 → 10

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

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

series371.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ 1.0 (sqrt k))
31.0ms
(* (* 2.0 PI) n)
31.0ms
(* (* 2.0 PI) n)
265.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0435565
11610505
25001493

prune250.0ms

Filtered
116 candidates to 73 candidates (62.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh088
Picked011
Done011
Total11610126

Merged error: 0b

Counts
126 → 10

regimes206.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02415
12415

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.1s26783×body80nan
892.0ms10685×body80valid
599.0ms1000×body1280nan
472.0ms2447×body80overflowed
360.0ms827×body640nan
119.0ms405×body320nan
34.0ms202×body160nan

Profiling

Loading profile data...