Details

Time bar (total: 5.5s)

analyze386.0ms

Algorithm
search

sample79.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
15.0ms76×body80overflowed
15.0ms26×body1280nan
6.0ms15×body640nan
4.0ms15×body320nan
2.0ms10×body160nan
2.0ms28×body80nan
0.0msbody80invalid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune4.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)) (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))
0.3b
(/ 1.0 (sqrt k))

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

series87.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09531493
142331364
250011350

prune328.0ms

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

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New14813161
Fresh000
Picked101
Done000
Total14913162

Merged error: 0.0b

Counts
162 → 13

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

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

series176.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09391410
140811188
250021188

prune210.0ms

Filtered
59 candidates to 130 candidates (-120.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1264130
Fresh5712
Picked011
Done000
Total13112143

Merged error: 0.0b

Counts
143 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series149.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
08331353
136331121
250021121

prune228.0ms

Filtered
67 candidates to 130 candidates (-94.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1300130
Fresh01010
Picked011
Done011
Total13012142

Merged error: 0.0b

Counts
142 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

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

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

series36.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0592627
12812518
25001514

prune148.0ms

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

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1060106
Fresh099
Picked011
Done022
Total10612118

Merged error: 0.0b

Counts
118 → 12

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

analyze385.0ms

Algorithm
search

sample2.5s

Algorithm
intervals
Results
706.0ms8000×body80valid
578.0ms981×body1280nan
369.0ms830×body640nan
326.0ms2419×body80overflowed
117.0ms377×body320nan
45.0ms747×body80nan
37.0ms191×body160nan
22.0ms249×body80invalid

Profiling

Loading profile data...