Details

Time bar (total: 33.8s)

sample160.0ms

Algorithm
intervals
Results
55.0ms902×body80nan
25.0ms70×body1280nan
21.0ms359×body80valid
16.0ms62×body640nan
7.0ms41×body320nan
3.0ms25×body160nan

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.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
135×add-sqr-sqrt
68×*-un-lft-identity
67×associate-*l*
62×add-cube-cbrt
61×times-frac
53×unpow-prod-down
46×add-exp-log
44×associate-*r*
36×unswap-sqr
32×sqrt-prod
22×prod-exp
19×pow-unpow
18×associate-/r*
17×pow1
16×add-cbrt-cube
14×div-sub pow-sub
12×frac-times associate-*l/
pow-exp associate-/l*
pow-prod-down *-commutative
div-exp
cbrt-unprod sqr-pow
add-log-exp
pow-to-exp pow-pow frac-2neg clear-num div-inv distribute-lft-out-- difference-of-squares
cbrt-undiv
associate-*r/
Counts
4 → 236
Calls
4 calls:
8.0ms
(* (* 2.0 PI) n)
35.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
8.0ms
(/ 1.0 (sqrt k))
15.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

series545.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* 2.0 PI) n)
331.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
38.0ms
(/ 1.0 (sqrt k))
146.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012422334
150012228

prune658.0ms

Filtered
248 candidates to 170 candidates (68.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2399248
Fresh000
Picked101
Done000
Total2409249

Merged error: 0.0b

Counts
249 → 9

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite618.0ms

Algorithm
rewrite-expression-head
Rules
3218×associate-*r*
3039×add-sqr-sqrt
2827×associate-*l*
2522×unpow-prod-down
2401×times-frac
1212×unswap-sqr
1118×add-cube-cbrt *-un-lft-identity
441×distribute-lft-neg-in distribute-rgt-neg-in
306×*-commutative
282×sqrt-prod
201×sqr-pow
176×add-exp-log
105×prod-exp
100×neg-mul-1
52×associate-/r*
46×associate-/l*
39×pow-exp
36×div-exp
26×add-cbrt-cube
20×pow1
13×pow-to-exp pow-unpow
10×cbrt-unprod
pow-prod-down
cbrt-undiv add-log-exp
pow-pow
div-inv
distribute-lft-neg-out frac-2neg distribute-frac-neg clear-num
Counts
4 → 2653
Calls
4 calls:
12.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
201.0ms
(* (* 2.0 PI) n)
7.0ms
(* (* 2.0 PI) n)
111.0ms
(/ (* (- 1.0) (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (- (sqrt k)) (pow (* (* 2.0 PI) n) (/ k 2.0))))

series1.2s

Counts
4 → 12
Calls
4 calls:
268.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
31.0ms
(* (* 2.0 PI) n)
41.0ms
(* (* 2.0 PI) n)
889.0ms
(/ (* (- 1.0) (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (- (sqrt k)) (pow (* (* 2.0 PI) n) (/ k 2.0))))

simplify564.0ms

Algorithm
egg-herbie
Counts
2665 → 2665
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0500161556

prune9.9s

Filtered
2665 candidates to 2046 candidates (76.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New266052665
Fresh718
Picked101
Done000
Total266862674

Merged error: 0b

Counts
2674 → 6

localize35.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(sqrt PI)
1.0b
(sqrt PI)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(sqrt PI)
1.0ms
(sqrt PI)

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(sqrt PI)
0.0ms
(sqrt PI)

simplify94.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
086230
1203224
2671220
34138220
45002220

prune288.0ms

Filtered
52 candidates to 42 candidates (80.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New52052
Fresh055
Picked011
Done000
Total52658

Merged error: 0b

Counts
58 → 6

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite511.0ms

Algorithm
rewrite-expression-head
Rules
4166×add-sqr-sqrt
3787×associate-*r*
3292×unpow-prod-down
2898×times-frac
2634×associate-*l*
1661×unswap-sqr
1399×add-cube-cbrt *-un-lft-identity
1043×cbrt-prod
474×distribute-lft-neg-in distribute-rgt-neg-in
376×swap-sqr
333×*-commutative
282×sqrt-prod
222×sqr-pow
123×add-exp-log
111×neg-mul-1
70×prod-exp
63×associate-/r*
46×associate-/l*
30×div-exp
27×pow-exp
16×add-cbrt-cube
11×pow-to-exp
pow1 cbrt-undiv cbrt-unprod add-log-exp
pow1/3
distribute-lft-neg-out frac-2neg distribute-frac-neg clear-num div-inv
Counts
4 → 3085
Calls
4 calls:
126.0ms
(/ (* (- 1.0) (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (- (sqrt k)) (pow (* (cbrt 2.0) (cbrt 2.0)) (/ k 2.0))))
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)

series948.0ms

Counts
4 → 6
Calls
4 calls:
948.0ms
(/ (* (- 1.0) (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (- (sqrt k)) (pow (* (cbrt 2.0) (cbrt 2.0)) (/ k 2.0))))
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)

simplify701.0ms

Algorithm
egg-herbie
Counts
3091 → 3091
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
0500279609

prune12.8s

Filtered
3091 candidates to 2112 candidates (68.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New308923091
Fresh224
Picked011
Done011
Total309163097

Merged error: 0b

Counts
3097 → 6

regimes111.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03829
14829
25429
35729
45929
55929

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.5s27257×body80nan
720.0ms2009×body1280nan
677.0ms10694×body80valid
452.0ms1662×body640nan
163.0ms853×body320nan
48.0ms416×body160nan