Details

Time bar (total: 23.2s)

sample8.8s

Algorithm
intervals
Results
31.0ms348×body80valid
22.0ms35×body1280nan
12.0ms26×body640nan
11.0ms79×body80overflowed
11.0ms191×body80nan
5.0ms15×body320nan
1.0msbody160nan

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

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

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:
10.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))
4.0ms
(* (* 2.0 PI) n)
4.0ms
(/ 1.0 (sqrt k))

series87.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09531493
142341364
250021350

prune305.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15011161
Fresh000
Picked101
Done000
Total15111162

Merged error: 0.0b

Counts
162 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(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)

rewrite33.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:
8.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)

series172.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
140.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)

simplify100.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09391410
140821188
250011188

prune196.0ms

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

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1282130
Fresh01010
Picked011
Done000
Total12813141

Merged error: 0.0b

Counts
141 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.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)
5.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)))

series96.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))
82.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 (57.0ms)

IterNodesCost
06211038
12688925
25001915

prune252.0ms

Filtered
93 candidates to 141 candidates (-51.6%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh01111
Picked011
Done011
Total14113154

Merged error: 0.0b

Counts
154 → 13

localize18.0ms

Local error

Found 4 expressions with local error:

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

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:
22.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)
4.0ms
(/ 1.0 (sqrt k))

series142.0ms

Counts
4 → 12
Calls
4 calls:
127.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)
8.0ms
(/ 1.0 (sqrt k))

simplify53.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012802683
150012479

prune353.0ms

Filtered
126 candidates to 221 candidates (-75.4%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2201221
Fresh1910
Picked011
Done112
Total22212234

Merged error: 0b

Counts
234 → 12

regimes305.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812

end0.0ms

sample11.9s

Algorithm
intervals
Results
994.0ms10640×body80valid
614.0ms898×body1280nan
426.0ms854×body640nan
370.0ms2419×body80overflowed
352.0ms5649×body80nan
132.0ms389×body320nan
43.0ms194×body160nan

Profiling

Loading profile data...