Details

Time bar (total: 9.9s)

sample139.0ms

Algorithm
intervals
Results
44.0ms809×body80nan
25.0ms64×body1280nan
19.0ms325×body80valid
15.0ms59×body640nan
5.0ms24×body320nan
2.0ms17×body160nan

simplify38.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410348
550018

prune2.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.4b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-down
associate-*l* *-commutative
div-sub associate-*r* pow-sub
frac-times frac-2neg associate-*l/ clear-num div-inv
sqr-pow
pow-to-exp pow-unpow associate-*r/
Counts
4 → 28
Calls
4 calls:
2.0ms
(/ 1.0 (sqrt k))
6.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
4.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
3.0ms
(* (* 2.0 PI) n)

series518.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1.0 (sqrt k))
313.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))
137.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
31.0ms
(* (* 2.0 PI) n)

simplify59.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0582496
12170463
25003455

prune157.0ms

Filtered
40 candidates to 38 candidates (95.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New33740
Fresh000
Picked101
Done000
Total34741

Merged error: 0.0b

Counts
41 → 7

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
21×div-sub pow-sub
16×frac-times associate-*l/
frac-2neg associate-*l* clear-num *-commutative
associate-*r*
unpow-prod-down associate-*r/ sqr-pow
div-inv
pow-to-exp pow-unpow
Counts
4 → 40
Calls
4 calls:
3.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
9.0ms
(* (* (/ 1.0 (sqrt k)) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0)))
2.0ms
(* PI n)
4.0ms
(* (/ 1.0 (sqrt k)) (pow 2.0 (/ (- 1.0 k) 2.0)))

series856.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
556.0ms
(* (* (/ 1.0 (sqrt k)) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0)))
19.0ms
(* PI n)
177.0ms
(* (/ 1.0 (sqrt k)) (pow 2.0 (/ (- 1.0 k) 2.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0818809
13352761
25001757

prune227.0ms

Filtered
52 candidates to 49 candidates (94.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh426
Picked101
Done000
Total52759

Merged error: 0.0b

Counts
59 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-*l*
13×neg-mul-1
12×associate-*r*
11×*-commutative
times-frac div-sub associate-/l* pow-sub
unpow-prod-down
sqr-pow
associate-*r/
distribute-lft-neg-out
associate-/l/
frac-times associate-*l/ div-inv
pow-to-exp pow-unpow frac-2neg distribute-frac-neg clear-num associate-/r*
Counts
4 → 45
Calls
4 calls:
3.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
10.0ms
(/ (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0))) (- (sqrt k)))
2.0ms
(* PI n)
7.0ms
(* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0)))

series983.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
562.0ms
(/ (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0))) (- (sqrt k)))
19.0ms
(* PI n)
302.0ms
(* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow (* PI n) (/ (- 1.0 k) 2.0)))

simplify91.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0823946
13301880
25002876

prune257.0ms

Filtered
57 candidates to 54 candidates (94.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh426
Picked101
Done000
Total58664

Merged error: 0b

Counts
64 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
41×associate-*l*
29×div-sub pow-sub
17×associate-*r/
15×neg-mul-1
12×sqr-pow
11×frac-times associate-*r* associate-*l/ *-commutative
10×times-frac associate-/l*
distribute-lft-neg-out
associate-/l/
div-inv
pow-to-exp pow-unpow frac-2neg distribute-frac-neg clear-num associate-/r*
Counts
4 → 63
Calls
4 calls:
13.0ms
(/ (* (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (pow PI (/ (- 1.0 k) 2.0))) (- (sqrt k)))
12.0ms
(* (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (pow PI (/ (- 1.0 k) 2.0)))
7.0ms
(* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0)))
3.0ms
(pow PI (/ (- 1.0 k) 2.0))

series1.5s

Counts
4 → 12
Calls
4 calls:
820.0ms
(/ (* (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (pow PI (/ (- 1.0 k) 2.0))) (- (sqrt k)))
435.0ms
(* (* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0))) (pow PI (/ (- 1.0 k) 2.0)))
196.0ms
(* (* (- 1.0) (pow 2.0 (/ (- 1.0 k) 2.0))) (pow n (/ (- 1.0 k) 2.0)))
45.0ms
(pow PI (/ (- 1.0 k) 2.0))

simplify106.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
09601273
141031197
250011191

prune348.0ms

Filtered
75 candidates to 74 candidates (98.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh145
Picked011
Done000
Total75681

Merged error: 0b

Counts
81 → 6

regimes86.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02216
13016
24216
34916
44916

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.5s27202×body80nan
707.0ms2044×body1280nan
661.0ms10624×body80valid
452.0ms1711×body640nan
161.0ms839×body320nan
48.0ms427×body160nan