Details

Time bar (total: 8.5s)

sample181.0ms

Algorithm
intervals
Results
62.0ms804×body80nan
33.0ms321×body80valid
24.0ms40×body1280nan
11.0ms76×body80overflowed
10.0ms23×body640nan
3.0ms11×body320nan
1.0msbody160nan

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

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

series87.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
09531493
142341364
250011352

prune323.0ms

Filtered
161 candidates to 107 candidates (33.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New14714161
Fresh000
Picked101
Done000
Total14814162

Merged error: 0b

Counts
162 → 14

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

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

simplify125.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
09391410
140821188
250011188

prune198.0ms

Filtered
130 candidates to 59 candidates (54.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh31013
Picked011
Done000
Total13212144

Merged error: 0b

Counts
144 → 12

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
236×add-exp-log
118×prod-exp
85×add-sqr-sqrt
83×times-frac
77×div-exp
60×pow-exp
45×add-cube-cbrt *-un-lft-identity
35×associate-*r*
28×add-cbrt-cube
26×sqrt-prod
24×associate-*l*
22×sqr-pow
20×pow-to-exp
16×pow1
15×unswap-sqr
10×unpow-prod-down cbrt-unprod
pow-prod-down
associate-/r*
cbrt-undiv
add-log-exp
*-commutative div-inv associate-/l*
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
Counts
4 → 209
Calls
4 calls:
4.0ms
(/ 1.0 (sqrt k))
25.0ms
(* (/ 1.0 (sqrt k)) (/ (pow (* (* 2.0 PI) n) (/ 1.0 2.0)) (pow (* (* 2.0 PI) n) (/ k 2.0))))
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)

series143.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012802683
150012479

prune426.0ms

Filtered
221 candidates to 127 candidates (42.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2210221
Fresh01010
Picked011
Done011
Total22112233

Merged error: 0b

Counts
233 → 12

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
50×add-sqr-sqrt
39×prod-exp
37×*-un-lft-identity times-frac
31×add-cube-cbrt
28×pow1
24×associate-*l*
23×add-cbrt-cube
19×pow-unpow
17×associate-*r* sqrt-prod
15×pow-prod-down
12×pow-exp
11×cbrt-unprod
div-exp unswap-sqr
sqr-pow
pow-pow add-log-exp
pow-to-exp div-sub *-commutative distribute-lft-out-- pow-sub difference-of-squares
unpow-prod-down div-inv
cbrt-undiv frac-times associate-*r/ associate-*l/
Counts
4 → 141
Calls
4 calls:
12.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ (- 1.0 k) 2.0)))
13.0ms
(pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ (- 1.0 k) 2.0))
6.0ms
(* (* 2.0 PI) (sqrt n))
9.0ms
(* (* (* 2.0 PI) (sqrt n)) (sqrt n))

series98.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ (- 1.0 k) 2.0)))
28.0ms
(pow (* (* (* 2.0 PI) (sqrt n)) (sqrt n)) (/ (- 1.0 k) 2.0))
5.0ms
(* (* 2.0 PI) (sqrt n))
5.0ms
(* (* (* 2.0 PI) (sqrt n)) (sqrt n))

simplify47.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011241865
150011600

prune238.0ms

Filtered
153 candidates to 98 candidates (35.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1512153
Fresh369
Picked101
Done022
Total15510165

Merged error: 0b

Counts
165 → 10

regimes273.0ms

Accuracy

0% (0.3b 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

sample5.7s

Algorithm
intervals
Results
2.2s27185×body80nan
893.0ms10677×body80valid
647.0ms1043×body1280nan
379.0ms847×body640nan
335.0ms2443×body80overflowed
130.0ms422×body320nan
35.0ms198×body160nan

Profiling

Loading profile data...