Details

Time bar (total: 5.9s)

analyze417.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
12.5%37.5%50%5
15.6%31.2%53.2%6
17.2%26.5%56.3%7
18%22.6%59.4%8
18.3%19.9%61.8%9
18.5%17.8%63.7%10
18.6%16.3%65.1%11
18.7%15.2%66.1%12
18.7%14.4%66.9%13
18.7%13.8%67.4%14

sample78.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
16.0ms26×body1280nan
11.0ms24×body640nan
8.0ms56×body80overflowed
4.0ms12×body320nan
2.0ms33×body80nan
1.0msbody160nan
1.0ms11×body80invalid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
0498716
1498716

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

Counts
2 → 2

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

rewrite23.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))
3.0ms
(* PI n)
10.0ms
(pow (* 2.0 (* PI n)) (/ (- 1.0 k) 2.0))

series52.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050082183

prune235.0ms

Filtered
80 candidates to 121 candidates (-51.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1129121
Fresh011
Picked101
Done000
Total11310123

Merged error: 0.0b

Counts
123 → 10

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

series85.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049532442
149532442

prune291.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1592161
Fresh279
Picked101
Done000
Total1629171

Merged error: 0b

Counts
171 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series140.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
056524475

prune417.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2041205
Fresh178
Picked101
Done000
Total2068214

Merged error: 0b

Counts
214 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
358×times-frac
156×add-sqr-sqrt
152×add-cube-cbrt *-un-lft-identity
111×add-exp-log
90×sqrt-prod
71×unpow-prod-down sqr-pow
51×div-exp
35×prod-exp
33×pow-exp
29×associate-/l*
14×pow1
13×pow-unpow add-cbrt-cube
11×pow-to-exp
div-inv
associate-*r* associate-*l* associate-/r*
pow-prod-down
add-log-exp
cbrt-undiv pow-pow
*-commutative cbrt-unprod unswap-sqr
frac-2neg clear-num associate-/l/
Counts
4 → 313
Calls
4 calls:
6.0ms
(pow (* 2.0 (* PI n)) (/ 1.0 2.0))
14.0ms
(/ (/ (pow (* 2.0 (* PI n)) (/ 1.0 2.0)) (pow (* 2.0 (* PI n)) (/ k 2.0))) (sqrt k))
3.0ms
(* PI n)
3.0ms
(* PI n)

series158.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (* 2.0 (* PI n)) (/ 1.0 2.0))
129.0ms
(/ (/ (pow (* 2.0 (* PI n)) (/ 1.0 2.0)) (pow (* 2.0 (* PI n)) (/ k 2.0))) (sqrt k))
2.0ms
(* PI n)
2.0ms
(* PI n)

simplify110.0ms

Algorithm
egg-herbie
Counts
325 → 325
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0498810397
1498810397

prune815.0ms

Filtered
206 candidates to 325 candidates (-57.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3250325
Fresh077
Picked011
Done000
Total3258333

Merged error: 0b

Counts
333 → 8

regimes131.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01824
11824

end0.0ms

sample2.6s

Algorithm
intervals
Results
728.0ms8000×body80valid
612.0ms977×body1280nan
366.0ms781×body640nan
339.0ms2297×body80overflowed
119.0ms374×body320nan
51.0ms781×body80nan
41.0ms217×body160nan
30.0ms237×body80invalid

Profiling

Loading profile data...