Details

Time bar (total: 24.8s)

sample8.7s

Algorithm
intervals
Results
35.0ms60×body1280nan
28.0ms330×body80valid
27.0ms56×body640nan
20.0ms146×body80overflowed
19.0ms342×body80nan
8.0ms26×body320nan
3.0ms15×body160nan

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.6b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series90.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
09531493
142331364
250021352

prune302.0ms

Filtered
161 candidates to 107 candidates (33.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15011161
Fresh000
Picked101
Done000
Total15111162

Merged error: 0.0b

Counts
162 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series171.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09391410
140821188
250021188

prune197.0ms

Filtered
130 candidates to 60 candidates (53.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh1910
Picked011
Done000
Total13011141

Merged error: 0.0b

Counts
141 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
45×add-exp-log
40×times-frac
35×add-cube-cbrt *-un-lft-identity
24×associate-*l*
23×sqrt-prod
22×prod-exp
21×add-cbrt-cube
14×pow1
11×associate-*r*
cbrt-unprod
div-exp pow-prod-down pow-exp associate-/r* unswap-sqr
add-log-exp sqr-pow
*-commutative associate-/l*
cbrt-undiv pow-to-exp div-inv
unpow-prod-down frac-2neg associate-*l/ clear-num
Counts
4 → 129
Calls
4 calls:
4.0ms
(* (* 2.0 PI) n)
4.0ms
(* (* 2.0 PI) n)
4.0ms
(/ 1.0 (sqrt k))
10.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))

series97.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06211038
12688925
25001915

prune249.0ms

Filtered
141 candidates to 93 candidates (34.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh099
Picked011
Done011
Total14111152

Merged error: 0.0b

Counts
152 → 11

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
91×add-exp-log
49×prod-exp
37×add-cbrt-cube
34×sqrt-prod
30×add-sqr-sqrt
21×pow1
18×div-exp
16×cbrt-unprod
14×add-cube-cbrt *-un-lft-identity associate-*r*
10×swap-sqr associate-*l* sqr-pow
pow-prod-down pow-exp unswap-sqr
cbrt-undiv sqrt-pow1 pow1/2
unpow-prod-down add-log-exp
pow-to-exp pow-sqr *-commutative pow-prod-up
pow2 frac-2neg times-frac pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt div-inv associate-/l*
Counts
4 → 131
Calls
4 calls:
5.0ms
(* (* 2.0 PI) n)
5.0ms
(* (* 2.0 PI) n)
16.0ms
(/ (* 1.0 (* (sqrt (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (sqrt (pow (* (* 2.0 PI) n) (/ 1.0 2.0))))) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
10.0ms
(* (sqrt (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (sqrt (pow (* (* 2.0 PI) n) (/ 1.0 2.0))))

series269.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
09141861
146411418
250011398

prune242.0ms

Filtered
143 candidates to 73 candidates (49.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1430143
Fresh088
Picked011
Done022
Total14311154

Merged error: 0.0b

Counts
154 → 11

regimes284.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01912
11912

end0.0ms

sample13.5s

Algorithm
intervals
Results
1.2s1946×body1280nan
937.0ms10659×body80valid
724.0ms1645×body640nan
716.0ms5087×body80overflowed
668.0ms11580×body80nan
242.0ms805×body320nan
75.0ms432×body160nan

Profiling

Loading profile data...