Details

Time bar (total: 13.1s)

sample192.0ms

Algorithm
intervals
Results
68.0ms870×body80nan
33.0ms341×body80valid
21.0ms35×body1280nan
11.0ms26×body640nan
10.0ms75×body80overflowed
4.0ms13×body320nan
1.0msbody160nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune4.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.6b

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

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

series689.0ms

Counts
4 → 12
Calls
4 calls:
344.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
180.0ms
(/ 1.0 (sqrt k))
33.0ms
(* (* 2.0 PI) n)
131.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

simplify107.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09471443
142261340
250011327

prune571.0ms

Filtered
161 candidates to 107 candidates (66.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1529161
Fresh000
Picked101
Done000
Total1539162

Merged error: 0.0b

Counts
162 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
110×add-exp-log
68×prod-exp
63×add-sqr-sqrt
55×times-frac
50×*-un-lft-identity
44×add-cube-cbrt
27×pow-exp
23×associate-*l* sqrt-prod
20×add-cbrt-cube
19×pow-unpow
18×pow-to-exp
17×div-exp
12×associate-*r*
11×div-sub pow-sub
pow1 cbrt-unprod
frac-times associate-*l/ associate-/r* unswap-sqr sqr-pow
unpow-prod-down
associate-*r/ add-log-exp
cbrt-undiv div-inv associate-/l* distribute-lft-out-- difference-of-squares
pow-pow *-commutative
frac-2neg pow-prod-down clear-num
Counts
4 → 180
Calls
4 calls:
12.0ms
(* (* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (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))

series1.2s

Counts
4 → 12
Calls
4 calls:
589.0ms
(* (* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0)))
185.0ms
(/ 1.0 (sqrt k))
382.0ms
(* (/ 1.0 (sqrt k)) (pow (* 2.0 PI) (/ (- 1.0 k) 2.0)))
73.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011192024
150011849

prune654.0ms

Filtered
192 candidates to 119 candidates (62.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1902192
Fresh088
Picked011
Done000
Total19011201

Merged error: 0b

Counts
201 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
99×add-exp-log
61×prod-exp
41×add-sqr-sqrt *-un-lft-identity
38×pow-unpow
36×times-frac
29×add-cube-cbrt
25×pow-exp
18×pow-to-exp add-cbrt-cube
16×div-exp
10×div-sub pow-sub
pow1
unpow-prod-down associate-*r*
associate-*r/ associate-/r* sqrt-prod cbrt-unprod distribute-lft-out-- difference-of-squares
add-log-exp
cbrt-undiv pow-pow div-inv associate-/l/ sqr-pow
frac-times associate-*l/
frac-2neg associate-*l* pow-prod-down clear-num *-commutative associate-/l*
Counts
4 → 149
Calls
4 calls:
6.0ms
(pow n (/ (- 1.0 k) 2.0))
10.0ms
(/ (* (* 1.0 (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (sqrt k))
8.0ms
(* (* 1.0 (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0)))
7.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
63.0ms
(pow n (/ (- 1.0 k) 2.0))
650.0ms
(/ (* (* 1.0 (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (sqrt k))
308.0ms
(* (* 1.0 (pow (* 2.0 PI) (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0)))
69.0ms
(pow (* 2.0 PI) (/ (- 1.0 k) 2.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
010141748
147181549
250011543

prune550.0ms

Filtered
161 candidates to 98 candidates (60.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1610161
Fresh099
Picked011
Done011
Total16111172

Merged error: 0b

Counts
172 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
594×sqrt-prod
591×times-frac
328×add-sqr-sqrt *-un-lft-identity
322×add-cube-cbrt
34×associate-/l*
22×add-exp-log
19×pow-unpow
18×associate-/r*
16×add-cbrt-cube
15×pow1
13×div-inv
pow-prod-down prod-exp
cbrt-undiv div-exp add-log-exp
pow-pow associate-*r* pow-exp cbrt-unprod distribute-lft-out-- difference-of-squares
frac-2neg clear-num
pow-to-exp unpow-prod-down div-sub associate-*l* *-commutative associate-/l/ pow-sub sqr-pow
Counts
4 → 439
Calls
4 calls:
5.0ms
(/ 1.0 (sqrt (sqrt k)))
5.0ms
(* (* 2.0 PI) n)
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
16.0ms
(/ (/ 1.0 (sqrt (sqrt k))) (sqrt (sqrt k)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ 1.0 (sqrt (sqrt k)))
32.0ms
(* (* 2.0 PI) n)
146.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
193.0ms
(/ (/ 1.0 (sqrt (sqrt k))) (sqrt (sqrt k)))

simplify74.0ms

Algorithm
egg-herbie
Counts
451 → 451
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013215782
150015005

prune883.0ms

Filtered
451 candidates to 170 candidates (37.7%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New4501451
Fresh178
Picked011
Done022
Total45111462

Merged error: 0b

Counts
462 → 11

regimes416.0ms

Accuracy

0% (0.6b 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
01711
11711

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.1s26400×body80nan
912.0ms10626×body80valid
582.0ms933×body1280nan
358.0ms776×body640nan
346.0ms2485×body80overflowed
122.0ms396×body320nan
39.0ms206×body160nan

Profiling

Loading profile data...