Details

Time bar (total: 10.9s)

sample197.0ms

Algorithm
intervals
Results
81.0ms975×body80nan
29.0ms345×body80valid
20.0ms34×body1280nan
14.0ms31×body640nan
12.0ms86×body80overflowed
4.0ms12×body320nan
2.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.8b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

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

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

series549.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09501461
139241358
250021344

prune415.0ms

Filtered
161 candidates to 107 candidates (66.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New14813161
Fresh000
Picked101
Done000
Total14913162

Merged error: 0.0b

Counts
162 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
70×times-frac
64×*-un-lft-identity
52×add-cube-cbrt
38×pow-unpow
30×add-exp-log
23×sqrt-prod
22×associate-*l*
11×prod-exp add-cbrt-cube
pow1
pow-exp
associate-/r* distribute-lft-out-- difference-of-squares unswap-sqr sqr-pow
unpow-prod-down div-exp associate-*r*
pow-to-exp div-sub div-inv pow-sub add-log-exp
pow-pow associate-/l*
cbrt-undiv cbrt-unprod
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 161
Calls
4 calls:
6.0ms
(pow n (/ (- 1.0 k) 2.0))
4.0ms
(/ 1.0 (sqrt k))
10.0ms
(* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0)))
7.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

series471.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(pow n (/ (- 1.0 k) 2.0))
37.0ms
(/ 1.0 (sqrt k))
291.0ms
(* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0)))
78.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
08191327
131821246
250011236

prune587.0ms

Filtered
173 candidates to 123 candidates (71.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1703173
Fresh6612
Picked101
Done000
Total1779186

Merged error: 0.0b

Counts
186 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
64×add-exp-log add-sqr-sqrt *-un-lft-identity
52×add-cube-cbrt
38×pow-unpow prod-exp
22×associate-*l*
21×sqrt-prod
18×add-cbrt-cube
14×pow-to-exp pow-exp
11×div-exp
10×div-sub pow-sub
pow1
unpow-prod-down associate-/r* cbrt-unprod distribute-lft-out-- difference-of-squares
frac-times associate-*r/
div-inv add-log-exp
cbrt-undiv associate-*l/ associate-/l*
pow-pow sqr-pow
frac-2neg associate-*r* pow-prod-down clear-num *-commutative
Counts
4 → 170
Calls
4 calls:
5.0ms
(pow n (/ (- 1.0 k) 2.0))
4.0ms
(/ 1.0 (sqrt k))
13.0ms
(* (/ 1.0 (sqrt k)) (* (pow 2.0 (/ (- 1.0 k) 2.0)) (pow PI (/ (- 1.0 k) 2.0))))
6.0ms
(pow PI (/ (- 1.0 k) 2.0))

series730.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(pow n (/ (- 1.0 k) 2.0))
39.0ms
(/ 1.0 (sqrt k))
574.0ms
(* (/ 1.0 (sqrt k)) (* (pow 2.0 (/ (- 1.0 k) 2.0)) (pow PI (/ (- 1.0 k) 2.0))))
51.0ms
(pow PI (/ (- 1.0 k) 2.0))

simplify103.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
010261582
141121443
250021436

prune477.0ms

Filtered
182 candidates to 121 candidates (66.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1820182
Fresh088
Picked011
Done000
Total1829191

Merged error: 0.0b

Counts
191 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
104×times-frac
93×add-sqr-sqrt
80×*-un-lft-identity
74×add-cube-cbrt
50×unpow-prod-down
41×add-exp-log
23×sqrt-prod
22×associate-*l*
21×sqr-pow
19×pow-unpow
14×div-exp
13×associate-/r* add-cbrt-cube
12×pow-exp
11×prod-exp
10×associate-/l*
pow-to-exp
pow1
unswap-sqr
associate-*r*
div-inv add-log-exp
cbrt-undiv div-sub distribute-lft-out-- pow-sub difference-of-squares
pow-pow frac-2neg clear-num cbrt-unprod
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative pow-div
Counts
4 → 211
Calls
4 calls:
6.0ms
(/ (pow n (/ 1.0 2.0)) (pow n (/ k 2.0)))
4.0ms
(/ 1.0 (sqrt k))
10.0ms
(* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0)))
7.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

series599.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(/ (pow n (/ 1.0 2.0)) (pow n (/ k 2.0)))
43.0ms
(/ 1.0 (sqrt k))
280.0ms
(* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0)))
78.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

simplify102.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
09592011
140621915
250021910

prune615.0ms

Filtered
223 candidates to 155 candidates (69.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2221223
Fresh077
Picked011
Done101
Total2239232

Merged error: 0b

Counts
232 → 9

regimes139.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02113
12113

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.2s27557×body80nan
928.0ms10729×body80valid
606.0ms987×body1280nan
372.0ms839×body640nan
336.0ms2402×body80overflowed
131.0ms406×body320nan
31.0ms180×body160nan