Step |
Hyp |
Ref |
Expression |
1 |
|
stirlinglem4.1 |
|
2 |
|
stirlinglem4.2 |
|
3 |
|
stirlinglem4.3 |
|
4 |
|
nnre |
|
5 |
|
nnnn0 |
|
6 |
5
|
nn0ge0d |
|
7 |
4 6
|
ge0p1rpd |
|
8 |
|
nnrp |
|
9 |
7 8
|
rpdivcld |
|
10 |
9
|
rpsqrtcld |
|
11 |
|
nnz |
|
12 |
9 11
|
rpexpcld |
|
13 |
10 12
|
rpmulcld |
|
14 |
|
epr |
|
15 |
14
|
a1i |
|
16 |
13 15
|
relogdivd |
|
17 |
10 12
|
relogmuld |
|
18 |
|
logsqrt |
|
19 |
9 18
|
syl |
|
20 |
|
relogexp |
|
21 |
9 11 20
|
syl2anc |
|
22 |
19 21
|
oveq12d |
|
23 |
17 22
|
eqtrd |
|
24 |
|
peano2nn |
|
25 |
24
|
nncnd |
|
26 |
|
nncn |
|
27 |
|
nnne0 |
|
28 |
25 26 27
|
divcld |
|
29 |
24
|
nnne0d |
|
30 |
25 26 29 27
|
divne0d |
|
31 |
28 30
|
logcld |
|
32 |
|
2cnd |
|
33 |
|
2rp |
|
34 |
33
|
a1i |
|
35 |
34
|
rpne0d |
|
36 |
31 32 35
|
divrec2d |
|
37 |
36
|
oveq1d |
|
38 |
|
1cnd |
|
39 |
38
|
halfcld |
|
40 |
39 26 31
|
adddird |
|
41 |
26 32 35
|
divcan4d |
|
42 |
26 32
|
mulcomd |
|
43 |
42
|
oveq1d |
|
44 |
41 43
|
eqtr3d |
|
45 |
44
|
oveq2d |
|
46 |
32 26
|
mulcld |
|
47 |
38 46 32 35
|
divdird |
|
48 |
45 47
|
eqtr4d |
|
49 |
48
|
oveq1d |
|
50 |
40 49
|
eqtr3d |
|
51 |
23 37 50
|
3eqtrd |
|
52 |
|
loge |
|
53 |
52
|
a1i |
|
54 |
51 53
|
oveq12d |
|
55 |
16 54
|
eqtrd |
|
56 |
1
|
stirlinglem2 |
|
57 |
56
|
relogcld |
|
58 |
|
nfcv |
|
59 |
|
nfcv |
|
60 |
|
nfmpt1 |
|
61 |
1 60
|
nfcxfr |
|
62 |
61 58
|
nffv |
|
63 |
59 62
|
nffv |
|
64 |
|
2fveq3 |
|
65 |
58 63 64 2
|
fvmptf |
|
66 |
57 65
|
mpdan |
|
67 |
|
nfcv |
|
68 |
|
nfcv |
|
69 |
61 68
|
nffv |
|
70 |
59 69
|
nffv |
|
71 |
|
2fveq3 |
|
72 |
67 70 71
|
cbvmpt |
|
73 |
2 72
|
eqtri |
|
74 |
73
|
a1i |
|
75 |
|
simpr |
|
76 |
75
|
fveq2d |
|
77 |
76
|
fveq2d |
|
78 |
1
|
stirlinglem2 |
|
79 |
24 78
|
syl |
|
80 |
79
|
relogcld |
|
81 |
74 77 24 80
|
fvmptd |
|
82 |
66 81
|
oveq12d |
|
83 |
56 79
|
relogdivd |
|
84 |
|
faccl |
|
85 |
|
nnrp |
|
86 |
5 84 85
|
3syl |
|
87 |
34 8
|
rpmulcld |
|
88 |
87
|
rpsqrtcld |
|
89 |
8 15
|
rpdivcld |
|
90 |
89 11
|
rpexpcld |
|
91 |
88 90
|
rpmulcld |
|
92 |
86 91
|
rpdivcld |
|
93 |
1
|
a1i |
|
94 |
|
simpr |
|
95 |
94
|
fveq2d |
|
96 |
94
|
oveq2d |
|
97 |
96
|
fveq2d |
|
98 |
94
|
oveq1d |
|
99 |
98 94
|
oveq12d |
|
100 |
97 99
|
oveq12d |
|
101 |
95 100
|
oveq12d |
|
102 |
|
simpl |
|
103 |
86
|
rpcnd |
|
104 |
103
|
adantr |
|
105 |
|
2cnd |
|
106 |
102
|
nncnd |
|
107 |
105 106
|
mulcld |
|
108 |
107
|
sqrtcld |
|
109 |
|
ere |
|
110 |
109
|
recni |
|
111 |
110
|
a1i |
|
112 |
|
0re |
|
113 |
|
epos |
|
114 |
112 113
|
gtneii |
|
115 |
114
|
a1i |
|
116 |
106 111 115
|
divcld |
|
117 |
102
|
nnnn0d |
|
118 |
116 117
|
expcld |
|
119 |
108 118
|
mulcld |
|
120 |
88
|
rpne0d |
|
121 |
120
|
adantr |
|
122 |
102
|
nnne0d |
|
123 |
106 111 122 115
|
divne0d |
|
124 |
102
|
nnzd |
|
125 |
116 123 124
|
expne0d |
|
126 |
108 118 121 125
|
mulne0d |
|
127 |
104 119 126
|
divcld |
|
128 |
93 101 102 127
|
fvmptd |
|
129 |
92 128
|
mpdan |
|
130 |
|
nfcv |
|
131 |
|
nfcv |
|
132 |
|
fveq2 |
|
133 |
|
oveq2 |
|
134 |
133
|
fveq2d |
|
135 |
|
oveq1 |
|
136 |
|
id |
|
137 |
135 136
|
oveq12d |
|
138 |
134 137
|
oveq12d |
|
139 |
132 138
|
oveq12d |
|
140 |
130 131 139
|
cbvmpt |
|
141 |
1 140
|
eqtri |
|
142 |
141
|
a1i |
|
143 |
75
|
fveq2d |
|
144 |
75
|
oveq2d |
|
145 |
144
|
fveq2d |
|
146 |
75
|
oveq1d |
|
147 |
146 75
|
oveq12d |
|
148 |
145 147
|
oveq12d |
|
149 |
143 148
|
oveq12d |
|
150 |
24
|
nnnn0d |
|
151 |
|
faccl |
|
152 |
|
nnrp |
|
153 |
150 151 152
|
3syl |
|
154 |
34 7
|
rpmulcld |
|
155 |
154
|
rpsqrtcld |
|
156 |
7 15
|
rpdivcld |
|
157 |
11
|
peano2zd |
|
158 |
156 157
|
rpexpcld |
|
159 |
155 158
|
rpmulcld |
|
160 |
153 159
|
rpdivcld |
|
161 |
142 149 24 160
|
fvmptd |
|
162 |
129 161
|
oveq12d |
|
163 |
|
facp1 |
|
164 |
5 163
|
syl |
|
165 |
164
|
oveq1d |
|
166 |
159
|
rpcnd |
|
167 |
159
|
rpne0d |
|
168 |
103 25 166 167
|
divassd |
|
169 |
165 168
|
eqtrd |
|
170 |
169
|
oveq2d |
|
171 |
91
|
rpcnd |
|
172 |
25 166 167
|
divcld |
|
173 |
103 172
|
mulcld |
|
174 |
91
|
rpne0d |
|
175 |
86
|
rpne0d |
|
176 |
25 166 29 167
|
divne0d |
|
177 |
103 172 175 176
|
mulne0d |
|
178 |
103 171 173 174 177
|
divdiv32d |
|
179 |
103 103 172 175 176
|
divdiv1d |
|
180 |
179
|
eqcomd |
|
181 |
180
|
oveq1d |
|
182 |
103 175
|
dividd |
|
183 |
182
|
oveq1d |
|
184 |
183
|
oveq1d |
|
185 |
25 166 29 167
|
recdivd |
|
186 |
185
|
oveq1d |
|
187 |
166 25 29
|
divcld |
|
188 |
88
|
rpcnd |
|
189 |
90
|
rpcnd |
|
190 |
90
|
rpne0d |
|
191 |
187 188 189 120 190
|
divdiv1d |
|
192 |
166 25 188 29 120
|
divdiv32d |
|
193 |
155
|
rpcnd |
|
194 |
158
|
rpcnd |
|
195 |
193 194 188 120
|
div23d |
|
196 |
34
|
rpred |
|
197 |
34
|
rpge0d |
|
198 |
24
|
nnred |
|
199 |
150
|
nn0ge0d |
|
200 |
196 197 198 199
|
sqrtmuld |
|
201 |
196 197 4 6
|
sqrtmuld |
|
202 |
200 201
|
oveq12d |
|
203 |
32
|
sqrtcld |
|
204 |
25
|
sqrtcld |
|
205 |
26
|
sqrtcld |
|
206 |
34
|
rpsqrtcld |
|
207 |
206
|
rpne0d |
|
208 |
8
|
rpsqrtcld |
|
209 |
208
|
rpne0d |
|
210 |
203 203 204 205 207 209
|
divmuldivd |
|
211 |
203 207
|
dividd |
|
212 |
198 199 8
|
sqrtdivd |
|
213 |
212
|
eqcomd |
|
214 |
211 213
|
oveq12d |
|
215 |
202 210 214
|
3eqtr2d |
|
216 |
215
|
oveq1d |
|
217 |
28
|
sqrtcld |
|
218 |
217
|
mulid2d |
|
219 |
218
|
oveq1d |
|
220 |
195 216 219
|
3eqtrd |
|
221 |
220
|
oveq1d |
|
222 |
192 221
|
eqtrd |
|
223 |
222
|
oveq1d |
|
224 |
191 223
|
eqtr3d |
|
225 |
217 194
|
mulcld |
|
226 |
225 25 189 29 190
|
divdiv32d |
|
227 |
217 194 189 190
|
divassd |
|
228 |
15
|
rpcnd |
|
229 |
15
|
rpne0d |
|
230 |
25 228 229 150
|
expdivd |
|
231 |
26 228 229 5
|
expdivd |
|
232 |
230 231
|
oveq12d |
|
233 |
232
|
oveq2d |
|
234 |
25 150
|
expcld |
|
235 |
228 150
|
expcld |
|
236 |
26 5
|
expcld |
|
237 |
228 5
|
expcld |
|
238 |
228 229 157
|
expne0d |
|
239 |
228 229 11
|
expne0d |
|
240 |
26 27 11
|
expne0d |
|
241 |
234 235 236 237 238 239 240
|
divdivdivd |
|
242 |
234 237
|
mulcomd |
|
243 |
242
|
oveq1d |
|
244 |
237 235 234 236 238 240
|
divmuldivd |
|
245 |
228 5
|
expp1d |
|
246 |
245
|
oveq2d |
|
247 |
237 237 228 239 229
|
divdiv1d |
|
248 |
237 239
|
dividd |
|
249 |
248
|
oveq1d |
|
250 |
246 247 249
|
3eqtr2d |
|
251 |
250
|
oveq1d |
|
252 |
244 251
|
eqtr3d |
|
253 |
241 243 252
|
3eqtrd |
|
254 |
253
|
oveq2d |
|
255 |
227 233 254
|
3eqtrd |
|
256 |
255
|
oveq1d |
|
257 |
234 236 240
|
divcld |
|
258 |
38 228 257 229
|
div32d |
|
259 |
257 228 229
|
divcld |
|
260 |
259
|
mulid2d |
|
261 |
258 260
|
eqtrd |
|
262 |
261
|
oveq2d |
|
263 |
228 229
|
reccld |
|
264 |
263 257
|
mulcld |
|
265 |
217 264 25 29
|
div23d |
|
266 |
217 25 29
|
divcld |
|
267 |
266 257 228 229
|
divassd |
|
268 |
262 265 267
|
3eqtr4d |
|
269 |
226 256 268
|
3eqtrd |
|
270 |
186 224 269
|
3eqtrd |
|
271 |
181 184 270
|
3eqtrd |
|
272 |
170 178 271
|
3eqtrd |
|
273 |
217 25 257 29
|
div32d |
|
274 |
25 5
|
expp1d |
|
275 |
274
|
oveq1d |
|
276 |
25 5
|
expcld |
|
277 |
276 25 29
|
divcan4d |
|
278 |
275 277
|
eqtrd |
|
279 |
278
|
oveq1d |
|
280 |
234 236 25 240 29
|
divdiv32d |
|
281 |
25 26 27 5
|
expdivd |
|
282 |
279 280 281
|
3eqtr4d |
|
283 |
282
|
oveq2d |
|
284 |
273 283
|
eqtrd |
|
285 |
284
|
oveq1d |
|
286 |
162 272 285
|
3eqtrd |
|
287 |
286
|
fveq2d |
|
288 |
82 83 287
|
3eqtr2d |
|
289 |
38 46
|
addcld |
|
290 |
289
|
halfcld |
|
291 |
290 31
|
mulcld |
|
292 |
291 38
|
subcld |
|
293 |
3
|
a1i |
|
294 |
|
simpr |
|
295 |
294
|
oveq2d |
|
296 |
295
|
oveq2d |
|
297 |
296
|
oveq1d |
|
298 |
294
|
oveq1d |
|
299 |
298 294
|
oveq12d |
|
300 |
299
|
fveq2d |
|
301 |
297 300
|
oveq12d |
|
302 |
301
|
oveq1d |
|
303 |
|
simpl |
|
304 |
|
simpr |
|
305 |
293 302 303 304
|
fvmptd |
|
306 |
292 305
|
mpdan |
|
307 |
55 288 306
|
3eqtr4d |
|