Details

Time bar (total: 9.4s)

sample380.0ms

Algorithm
intervals
Results
199.0ms15×body320nan
65.0ms833×body80nan
29.0ms341×body80valid
16.0ms27×body1280nan
15.0ms36×body640nan
12.0ms89×body80overflowed
0.0msbody160nan

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0499216
1499216

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
41×add-sqr-sqrt
39×*-un-lft-identity
33×add-cube-cbrt
23×add-exp-log
19×pow-unpow
18×sqrt-prod
11×pow1
unpow-prod-down sqr-pow
prod-exp add-cbrt-cube
pow-exp associate-/r*
div-exp associate-/l*
pow-prod-down
pow-pow associate-*r* associate-*l* distribute-lft-out-- add-log-exp difference-of-squares
pow-to-exp div-sub div-inv pow-sub
cbrt-undiv frac-2neg clear-num *-commutative cbrt-unprod associate-/l/ unswap-sqr
Counts
3 → 112
Calls
3 calls:
6.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))
12.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
3.0ms
(* PI n)

series48.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ (pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0)) (sqrt k))
16.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))
2.0ms
(* PI n)

simplify47.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049752183
149752183

prune249.0ms

Filtered
82 candidates to 121 candidates (-47.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11110121
Fresh011
Picked101
Done000
Total11211123

Merged error: 0b

Counts
123 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
87×times-frac
59×*-un-lft-identity
54×add-exp-log
53×add-cube-cbrt
39×sqrt-prod
37×associate-*r*
26×sqr-pow
22×unpow-prod-down
21×prod-exp
19×pow-unpow
16×div-exp unswap-sqr
15×pow-exp
13×add-cbrt-cube
10×pow-to-exp associate-*l*
pow1
associate-/r*
associate-/l*
div-sub pow-sub add-log-exp
cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
cbrt-undiv pow-pow pow-prod-down *-commutative
frac-times frac-2neg associate-*r/ associate-*l/ clear-num associate-/l/
Counts
4 → 193
Calls
4 calls:
7.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
6.0ms
(/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k))
16.0ms
(* (pow 2.0 (/ (- 1.0 k) 2.0)) (/ (pow (* PI n) (/ (- 1.0 k) 2.0)) (sqrt k)))
3.0ms
(* PI n)

series139.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
056254475

prune435.0ms

Filtered
132 candidates to 205 candidates (-55.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2050205
Fresh01010
Picked011
Done000
Total20511216

Merged error: 0b

Counts
216 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
0.3b
(/ 1.0 (sqrt k))
0.3b
(* (* 2.0 PI) n)
0.3b
(* (/ 1.0 (sqrt k)) (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:
9.0ms
(pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0))
4.0ms
(/ 1.0 (sqrt k))
5.0ms
(* (* 2.0 PI) n)
12.0ms
(* (/ 1.0 (sqrt k)) (pow (* (* 2.0 PI) n) (/ (- 1.0 k) 2.0)))

series88.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049832442
149832442

prune274.0ms

Filtered
109 candidates to 161 candidates (-47.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1601161
Fresh279
Picked101
Done011
Total1639172

Merged error: 0b

Counts
172 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
530×times-frac
250×add-sqr-sqrt
248×*-un-lft-identity
242×add-cube-cbrt
164×unpow-prod-down
138×sqrt-prod
92×sqr-pow
54×add-exp-log
40×associate-/r*
31×div-exp
19×pow-unpow
15×pow-exp
13×add-cbrt-cube associate-/l*
11×div-sub div-inv pow-sub
10×pow-to-exp associate-/r/
pow1
prod-exp
cbrt-undiv add-log-exp
associate-*r* associate-*l* distribute-lft-out-- difference-of-squares
pow-pow frac-2neg pow-prod-down clear-num
*-commutative cbrt-unprod associate-/l/ unswap-sqr
Counts
4 → 425
Calls
4 calls:
5.0ms
(/ (sqrt k) (pow (* PI n) (/ (- 1.0 k) 2.0)))
9.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
3.0ms
(* PI n)
15.0ms
(/ (pow 2.0 (/ (- 1.0 k) 2.0)) (/ (sqrt k) (pow (* PI n) (/ (- 1.0 k) 2.0))))

series161.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (sqrt k) (pow (* PI n) (/ (- 1.0 k) 2.0)))
14.0ms
(pow (* PI n) (/ (- 1.0 k) 2.0))
2.0ms
(* PI n)
95.0ms
(/ (pow 2.0 (/ (- 1.0 k) 2.0)) (/ (sqrt k) (pow (* PI n) (/ (- 1.0 k) 2.0))))

simplify102.0ms

Algorithm
egg-herbie
Counts
437 → 437
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0509114428

prune1.1s

Filtered
268 candidates to 437 candidates (-63.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4370437
Fresh077
Picked011
Done011
Total4379446

Merged error: 0b

Counts
446 → 9

regimes140.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01722
11722

end0.0ms

sample5.8s

Algorithm
intervals
Results
2.2s27095×body80nan
925.0ms10650×body80valid
601.0ms982×body1280nan
371.0ms808×body640nan
343.0ms2472×body80overflowed
124.0ms410×body320nan
40.0ms226×body160nan

Profiling

Loading profile data...