MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  emcllem5 Structured version   Unicode version

Theorem emcllem5 22278
Description: Lemma for emcl 22281. The partial sums of the series  T, which is used in the definition df-em 22271, is in fact the same as  G. (Contributed by Mario Carneiro, 11-Jul-2014.)
Hypotheses
Ref Expression
emcl.1  |-  F  =  ( n  e.  NN  |->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m
)  -  ( log `  n ) ) )
emcl.2  |-  G  =  ( n  e.  NN  |->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m
)  -  ( log `  ( n  +  1 ) ) ) )
emcl.3  |-  H  =  ( n  e.  NN  |->  ( log `  ( 1  +  ( 1  /  n ) ) ) )
emcl.4  |-  T  =  ( n  e.  NN  |->  ( ( 1  /  n )  -  ( log `  ( 1  +  ( 1  /  n
) ) ) ) )
Assertion
Ref Expression
emcllem5  |-  G  =  seq 1 (  +  ,  T )
Distinct variable groups:    m, H    m, n, T
Allowed substitution hints:    F( m, n)    G( m, n)    H( n)

Proof of Theorem emcllem5
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 elfznn 11465 . . . . . . . . . . . . 13  |-  ( m  e.  ( 1 ... n )  ->  m  e.  NN )
21adantl 463 . . . . . . . . . . . 12  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  m  e.  NN )
32nncnd 10326 . . . . . . . . . . 11  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  m  e.  CC )
4 1cnd 9390 . . . . . . . . . . 11  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  1  e.  CC )
52nnne0d 10354 . . . . . . . . . . 11  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  m  =/=  0
)
63, 4, 3, 5divdird 10133 . . . . . . . . . 10  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( ( m  +  1 )  /  m )  =  ( ( m  /  m
)  +  ( 1  /  m ) ) )
73, 5dividd 10093 . . . . . . . . . . 11  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( m  /  m )  =  1 )
87oveq1d 6095 . . . . . . . . . 10  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( ( m  /  m )  +  ( 1  /  m
) )  =  ( 1  +  ( 1  /  m ) ) )
96, 8eqtrd 2465 . . . . . . . . 9  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( ( m  +  1 )  /  m )  =  ( 1  +  ( 1  /  m ) ) )
109fveq2d 5683 . . . . . . . 8  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( log `  (
( m  +  1 )  /  m ) )  =  ( log `  ( 1  +  ( 1  /  m ) ) ) )
11 peano2nn 10322 . . . . . . . . . . 11  |-  ( m  e.  NN  ->  (
m  +  1 )  e.  NN )
122, 11syl 16 . . . . . . . . . 10  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( m  + 
1 )  e.  NN )
1312nnrpd 11014 . . . . . . . . 9  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( m  + 
1 )  e.  RR+ )
142nnrpd 11014 . . . . . . . . 9  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  m  e.  RR+ )
1513, 14relogdivd 21960 . . . . . . . 8  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( log `  (
( m  +  1 )  /  m ) )  =  ( ( log `  ( m  +  1 ) )  -  ( log `  m
) ) )
1610, 15eqtr3d 2467 . . . . . . 7  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( log `  (
1  +  ( 1  /  m ) ) )  =  ( ( log `  ( m  +  1 ) )  -  ( log `  m
) ) )
1716sumeq2dv 13164 . . . . . 6  |-  ( n  e.  NN  ->  sum_ m  e.  ( 1 ... n
) ( log `  (
1  +  ( 1  /  m ) ) )  =  sum_ m  e.  ( 1 ... n
) ( ( log `  ( m  +  1 ) )  -  ( log `  m ) ) )
18 fveq2 5679 . . . . . . 7  |-  ( x  =  m  ->  ( log `  x )  =  ( log `  m
) )
19 fveq2 5679 . . . . . . 7  |-  ( x  =  ( m  + 
1 )  ->  ( log `  x )  =  ( log `  (
m  +  1 ) ) )
20 fveq2 5679 . . . . . . 7  |-  ( x  =  1  ->  ( log `  x )  =  ( log `  1
) )
21 fveq2 5679 . . . . . . 7  |-  ( x  =  ( n  + 
1 )  ->  ( log `  x )  =  ( log `  (
n  +  1 ) ) )
22 nnz 10656 . . . . . . 7  |-  ( n  e.  NN  ->  n  e.  ZZ )
23 peano2nn 10322 . . . . . . . 8  |-  ( n  e.  NN  ->  (
n  +  1 )  e.  NN )
24 nnuz 10884 . . . . . . . 8  |-  NN  =  ( ZZ>= `  1 )
2523, 24syl6eleq 2523 . . . . . . 7  |-  ( n  e.  NN  ->  (
n  +  1 )  e.  ( ZZ>= `  1
) )
26 elfznn 11465 . . . . . . . . . . 11  |-  ( x  e.  ( 1 ... ( n  +  1 ) )  ->  x  e.  NN )
2726adantl 463 . . . . . . . . . 10  |-  ( ( n  e.  NN  /\  x  e.  ( 1 ... ( n  + 
1 ) ) )  ->  x  e.  NN )
2827nnrpd 11014 . . . . . . . . 9  |-  ( ( n  e.  NN  /\  x  e.  ( 1 ... ( n  + 
1 ) ) )  ->  x  e.  RR+ )
2928relogcld 21957 . . . . . . . 8  |-  ( ( n  e.  NN  /\  x  e.  ( 1 ... ( n  + 
1 ) ) )  ->  ( log `  x
)  e.  RR )
3029recnd 9400 . . . . . . 7  |-  ( ( n  e.  NN  /\  x  e.  ( 1 ... ( n  + 
1 ) ) )  ->  ( log `  x
)  e.  CC )
3118, 19, 20, 21, 22, 25, 30fsumtscop2 13251 . . . . . 6  |-  ( n  e.  NN  ->  sum_ m  e.  ( 1 ... n
) ( ( log `  ( m  +  1 ) )  -  ( log `  m ) )  =  ( ( log `  ( n  +  1 ) )  -  ( log `  1 ) ) )
32 log1 21919 . . . . . . . 8  |-  ( log `  1 )  =  0
3332oveq2i 6091 . . . . . . 7  |-  ( ( log `  ( n  +  1 ) )  -  ( log `  1
) )  =  ( ( log `  (
n  +  1 ) )  -  0 )
3423nnrpd 11014 . . . . . . . . . 10  |-  ( n  e.  NN  ->  (
n  +  1 )  e.  RR+ )
3534relogcld 21957 . . . . . . . . 9  |-  ( n  e.  NN  ->  ( log `  ( n  + 
1 ) )  e.  RR )
3635recnd 9400 . . . . . . . 8  |-  ( n  e.  NN  ->  ( log `  ( n  + 
1 ) )  e.  CC )
3736subid1d 9696 . . . . . . 7  |-  ( n  e.  NN  ->  (
( log `  (
n  +  1 ) )  -  0 )  =  ( log `  (
n  +  1 ) ) )
3833, 37syl5eq 2477 . . . . . 6  |-  ( n  e.  NN  ->  (
( log `  (
n  +  1 ) )  -  ( log `  1 ) )  =  ( log `  (
n  +  1 ) ) )
3917, 31, 383eqtrd 2469 . . . . 5  |-  ( n  e.  NN  ->  sum_ m  e.  ( 1 ... n
) ( log `  (
1  +  ( 1  /  m ) ) )  =  ( log `  ( n  +  1 ) ) )
4039oveq2d 6096 . . . 4  |-  ( n  e.  NN  ->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m )  -  sum_ m  e.  ( 1 ... n ) ( log `  (
1  +  ( 1  /  m ) ) ) )  =  (
sum_ m  e.  (
1 ... n ) ( 1  /  m )  -  ( log `  (
n  +  1 ) ) ) )
41 fzfid 11779 . . . . . 6  |-  ( n  e.  NN  ->  (
1 ... n )  e. 
Fin )
422nnrecred 10355 . . . . . . 7  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( 1  /  m )  e.  RR )
4342recnd 9400 . . . . . 6  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( 1  /  m )  e.  CC )
44 1rp 10983 . . . . . . . . 9  |-  1  e.  RR+
4514rpreccld 11025 . . . . . . . . 9  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( 1  /  m )  e.  RR+ )
46 rpaddcl 10999 . . . . . . . . 9  |-  ( ( 1  e.  RR+  /\  (
1  /  m )  e.  RR+ )  ->  (
1  +  ( 1  /  m ) )  e.  RR+ )
4744, 45, 46sylancr 656 . . . . . . . 8  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( 1  +  ( 1  /  m
) )  e.  RR+ )
4847relogcld 21957 . . . . . . 7  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( log `  (
1  +  ( 1  /  m ) ) )  e.  RR )
4948recnd 9400 . . . . . 6  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( log `  (
1  +  ( 1  /  m ) ) )  e.  CC )
5041, 43, 49fsumsub 13238 . . . . 5  |-  ( n  e.  NN  ->  sum_ m  e.  ( 1 ... n
) ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m ) ) ) )  =  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m )  -  sum_ m  e.  ( 1 ... n ) ( log `  ( 1  +  ( 1  /  m ) ) ) ) )
51 oveq2 6088 . . . . . . . . 9  |-  ( n  =  m  ->  (
1  /  n )  =  ( 1  /  m ) )
5251oveq2d 6096 . . . . . . . . . 10  |-  ( n  =  m  ->  (
1  +  ( 1  /  n ) )  =  ( 1  +  ( 1  /  m
) ) )
5352fveq2d 5683 . . . . . . . . 9  |-  ( n  =  m  ->  ( log `  ( 1  +  ( 1  /  n
) ) )  =  ( log `  (
1  +  ( 1  /  m ) ) ) )
5451, 53oveq12d 6098 . . . . . . . 8  |-  ( n  =  m  ->  (
( 1  /  n
)  -  ( log `  ( 1  +  ( 1  /  n ) ) ) )  =  ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m
) ) ) ) )
55 emcl.4 . . . . . . . 8  |-  T  =  ( n  e.  NN  |->  ( ( 1  /  n )  -  ( log `  ( 1  +  ( 1  /  n
) ) ) ) )
56 ovex 6105 . . . . . . . 8  |-  ( ( 1  /  m )  -  ( log `  (
1  +  ( 1  /  m ) ) ) )  e.  _V
5754, 55, 56fvmpt 5762 . . . . . . 7  |-  ( m  e.  NN  ->  ( T `  m )  =  ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m ) ) ) ) )
582, 57syl 16 . . . . . 6  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( T `  m )  =  ( ( 1  /  m
)  -  ( log `  ( 1  +  ( 1  /  m ) ) ) ) )
59 id 22 . . . . . . 7  |-  ( n  e.  NN  ->  n  e.  NN )
6059, 24syl6eleq 2523 . . . . . 6  |-  ( n  e.  NN  ->  n  e.  ( ZZ>= `  1 )
)
6142, 48resubcld 9764 . . . . . . 7  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m ) ) ) )  e.  RR )
6261recnd 9400 . . . . . 6  |-  ( ( n  e.  NN  /\  m  e.  ( 1 ... n ) )  ->  ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m ) ) ) )  e.  CC )
6358, 60, 62fsumser 13191 . . . . 5  |-  ( n  e.  NN  ->  sum_ m  e.  ( 1 ... n
) ( ( 1  /  m )  -  ( log `  ( 1  +  ( 1  /  m ) ) ) )  =  (  seq 1 (  +  ,  T ) `  n
) )
6450, 63eqtr3d 2467 . . . 4  |-  ( n  e.  NN  ->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m )  -  sum_ m  e.  ( 1 ... n ) ( log `  (
1  +  ( 1  /  m ) ) ) )  =  (  seq 1 (  +  ,  T ) `  n ) )
6540, 64eqtr3d 2467 . . 3  |-  ( n  e.  NN  ->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m )  -  ( log `  (
n  +  1 ) ) )  =  (  seq 1 (  +  ,  T ) `  n ) )
6665mpteq2ia 4362 . 2  |-  ( n  e.  NN  |->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m )  -  ( log `  ( n  +  1 ) ) ) )  =  ( n  e.  NN  |->  (  seq 1 (  +  ,  T ) `  n ) )
67 emcl.2 . 2  |-  G  =  ( n  e.  NN  |->  ( sum_ m  e.  ( 1 ... n ) ( 1  /  m
)  -  ( log `  ( n  +  1 ) ) ) )
68 1z 10664 . . . . 5  |-  1  e.  ZZ
69 seqfn 11802 . . . . 5  |-  ( 1  e.  ZZ  ->  seq 1 (  +  ,  T )  Fn  ( ZZ>=
`  1 ) )
7068, 69ax-mp 5 . . . 4  |-  seq 1
(  +  ,  T
)  Fn  ( ZZ>= ` 
1 )
7124fneq2i 5494 . . . 4  |-  (  seq 1 (  +  ,  T )  Fn  NN  <->  seq 1 (  +  ,  T )  Fn  ( ZZ>=
`  1 ) )
7270, 71mpbir 209 . . 3  |-  seq 1
(  +  ,  T
)  Fn  NN
73 dffn5 5725 . . 3  |-  (  seq 1 (  +  ,  T )  Fn  NN  <->  seq 1 (  +  ,  T )  =  ( n  e.  NN  |->  (  seq 1 (  +  ,  T ) `  n ) ) )
7472, 73mpbi 208 . 2  |-  seq 1
(  +  ,  T
)  =  ( n  e.  NN  |->  (  seq 1 (  +  ,  T ) `  n
) )
7566, 67, 743eqtr4i 2463 1  |-  G  =  seq 1 (  +  ,  T )
Colors of variables: wff setvar class
Syntax hints:    /\ wa 369    = wceq 1362    e. wcel 1755    e. cmpt 4338    Fn wfn 5401   ` cfv 5406  (class class class)co 6080   0cc0 9270   1c1 9271    + caddc 9273    - cmin 9583    / cdiv 9981   NNcn 10310   ZZcz 10634   ZZ>=cuz 10849   RR+crp 10979   ...cfz 11424    seqcseq 11790   sum_csu 13147   logclog 21891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1594  ax-4 1605  ax-5 1669  ax-6 1707  ax-7 1727  ax-8 1757  ax-9 1759  ax-10 1774  ax-11 1779  ax-12 1791  ax-13 1942  ax-ext 2414  ax-rep 4391  ax-sep 4401  ax-nul 4409  ax-pow 4458  ax-pr 4519  ax-un 6361  ax-inf2 7835  ax-cnex 9326  ax-resscn 9327  ax-1cn 9328  ax-icn 9329  ax-addcl 9330  ax-addrcl 9331  ax-mulcl 9332  ax-mulrcl 9333  ax-mulcom 9334  ax-addass 9335  ax-mulass 9336  ax-distr 9337  ax-i2m1 9338  ax-1ne0 9339  ax-1rid 9340  ax-rnegex 9341  ax-rrecex 9342  ax-cnre 9343  ax-pre-lttri 9344  ax-pre-lttrn 9345  ax-pre-ltadd 9346  ax-pre-mulgt0 9347  ax-pre-sup 9348  ax-addf 9349  ax-mulf 9350
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 959  df-3an 960  df-tru 1365  df-fal 1368  df-ex 1590  df-nf 1593  df-sb 1700  df-eu 2258  df-mo 2259  df-clab 2420  df-cleq 2426  df-clel 2429  df-nfc 2558  df-ne 2598  df-nel 2599  df-ral 2710  df-rex 2711  df-reu 2712  df-rmo 2713  df-rab 2714  df-v 2964  df-sbc 3176  df-csb 3277  df-dif 3319  df-un 3321  df-in 3323  df-ss 3330  df-pss 3332  df-nul 3626  df-if 3780  df-pw 3850  df-sn 3866  df-pr 3868  df-tp 3870  df-op 3872  df-uni 4080  df-int 4117  df-iun 4161  df-iin 4162  df-br 4281  df-opab 4339  df-mpt 4340  df-tr 4374  df-eprel 4619  df-id 4623  df-po 4628  df-so 4629  df-fr 4666  df-se 4667  df-we 4668  df-ord 4709  df-on 4710  df-lim 4711  df-suc 4712  df-xp 4833  df-rel 4834  df-cnv 4835  df-co 4836  df-dm 4837  df-rn 4838  df-res 4839  df-ima 4840  df-iota 5369  df-fun 5408  df-fn 5409  df-f 5410  df-f1 5411  df-fo 5412  df-f1o 5413  df-fv 5414  df-isom 5415  df-riota 6039  df-ov 6083  df-oprab 6084  df-mpt2 6085  df-of 6309  df-om 6466  df-1st 6566  df-2nd 6567  df-supp 6680  df-recs 6818  df-rdg 6852  df-1o 6908  df-2o 6909  df-oadd 6912  df-er 7089  df-map 7204  df-pm 7205  df-ixp 7252  df-en 7299  df-dom 7300  df-sdom 7301  df-fin 7302  df-fsupp 7609  df-fi 7649  df-sup 7679  df-oi 7712  df-card 8097  df-cda 8325  df-pnf 9408  df-mnf 9409  df-xr 9410  df-ltxr 9411  df-le 9412  df-sub 9585  df-neg 9586  df-div 9982  df-nn 10311  df-2 10368  df-3 10369  df-4 10370  df-5 10371  df-6 10372  df-7 10373  df-8 10374  df-9 10375  df-10 10376  df-n0 10568  df-z 10635  df-dec 10744  df-uz 10850  df-q 10942  df-rp 10980  df-xneg 11077  df-xadd 11078  df-xmul 11079  df-ioo 11292  df-ioc 11293  df-ico 11294  df-icc 11295  df-fz 11425  df-fzo 11533  df-fl 11626  df-mod 11693  df-seq 11791  df-exp 11850  df-fac 12036  df-bc 12063  df-hash 12088  df-shft 12540  df-cj 12572  df-re 12573  df-im 12574  df-sqr 12708  df-abs 12709  df-limsup 12933  df-clim 12950  df-rlim 12951  df-sum 13148  df-ef 13336  df-sin 13338  df-cos 13339  df-pi 13341  df-struct 14159  df-ndx 14160  df-slot 14161  df-base 14162  df-sets 14163  df-ress 14164  df-plusg 14234  df-mulr 14235  df-starv 14236  df-sca 14237  df-vsca 14238  df-ip 14239  df-tset 14240  df-ple 14241  df-ds 14243  df-unif 14244  df-hom 14245  df-cco 14246  df-rest 14344  df-topn 14345  df-0g 14363  df-gsum 14364  df-topgen 14365  df-pt 14366  df-prds 14369  df-xrs 14423  df-qtop 14428  df-imas 14429  df-xps 14431  df-mre 14507  df-mrc 14508  df-acs 14510  df-mnd 15398  df-submnd 15448  df-mulg 15528  df-cntz 15815  df-cmn 16259  df-psmet 17653  df-xmet 17654  df-met 17655  df-bl 17656  df-mopn 17657  df-fbas 17658  df-fg 17659  df-cnfld 17663  df-top 18345  df-bases 18347  df-topon 18348  df-topsp 18349  df-cld 18465  df-ntr 18466  df-cls 18467  df-nei 18544  df-lp 18582  df-perf 18583  df-cn 18673  df-cnp 18674  df-haus 18761  df-tx 18977  df-hmeo 19170  df-fil 19261  df-fm 19353  df-flim 19354  df-flf 19355  df-xms 19737  df-ms 19738  df-tms 19739  df-cncf 20296  df-limc 21183  df-dv 21184  df-log 21893
This theorem is referenced by:  emcllem6  22279
  Copyright terms: Public domain W3C validator