Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  stirlinglem2 Structured version   Visualization version   GIF version

Theorem stirlinglem2 44876
Description: ๐ด maps to positive reals. (Contributed by Glauco Siliprandi, 29-Jun-2017.)
Hypothesis
Ref Expression
stirlinglem2.1 ๐ด = (๐‘› โˆˆ โ„• โ†ฆ ((!โ€˜๐‘›) / ((โˆšโ€˜(2 ยท ๐‘›)) ยท ((๐‘› / e)โ†‘๐‘›))))
Assertion
Ref Expression
stirlinglem2 (๐‘ โˆˆ โ„• โ†’ (๐ดโ€˜๐‘) โˆˆ โ„+)

Proof of Theorem stirlinglem2
Dummy variable ๐‘˜ is distinct from all other variables.
StepHypRef Expression
1 nnnn0 12481 . . . . 5 (๐‘ โˆˆ โ„• โ†’ ๐‘ โˆˆ โ„•0)
2 faccl 14245 . . . . 5 (๐‘ โˆˆ โ„•0 โ†’ (!โ€˜๐‘) โˆˆ โ„•)
3 nnrp 12987 . . . . 5 ((!โ€˜๐‘) โˆˆ โ„• โ†’ (!โ€˜๐‘) โˆˆ โ„+)
41, 2, 33syl 18 . . . 4 (๐‘ โˆˆ โ„• โ†’ (!โ€˜๐‘) โˆˆ โ„+)
5 2rp 12981 . . . . . . . 8 2 โˆˆ โ„+
65a1i 11 . . . . . . 7 (๐‘ โˆˆ โ„• โ†’ 2 โˆˆ โ„+)
7 nnrp 12987 . . . . . . 7 (๐‘ โˆˆ โ„• โ†’ ๐‘ โˆˆ โ„+)
86, 7rpmulcld 13034 . . . . . 6 (๐‘ โˆˆ โ„• โ†’ (2 ยท ๐‘) โˆˆ โ„+)
98rpsqrtcld 15360 . . . . 5 (๐‘ โˆˆ โ„• โ†’ (โˆšโ€˜(2 ยท ๐‘)) โˆˆ โ„+)
10 epr 16153 . . . . . . . 8 e โˆˆ โ„+
1110a1i 11 . . . . . . 7 (๐‘ โˆˆ โ„• โ†’ e โˆˆ โ„+)
127, 11rpdivcld 13035 . . . . . 6 (๐‘ โˆˆ โ„• โ†’ (๐‘ / e) โˆˆ โ„+)
13 nnz 12581 . . . . . 6 (๐‘ โˆˆ โ„• โ†’ ๐‘ โˆˆ โ„ค)
1412, 13rpexpcld 14212 . . . . 5 (๐‘ โˆˆ โ„• โ†’ ((๐‘ / e)โ†‘๐‘) โˆˆ โ„+)
159, 14rpmulcld 13034 . . . 4 (๐‘ โˆˆ โ„• โ†’ ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘)) โˆˆ โ„+)
164, 15rpdivcld 13035 . . 3 (๐‘ โˆˆ โ„• โ†’ ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+)
17 stirlinglem2.1 . . . . . 6 ๐ด = (๐‘› โˆˆ โ„• โ†ฆ ((!โ€˜๐‘›) / ((โˆšโ€˜(2 ยท ๐‘›)) ยท ((๐‘› / e)โ†‘๐‘›))))
18 fveq2 6891 . . . . . . . 8 (๐‘› = ๐‘˜ โ†’ (!โ€˜๐‘›) = (!โ€˜๐‘˜))
19 oveq2 7419 . . . . . . . . . 10 (๐‘› = ๐‘˜ โ†’ (2 ยท ๐‘›) = (2 ยท ๐‘˜))
2019fveq2d 6895 . . . . . . . . 9 (๐‘› = ๐‘˜ โ†’ (โˆšโ€˜(2 ยท ๐‘›)) = (โˆšโ€˜(2 ยท ๐‘˜)))
21 oveq1 7418 . . . . . . . . . 10 (๐‘› = ๐‘˜ โ†’ (๐‘› / e) = (๐‘˜ / e))
22 id 22 . . . . . . . . . 10 (๐‘› = ๐‘˜ โ†’ ๐‘› = ๐‘˜)
2321, 22oveq12d 7429 . . . . . . . . 9 (๐‘› = ๐‘˜ โ†’ ((๐‘› / e)โ†‘๐‘›) = ((๐‘˜ / e)โ†‘๐‘˜))
2420, 23oveq12d 7429 . . . . . . . 8 (๐‘› = ๐‘˜ โ†’ ((โˆšโ€˜(2 ยท ๐‘›)) ยท ((๐‘› / e)โ†‘๐‘›)) = ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜)))
2518, 24oveq12d 7429 . . . . . . 7 (๐‘› = ๐‘˜ โ†’ ((!โ€˜๐‘›) / ((โˆšโ€˜(2 ยท ๐‘›)) ยท ((๐‘› / e)โ†‘๐‘›))) = ((!โ€˜๐‘˜) / ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜))))
2625cbvmptv 5261 . . . . . 6 (๐‘› โˆˆ โ„• โ†ฆ ((!โ€˜๐‘›) / ((โˆšโ€˜(2 ยท ๐‘›)) ยท ((๐‘› / e)โ†‘๐‘›)))) = (๐‘˜ โˆˆ โ„• โ†ฆ ((!โ€˜๐‘˜) / ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜))))
2717, 26eqtri 2760 . . . . 5 ๐ด = (๐‘˜ โˆˆ โ„• โ†ฆ ((!โ€˜๐‘˜) / ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜))))
2827a1i 11 . . . 4 ((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โ†’ ๐ด = (๐‘˜ โˆˆ โ„• โ†ฆ ((!โ€˜๐‘˜) / ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜)))))
29 simpr 485 . . . . . 6 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ ๐‘˜ = ๐‘)
3029fveq2d 6895 . . . . 5 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ (!โ€˜๐‘˜) = (!โ€˜๐‘))
3129oveq2d 7427 . . . . . . 7 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ (2 ยท ๐‘˜) = (2 ยท ๐‘))
3231fveq2d 6895 . . . . . 6 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ (โˆšโ€˜(2 ยท ๐‘˜)) = (โˆšโ€˜(2 ยท ๐‘)))
3329oveq1d 7426 . . . . . . 7 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ (๐‘˜ / e) = (๐‘ / e))
3433, 29oveq12d 7429 . . . . . 6 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ ((๐‘˜ / e)โ†‘๐‘˜) = ((๐‘ / e)โ†‘๐‘))
3532, 34oveq12d 7429 . . . . 5 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜)) = ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘)))
3630, 35oveq12d 7429 . . . 4 (((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โˆง ๐‘˜ = ๐‘) โ†’ ((!โ€˜๐‘˜) / ((โˆšโ€˜(2 ยท ๐‘˜)) ยท ((๐‘˜ / e)โ†‘๐‘˜))) = ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))))
37 simpl 483 . . . 4 ((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โ†’ ๐‘ โˆˆ โ„•)
38 simpr 485 . . . 4 ((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โ†’ ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+)
3928, 36, 37, 38fvmptd 7005 . . 3 ((๐‘ โˆˆ โ„• โˆง ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))) โˆˆ โ„+) โ†’ (๐ดโ€˜๐‘) = ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))))
4016, 39mpdan 685 . 2 (๐‘ โˆˆ โ„• โ†’ (๐ดโ€˜๐‘) = ((!โ€˜๐‘) / ((โˆšโ€˜(2 ยท ๐‘)) ยท ((๐‘ / e)โ†‘๐‘))))
4140, 16eqeltrd 2833 1 (๐‘ โˆˆ โ„• โ†’ (๐ดโ€˜๐‘) โˆˆ โ„+)
Colors of variables: wff setvar class
Syntax hints:   โ†’ wi 4   โˆง wa 396   = wceq 1541   โˆˆ wcel 2106   โ†ฆ cmpt 5231  โ€˜cfv 6543  (class class class)co 7411   ยท cmul 11117   / cdiv 11873  โ„•cn 12214  2c2 12269  โ„•0cn0 12474  โ„+crp 12976  โ†‘cexp 14029  !cfa 14235  โˆšcsqrt 15182  eceu 16008
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7727  ax-inf2 9638  ax-cnex 11168  ax-resscn 11169  ax-1cn 11170  ax-icn 11171  ax-addcl 11172  ax-addrcl 11173  ax-mulcl 11174  ax-mulrcl 11175  ax-mulcom 11176  ax-addass 11177  ax-mulass 11178  ax-distr 11179  ax-i2m1 11180  ax-1ne0 11181  ax-1rid 11182  ax-rnegex 11183  ax-rrecex 11184  ax-cnre 11185  ax-pre-lttri 11186  ax-pre-lttrn 11187  ax-pre-ltadd 11188  ax-pre-mulgt0 11189  ax-pre-sup 11190
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3376  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-int 4951  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-se 5632  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-isom 6552  df-riota 7367  df-ov 7414  df-oprab 7415  df-mpo 7416  df-om 7858  df-1st 7977  df-2nd 7978  df-frecs 8268  df-wrecs 8299  df-recs 8373  df-rdg 8412  df-1o 8468  df-er 8705  df-pm 8825  df-en 8942  df-dom 8943  df-sdom 8944  df-fin 8945  df-sup 9439  df-inf 9440  df-oi 9507  df-card 9936  df-pnf 11252  df-mnf 11253  df-xr 11254  df-ltxr 11255  df-le 11256  df-sub 11448  df-neg 11449  df-div 11874  df-nn 12215  df-2 12277  df-3 12278  df-4 12279  df-n0 12475  df-z 12561  df-uz 12825  df-q 12935  df-rp 12977  df-ico 13332  df-fz 13487  df-fzo 13630  df-fl 13759  df-seq 13969  df-exp 14030  df-fac 14236  df-bc 14265  df-hash 14293  df-shft 15016  df-cj 15048  df-re 15049  df-im 15050  df-sqrt 15184  df-abs 15185  df-limsup 15417  df-clim 15434  df-rlim 15435  df-sum 15635  df-ef 16013  df-e 16014
This theorem is referenced by:  stirlinglem4  44878  stirlinglem11  44885  stirlinglem12  44886  stirlinglem13  44887  stirlinglem14  44888
  Copyright terms: Public domain W3C validator