Details

Time bar (total: 10.2s)

sample156.0ms

Algorithm
intervals
Results
62.0ms1021×body80nan
20.0ms348×body80valid
18.0ms54×body1280nan
13.0ms52×body640nan
5.0ms27×body320nan
2.0ms21×body160nan

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0298
1598
21198
33258
410448
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.4b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series525.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0605495
12255461
25001442

prune157.0ms

Filtered
40 candidates to 38 candidates (95.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New34640
Fresh000
Picked101
Done000
Total35641

Merged error: 0.0b

Counts
41 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*r*
76×unpow-prod-down
64×times-frac
60×associate-*l* *-commutative
19×sqr-pow
18×neg-mul-1
associate-/r* associate-/l*
div-inv
distribute-lft-neg-out pow-to-exp pow-unpow frac-2neg distribute-frac-neg clear-num
Counts
4 → 97
Calls
4 calls:
4.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
12.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:
265.0ms
(pow (* (* 2.0 PI) n) (/ 1.0 2.0))
31.0ms
(* (* 2.0 PI) n)
31.0ms
(* (* 2.0 PI) n)
875.0ms
(/ (* (- 1.0) (pow (* (* 2.0 PI) n) (/ 1.0 2.0))) (* (- (sqrt k)) (pow (* (* 2.0 PI) n) (/ k 2.0))))

simplify100.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09841627
143091596
250011586

prune453.0ms

Filtered
109 candidates to 104 candidates (95.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1063109
Fresh325
Picked101
Done000
Total1105115

Merged error: 0.0b

Counts
115 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
96×unpow-prod-down
88×frac-times
70×associate-/r* associate-/l*
68×associate-*r*
65×*-commutative
53×associate-*l*
24×neg-mul-1 sqr-pow
23×clear-num
22×frac-2neg
14×times-frac
11×associate-*r/
associate-*l/
div-inv
distribute-frac-neg
neg-sub0 div-sub un-div-inv distribute-rgt-neg-out
Counts
4 → 145
Calls
4 calls:
6.0ms
(/ (- 1.0) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
20.0ms
(* (/ (pow (* (* 2.0 PI) n) (/ 1.0 2.0)) -1) (/ (- 1.0) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
202.0ms
(/ (- 1.0) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0))))
37.0ms
(* (* 2.0 PI) n)
32.0ms
(* (* 2.0 PI) n)
888.0ms
(* (/ (pow (* (* 2.0 PI) n) (/ 1.0 2.0)) -1) (/ (- 1.0) (* (sqrt k) (pow (* (* 2.0 PI) n) (/ k 2.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013792312
150022230

prune659.0ms

Filtered
157 candidates to 150 candidates (95.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1552157
Fresh134
Picked011
Done000
Total1566162

Merged error: 0b

Counts
162 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l* *-commutative
associate-/r*
unpow-prod-down
frac-2neg clear-num div-inv sqr-pow
Counts
4 → 17
Calls
4 calls:
4.0ms
(/ -1 (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))
3.0ms
(* (* 2.0 PI) n)
3.0ms
(* (* 2.0 PI) n)
4.0ms
(* (* 2.0 PI) n)

series1.0s

Counts
4 → 12
Calls
4 calls:
942.0ms
(/ -1 (pow (* (* 2.0 PI) n) (/ 1.0 2.0)))
36.0ms
(* (* 2.0 PI) n)
31.0ms
(* (* 2.0 PI) n)
35.0ms
(* (* 2.0 PI) n)

simplify38.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
010084
127984
2119984
3500184

prune107.0ms

Filtered
29 candidates to 22 candidates (75.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New29029
Fresh044
Picked011
Done011
Total29635

Merged error: 0b

Counts
35 → 6

regimes96.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02414
12814
23114
33314
43314

end0.0ms

sample4.2s

Algorithm
intervals
Results
1.5s27204×body80nan
674.0ms1931×body1280nan
643.0ms10627×body80valid
433.0ms1628×body640nan
145.0ms789×body320nan
46.0ms399×body160nan