Step |
Hyp |
Ref |
Expression |
1 |
|
stirlinglem3.1 |
|
2 |
|
stirlinglem3.2 |
|
3 |
|
stirlinglem3.3 |
|
4 |
|
stirlinglem3.4 |
|
5 |
|
nnnn0 |
|
6 |
|
faccl |
|
7 |
|
nncn |
|
8 |
5 6 7
|
3syl |
|
9 |
|
2cnd |
|
10 |
|
nncn |
|
11 |
9 10
|
mulcld |
|
12 |
11
|
sqrtcld |
|
13 |
|
ere |
|
14 |
13
|
recni |
|
15 |
14
|
a1i |
|
16 |
|
epos |
|
17 |
13 16
|
gt0ne0ii |
|
18 |
17
|
a1i |
|
19 |
10 15 18
|
divcld |
|
20 |
19 5
|
expcld |
|
21 |
12 20
|
mulcld |
|
22 |
|
2rp |
|
23 |
22
|
a1i |
|
24 |
|
nnrp |
|
25 |
23 24
|
rpmulcld |
|
26 |
25
|
sqrtgt0d |
|
27 |
26
|
gt0ne0d |
|
28 |
|
nnne0 |
|
29 |
10 15 28 18
|
divne0d |
|
30 |
|
nnz |
|
31 |
19 29 30
|
expne0d |
|
32 |
12 20 27 31
|
mulne0d |
|
33 |
8 21 32
|
divcld |
|
34 |
1
|
fvmpt2 |
|
35 |
33 34
|
mpdan |
|
36 |
35
|
oveq1d |
|
37 |
3
|
fvmpt2 |
|
38 |
21 37
|
mpdan |
|
39 |
38
|
oveq1d |
|
40 |
36 39
|
oveq12d |
|
41 |
|
4nn0 |
|
42 |
41
|
a1i |
|
43 |
8 21 32 42
|
expdivd |
|
44 |
43
|
oveq1d |
|
45 |
8 42
|
expcld |
|
46 |
21 42
|
expcld |
|
47 |
42
|
nn0zd |
|
48 |
21 32 47
|
expne0d |
|
49 |
45 46 48
|
divcan1d |
|
50 |
40 44 49
|
3eqtrd |
|
51 |
50
|
eqcomd |
|
52 |
51
|
oveq2d |
|
53 |
|
2nn0 |
|
54 |
53
|
a1i |
|
55 |
54 5
|
nn0mulcld |
|
56 |
|
faccl |
|
57 |
|
nncn |
|
58 |
55 56 57
|
3syl |
|
59 |
58
|
sqcld |
|
60 |
9 11
|
mulcld |
|
61 |
60
|
sqrtcld |
|
62 |
11 15 18
|
divcld |
|
63 |
62 55
|
expcld |
|
64 |
61 63
|
mulcld |
|
65 |
64
|
sqcld |
|
66 |
23 25
|
rpmulcld |
|
67 |
66
|
sqrtgt0d |
|
68 |
67
|
gt0ne0d |
|
69 |
23
|
rpne0d |
|
70 |
9 10 69 28
|
mulne0d |
|
71 |
11 15 70 18
|
divne0d |
|
72 |
|
2z |
|
73 |
72
|
a1i |
|
74 |
73 30
|
zmulcld |
|
75 |
62 71 74
|
expne0d |
|
76 |
61 63 68 75
|
mulne0d |
|
77 |
64 76 73
|
expne0d |
|
78 |
59 65 77
|
divcan1d |
|
79 |
58 64 76 54
|
expdivd |
|
80 |
79
|
eqcomd |
|
81 |
80
|
oveq1d |
|
82 |
78 81
|
eqtr3d |
|
83 |
|
fveq2 |
|
84 |
|
oveq2 |
|
85 |
84
|
fveq2d |
|
86 |
|
oveq1 |
|
87 |
|
id |
|
88 |
86 87
|
oveq12d |
|
89 |
85 88
|
oveq12d |
|
90 |
83 89
|
oveq12d |
|
91 |
90
|
cbvmptv |
|
92 |
1 91
|
eqtri |
|
93 |
|
fveq2 |
|
94 |
|
oveq2 |
|
95 |
94
|
fveq2d |
|
96 |
|
oveq1 |
|
97 |
|
id |
|
98 |
96 97
|
oveq12d |
|
99 |
95 98
|
oveq12d |
|
100 |
93 99
|
oveq12d |
|
101 |
|
2nn |
|
102 |
101
|
a1i |
|
103 |
|
id |
|
104 |
102 103
|
nnmulcld |
|
105 |
58 64 76
|
divcld |
|
106 |
92 100 104 105
|
fvmptd3 |
|
107 |
106
|
oveq1d |
|
108 |
107
|
eqcomd |
|
109 |
108
|
oveq1d |
|
110 |
|
eqidd |
|
111 |
99
|
adantl |
|
112 |
110 111 104 64
|
fvmptd |
|
113 |
112
|
oveq1d |
|
114 |
113
|
eqcomd |
|
115 |
114
|
oveq2d |
|
116 |
82 109 115
|
3eqtrd |
|
117 |
89
|
cbvmptv |
|
118 |
117
|
a1i |
|
119 |
118
|
fveq1d |
|
120 |
119
|
eqcomd |
|
121 |
120
|
oveq1d |
|
122 |
121
|
oveq2d |
|
123 |
106 105
|
eqeltrd |
|
124 |
2
|
fvmpt2 |
|
125 |
123 124
|
mpdan |
|
126 |
125
|
eqcomd |
|
127 |
126
|
oveq1d |
|
128 |
3
|
a1i |
|
129 |
128
|
fveq1d |
|
130 |
129
|
eqcomd |
|
131 |
130
|
oveq1d |
|
132 |
127 131
|
oveq12d |
|
133 |
116 122 132
|
3eqtrd |
|
134 |
52 133
|
oveq12d |
|
135 |
134
|
oveq1d |
|
136 |
135
|
mpteq2ia |
|
137 |
42 5
|
nn0mulcld |
|
138 |
9 137
|
expcld |
|
139 |
50 45
|
eqeltrd |
|
140 |
138 139
|
mulcomd |
|
141 |
140
|
oveq1d |
|
142 |
141
|
oveq1d |
|
143 |
125 123
|
eqeltrd |
|
144 |
143
|
sqcld |
|
145 |
128 118
|
eqtrd |
|
146 |
145 111 104 64
|
fvmptd |
|
147 |
146 64
|
eqeltrd |
|
148 |
147
|
sqcld |
|
149 |
|
nnne0 |
|
150 |
55 56 149
|
3syl |
|
151 |
58 64 150 76
|
divne0d |
|
152 |
106 151
|
eqnetrd |
|
153 |
125 152
|
eqnetrd |
|
154 |
143 153 73
|
expne0d |
|
155 |
146 76
|
eqnetrd |
|
156 |
147 155 73
|
expne0d |
|
157 |
139 144 138 148 154 156
|
divmuldivd |
|
158 |
157
|
eqcomd |
|
159 |
158
|
oveq1d |
|
160 |
35 33
|
eqeltrd |
|
161 |
160 42
|
expcld |
|
162 |
39 46
|
eqeltrd |
|
163 |
161 162 144 154
|
div23d |
|
164 |
163
|
oveq1d |
|
165 |
164
|
oveq1d |
|
166 |
161 144 154
|
divcld |
|
167 |
138 148 156
|
divcld |
|
168 |
166 162 167
|
mulassd |
|
169 |
168
|
oveq1d |
|
170 |
162 167
|
mulcld |
|
171 |
|
1cnd |
|
172 |
11 171
|
addcld |
|
173 |
|
0red |
|
174 |
104
|
nnred |
|
175 |
|
2re |
|
176 |
175
|
a1i |
|
177 |
|
nnre |
|
178 |
176 177
|
remulcld |
|
179 |
|
1red |
|
180 |
178 179
|
readdcld |
|
181 |
104
|
nngt0d |
|
182 |
174
|
ltp1d |
|
183 |
173 174 180 181 182
|
lttrd |
|
184 |
183
|
gt0ne0d |
|
185 |
166 170 172 184
|
divassd |
|
186 |
162 138 148 156
|
div12d |
|
187 |
12 20 42
|
mulexpd |
|
188 |
61 63
|
sqmuld |
|
189 |
187 188
|
oveq12d |
|
190 |
146
|
oveq1d |
|
191 |
39 190
|
oveq12d |
|
192 |
12 42
|
expcld |
|
193 |
61
|
sqcld |
|
194 |
20 42
|
expcld |
|
195 |
63
|
sqcld |
|
196 |
61 68 73
|
expne0d |
|
197 |
63 75 73
|
expne0d |
|
198 |
192 193 194 195 196 197
|
divmuldivd |
|
199 |
189 191 198
|
3eqtr4d |
|
200 |
199
|
oveq2d |
|
201 |
66
|
rprege0d |
|
202 |
|
resqrtth |
|
203 |
201 202
|
syl |
|
204 |
203
|
oveq2d |
|
205 |
|
2t2e4 |
|
206 |
205
|
eqcomi |
|
207 |
206
|
a1i |
|
208 |
207
|
oveq2d |
|
209 |
12 54 54
|
expmuld |
|
210 |
25
|
rprege0d |
|
211 |
|
resqrtth |
|
212 |
210 211
|
syl |
|
213 |
212
|
oveq1d |
|
214 |
208 209 213
|
3eqtrd |
|
215 |
9 9 10
|
mulassd |
|
216 |
205
|
a1i |
|
217 |
216
|
oveq1d |
|
218 |
215 217
|
eqtr3d |
|
219 |
214 218
|
oveq12d |
|
220 |
9 10
|
sqmuld |
|
221 |
|
sq2 |
|
222 |
221
|
a1i |
|
223 |
222
|
oveq1d |
|
224 |
220 223
|
eqtrd |
|
225 |
224
|
oveq1d |
|
226 |
|
4cn |
|
227 |
|
4ne0 |
|
228 |
226 227
|
dividi |
|
229 |
228
|
a1i |
|
230 |
10
|
sqvald |
|
231 |
230
|
oveq1d |
|
232 |
10 10 28
|
divcan4d |
|
233 |
231 232
|
eqtrd |
|
234 |
229 233
|
oveq12d |
|
235 |
42
|
nn0cnd |
|
236 |
10
|
sqcld |
|
237 |
227
|
a1i |
|
238 |
235 235 236 10 237 28
|
divmuldivd |
|
239 |
10
|
mulid2d |
|
240 |
234 238 239
|
3eqtr3d |
|
241 |
225 240
|
eqtrd |
|
242 |
204 219 241
|
3eqtrd |
|
243 |
10 235
|
mulcomd |
|
244 |
243
|
oveq2d |
|
245 |
19 42 5
|
expmuld |
|
246 |
10 15 18 137
|
expdivd |
|
247 |
244 245 246
|
3eqtr3d |
|
248 |
9 10 9
|
mul32d |
|
249 |
248 217
|
eqtrd |
|
250 |
249
|
oveq2d |
|
251 |
62 54 55
|
expmuld |
|
252 |
11 15 18 137
|
expdivd |
|
253 |
250 251 252
|
3eqtr3d |
|
254 |
247 253
|
oveq12d |
|
255 |
247 194
|
eqeltrrd |
|
256 |
11 137
|
expcld |
|
257 |
15 137
|
expcld |
|
258 |
47 30
|
zmulcld |
|
259 |
11 70 258
|
expne0d |
|
260 |
15 18 258
|
expne0d |
|
261 |
255 256 257 259 260
|
divdiv2d |
|
262 |
10 137
|
expcld |
|
263 |
262 257 260
|
divcan1d |
|
264 |
263
|
oveq1d |
|
265 |
9 10 137
|
mulexpd |
|
266 |
265
|
oveq2d |
|
267 |
138 262
|
mulcomd |
|
268 |
267
|
oveq2d |
|
269 |
10 28 258
|
expne0d |
|
270 |
9 69 258
|
expne0d |
|
271 |
262 262 138 269 270
|
divdiv1d |
|
272 |
262 269
|
dividd |
|
273 |
272
|
oveq1d |
|
274 |
268 271 273
|
3eqtr2d |
|
275 |
264 266 274
|
3eqtrd |
|
276 |
254 261 275
|
3eqtrd |
|
277 |
242 276
|
oveq12d |
|
278 |
277
|
oveq2d |
|
279 |
138 270
|
reccld |
|
280 |
138 10 279
|
mul12d |
|
281 |
10
|
mulid1d |
|
282 |
138 270
|
recidd |
|
283 |
282
|
oveq2d |
|
284 |
281 283 233
|
3eqtr4d |
|
285 |
278 280 284
|
3eqtrd |
|
286 |
186 200 285
|
3eqtrd |
|
287 |
286
|
oveq1d |
|
288 |
236 10 172 28 184
|
divdiv1d |
|
289 |
287 288
|
eqtrd |
|
290 |
289
|
oveq2d |
|
291 |
185 290
|
eqtrd |
|
292 |
165 169 291
|
3eqtrd |
|
293 |
142 159 292
|
3eqtrd |
|
294 |
293
|
mpteq2ia |
|
295 |
4 136 294
|
3eqtri |
|