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

Theorem harmonic 12312
Description: The harmonic series  H diverges. This fact follows from the stronger emcl 20291, which establishes that the harmonic series grows as  log n  +  gamma  + o(1), but this uses a more elementary method, attributed to Nicole Oresme (1323-1382). (Contributed by Mario Carneiro, 11-Jul-2014.)
Hypotheses
Ref Expression
harmonic.1  |-  F  =  ( n  e.  NN  |->  ( 1  /  n
) )
harmonic.2  |-  H  =  seq  1 (  +  ,  F )
Assertion
Ref Expression
harmonic  |-  -.  H  e.  dom  ~~>

Proof of Theorem harmonic
Dummy variables  k 
j are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nn0uz 10257 . . . 4  |-  NN0  =  ( ZZ>= `  0 )
2 0z 10030 . . . . 5  |-  0  e.  ZZ
32a1i 10 . . . 4  |-  ( H  e.  dom  ~~>  ->  0  e.  ZZ )
4 1ex 8828 . . . . . 6  |-  1  e.  _V
54fvconst2 5690 . . . . 5  |-  ( k  e.  NN0  ->  ( ( NN0  X.  { 1 } ) `  k
)  =  1 )
65adantl 452 . . . 4  |-  ( ( H  e.  dom  ~~>  /\  k  e.  NN0 )  ->  (
( NN0  X.  { 1 } ) `  k
)  =  1 )
7 1re 8832 . . . . 5  |-  1  e.  RR
87a1i 10 . . . 4  |-  ( ( H  e.  dom  ~~>  /\  k  e.  NN0 )  ->  1  e.  RR )
9 harmonic.2 . . . . . . 7  |-  H  =  seq  1 (  +  ,  F )
109eleq1i 2346 . . . . . 6  |-  ( H  e.  dom  ~~>  <->  seq  1
(  +  ,  F
)  e.  dom  ~~>  )
1110biimpi 186 . . . . 5  |-  ( H  e.  dom  ~~>  ->  seq  1 (  +  ,  F )  e.  dom  ~~>  )
12 oveq2 5827 . . . . . . . . 9  |-  ( n  =  k  ->  (
1  /  n )  =  ( 1  / 
k ) )
13 harmonic.1 . . . . . . . . 9  |-  F  =  ( n  e.  NN  |->  ( 1  /  n
) )
14 ovex 5844 . . . . . . . . 9  |-  ( 1  /  k )  e. 
_V
1512, 13, 14fvmpt 5563 . . . . . . . 8  |-  ( k  e.  NN  ->  ( F `  k )  =  ( 1  / 
k ) )
16 nnrecre 9777 . . . . . . . 8  |-  ( k  e.  NN  ->  (
1  /  k )  e.  RR )
1715, 16eqeltrd 2357 . . . . . . 7  |-  ( k  e.  NN  ->  ( F `  k )  e.  RR )
1817adantl 452 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  k  e.  NN )  ->  ( F `  k )  e.  RR )
19 nnrp 10358 . . . . . . . . . 10  |-  ( k  e.  NN  ->  k  e.  RR+ )
2019rpreccld 10395 . . . . . . . . 9  |-  ( k  e.  NN  ->  (
1  /  k )  e.  RR+ )
2120rpge0d 10389 . . . . . . . 8  |-  ( k  e.  NN  ->  0  <_  ( 1  /  k
) )
2221, 15breqtrrd 4049 . . . . . . 7  |-  ( k  e.  NN  ->  0  <_  ( F `  k
) )
2322adantl 452 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  k  e.  NN )  ->  0  <_  ( F `  k
) )
24 nnre 9748 . . . . . . . . . 10  |-  ( k  e.  NN  ->  k  e.  RR )
2524lep1d 9683 . . . . . . . . 9  |-  ( k  e.  NN  ->  k  <_  ( k  +  1 ) )
26 nngt0 9770 . . . . . . . . . 10  |-  ( k  e.  NN  ->  0  <  k )
27 peano2re 8980 . . . . . . . . . . 11  |-  ( k  e.  RR  ->  (
k  +  1 )  e.  RR )
2824, 27syl 15 . . . . . . . . . 10  |-  ( k  e.  NN  ->  (
k  +  1 )  e.  RR )
29 peano2nn 9753 . . . . . . . . . . 11  |-  ( k  e.  NN  ->  (
k  +  1 )  e.  NN )
3029nngt0d 9784 . . . . . . . . . 10  |-  ( k  e.  NN  ->  0  <  ( k  +  1 ) )
31 lerec 9633 . . . . . . . . . 10  |-  ( ( ( k  e.  RR  /\  0  <  k )  /\  ( ( k  +  1 )  e.  RR  /\  0  < 
( k  +  1 ) ) )  -> 
( k  <_  (
k  +  1 )  <-> 
( 1  /  (
k  +  1 ) )  <_  ( 1  /  k ) ) )
3224, 26, 28, 30, 31syl22anc 1183 . . . . . . . . 9  |-  ( k  e.  NN  ->  (
k  <_  ( k  +  1 )  <->  ( 1  /  ( k  +  1 ) )  <_ 
( 1  /  k
) ) )
3325, 32mpbid 201 . . . . . . . 8  |-  ( k  e.  NN  ->  (
1  /  ( k  +  1 ) )  <_  ( 1  / 
k ) )
34 oveq2 5827 . . . . . . . . . 10  |-  ( n  =  ( k  +  1 )  ->  (
1  /  n )  =  ( 1  / 
( k  +  1 ) ) )
35 ovex 5844 . . . . . . . . . 10  |-  ( 1  /  ( k  +  1 ) )  e. 
_V
3634, 13, 35fvmpt 5563 . . . . . . . . 9  |-  ( ( k  +  1 )  e.  NN  ->  ( F `  ( k  +  1 ) )  =  ( 1  / 
( k  +  1 ) ) )
3729, 36syl 15 . . . . . . . 8  |-  ( k  e.  NN  ->  ( F `  ( k  +  1 ) )  =  ( 1  / 
( k  +  1 ) ) )
3833, 37, 153brtr4d 4053 . . . . . . 7  |-  ( k  e.  NN  ->  ( F `  ( k  +  1 ) )  <_  ( F `  k ) )
3938adantl 452 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  k  e.  NN )  ->  ( F `  ( k  +  1 ) )  <_  ( F `  k ) )
40 oveq2 5827 . . . . . . . . 9  |-  ( k  =  j  ->  (
2 ^ k )  =  ( 2 ^ j ) )
4140fveq2d 5489 . . . . . . . . 9  |-  ( k  =  j  ->  ( F `  ( 2 ^ k ) )  =  ( F `  ( 2 ^ j
) ) )
4240, 41oveq12d 5837 . . . . . . . 8  |-  ( k  =  j  ->  (
( 2 ^ k
)  x.  ( F `
 ( 2 ^ k ) ) )  =  ( ( 2 ^ j )  x.  ( F `  (
2 ^ j ) ) ) )
43 fconstmpt 4730 . . . . . . . . 9  |-  ( NN0 
X.  { 1 } )  =  ( k  e.  NN0  |->  1 )
44 2nn 9872 . . . . . . . . . . . . . 14  |-  2  e.  NN
45 nnexpcl 11111 . . . . . . . . . . . . . 14  |-  ( ( 2  e.  NN  /\  k  e.  NN0 )  -> 
( 2 ^ k
)  e.  NN )
4644, 45mpan 651 . . . . . . . . . . . . 13  |-  ( k  e.  NN0  ->  ( 2 ^ k )  e.  NN )
47 oveq2 5827 . . . . . . . . . . . . . 14  |-  ( n  =  ( 2 ^ k )  ->  (
1  /  n )  =  ( 1  / 
( 2 ^ k
) ) )
48 ovex 5844 . . . . . . . . . . . . . 14  |-  ( 1  /  ( 2 ^ k ) )  e. 
_V
4947, 13, 48fvmpt 5563 . . . . . . . . . . . . 13  |-  ( ( 2 ^ k )  e.  NN  ->  ( F `  ( 2 ^ k ) )  =  ( 1  / 
( 2 ^ k
) ) )
5046, 49syl 15 . . . . . . . . . . . 12  |-  ( k  e.  NN0  ->  ( F `
 ( 2 ^ k ) )  =  ( 1  /  (
2 ^ k ) ) )
5150oveq2d 5835 . . . . . . . . . . 11  |-  ( k  e.  NN0  ->  ( ( 2 ^ k )  x.  ( F `  ( 2 ^ k
) ) )  =  ( ( 2 ^ k )  x.  (
1  /  ( 2 ^ k ) ) ) )
52 nncn 9749 . . . . . . . . . . . . 13  |-  ( ( 2 ^ k )  e.  NN  ->  (
2 ^ k )  e.  CC )
53 nnne0 9773 . . . . . . . . . . . . 13  |-  ( ( 2 ^ k )  e.  NN  ->  (
2 ^ k )  =/=  0 )
5452, 53recidd 9526 . . . . . . . . . . . 12  |-  ( ( 2 ^ k )  e.  NN  ->  (
( 2 ^ k
)  x.  ( 1  /  ( 2 ^ k ) ) )  =  1 )
5546, 54syl 15 . . . . . . . . . . 11  |-  ( k  e.  NN0  ->  ( ( 2 ^ k )  x.  ( 1  / 
( 2 ^ k
) ) )  =  1 )
5651, 55eqtrd 2315 . . . . . . . . . 10  |-  ( k  e.  NN0  ->  ( ( 2 ^ k )  x.  ( F `  ( 2 ^ k
) ) )  =  1 )
5756mpteq2ia 4102 . . . . . . . . 9  |-  ( k  e.  NN0  |->  ( ( 2 ^ k )  x.  ( F `  ( 2 ^ k
) ) ) )  =  ( k  e. 
NN0  |->  1 )
5843, 57eqtr4i 2306 . . . . . . . 8  |-  ( NN0 
X.  { 1 } )  =  ( k  e.  NN0  |->  ( ( 2 ^ k )  x.  ( F `  ( 2 ^ k
) ) ) )
59 ovex 5844 . . . . . . . 8  |-  ( ( 2 ^ j )  x.  ( F `  ( 2 ^ j
) ) )  e. 
_V
6042, 58, 59fvmpt 5563 . . . . . . 7  |-  ( j  e.  NN0  ->  ( ( NN0  X.  { 1 } ) `  j
)  =  ( ( 2 ^ j )  x.  ( F `  ( 2 ^ j
) ) ) )
6160adantl 452 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN0 )  ->  (
( NN0  X.  { 1 } ) `  j
)  =  ( ( 2 ^ j )  x.  ( F `  ( 2 ^ j
) ) ) )
6218, 23, 39, 61climcnds 12305 . . . . 5  |-  ( H  e.  dom  ~~>  ->  (  seq  1 (  +  ,  F )  e.  dom  ~~>  <->  seq  0 (  +  , 
( NN0  X.  { 1 } ) )  e. 
dom 
~~>  ) )
6311, 62mpbid 201 . . . 4  |-  ( H  e.  dom  ~~>  ->  seq  0 (  +  , 
( NN0  X.  { 1 } ) )  e. 
dom 
~~>  )
641, 3, 6, 8, 63isumrecl 12223 . . 3  |-  ( H  e.  dom  ~~>  ->  sum_ k  e.  NN0  1  e.  RR )
65 arch 9957 . . 3  |-  ( sum_ k  e.  NN0  1  e.  RR  ->  E. j  e.  NN  sum_ k  e.  NN0  1  <  j )
6664, 65syl 15 . 2  |-  ( H  e.  dom  ~~>  ->  E. j  e.  NN  sum_ k  e.  NN0  1  <  j )
67 fzfid 11030 . . . . . . 7  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  (
1 ... j )  e. 
Fin )
68 ax-1cn 8790 . . . . . . 7  |-  1  e.  CC
69 fsumconst 12247 . . . . . . 7  |-  ( ( ( 1 ... j
)  e.  Fin  /\  1  e.  CC )  -> 
sum_ k  e.  ( 1 ... j ) 1  =  ( (
# `  ( 1 ... j ) )  x.  1 ) )
7067, 68, 69sylancl 643 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  sum_ k  e.  ( 1 ... j
) 1  =  ( ( # `  (
1 ... j ) )  x.  1 ) )
71 nnnn0 9967 . . . . . . . . 9  |-  ( j  e.  NN  ->  j  e.  NN0 )
7271adantl 452 . . . . . . . 8  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  j  e.  NN0 )
73 hashfz1 11340 . . . . . . . 8  |-  ( j  e.  NN0  ->  ( # `  ( 1 ... j
) )  =  j )
7472, 73syl 15 . . . . . . 7  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  ( # `
 ( 1 ... j ) )  =  j )
7574oveq1d 5834 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  (
( # `  ( 1 ... j ) )  x.  1 )  =  ( j  x.  1 ) )
76 nncn 9749 . . . . . . . 8  |-  ( j  e.  NN  ->  j  e.  CC )
7776adantl 452 . . . . . . 7  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  j  e.  CC )
7877mulid1d 8847 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  (
j  x.  1 )  =  j )
7970, 75, 783eqtrd 2319 . . . . 5  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  sum_ k  e.  ( 1 ... j
) 1  =  j )
802a1i 10 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  0  e.  ZZ )
81 elfznn 10814 . . . . . . . . 9  |-  ( k  e.  ( 1 ... j )  ->  k  e.  NN )
82 nnnn0 9967 . . . . . . . . 9  |-  ( k  e.  NN  ->  k  e.  NN0 )
8381, 82syl 15 . . . . . . . 8  |-  ( k  e.  ( 1 ... j )  ->  k  e.  NN0 )
8483ssriv 3184 . . . . . . 7  |-  ( 1 ... j )  C_  NN0
8584a1i 10 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  (
1 ... j )  C_  NN0 )
865adantl 452 . . . . . 6  |-  ( ( ( H  e.  dom  ~~>  /\  j  e.  NN )  /\  k  e.  NN0 )  ->  ( ( NN0 
X.  { 1 } ) `  k )  =  1 )
877a1i 10 . . . . . 6  |-  ( ( ( H  e.  dom  ~~>  /\  j  e.  NN )  /\  k  e.  NN0 )  ->  1  e.  RR )
88 0le1 9292 . . . . . . 7  |-  0  <_  1
8988a1i 10 . . . . . 6  |-  ( ( ( H  e.  dom  ~~>  /\  j  e.  NN )  /\  k  e.  NN0 )  ->  0  <_  1
)
9063adantr 451 . . . . . 6  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  seq  0 (  +  , 
( NN0  X.  { 1 } ) )  e. 
dom 
~~>  )
911, 80, 67, 85, 86, 87, 89, 90isumless 12299 . . . . 5  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  sum_ k  e.  ( 1 ... j
) 1  <_  sum_ k  e.  NN0  1 )
9279, 91eqbrtrrd 4045 . . . 4  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  j  <_ 
sum_ k  e.  NN0  1 )
93 nnre 9748 . . . . 5  |-  ( j  e.  NN  ->  j  e.  RR )
94 lenlt 8896 . . . . 5  |-  ( ( j  e.  RR  /\  sum_ k  e.  NN0  1  e.  RR )  ->  (
j  <_  sum_ k  e. 
NN0  1  <->  -.  sum_ k  e.  NN0  1  <  j
) )
9593, 64, 94syl2anr 464 . . . 4  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  (
j  <_  sum_ k  e. 
NN0  1  <->  -.  sum_ k  e.  NN0  1  <  j
) )
9692, 95mpbid 201 . . 3  |-  ( ( H  e.  dom  ~~>  /\  j  e.  NN )  ->  -.  sum_ k  e.  NN0  1  <  j )
9796nrexdv 2646 . 2  |-  ( H  e.  dom  ~~>  ->  -.  E. j  e.  NN  sum_ k  e.  NN0  1  < 
j )
9866, 97pm2.65i 165 1  |-  -.  H  e.  dom  ~~>
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   E.wrex 2544    C_ wss 3152   {csn 3640   class class class wbr 4023    e. cmpt 4077    X. cxp 4685   dom cdm 4687   ` cfv 5220  (class class class)co 5819   Fincfn 6858   CCcc 8730   RRcr 8731   0cc0 8732   1c1 8733    + caddc 8735    x. cmul 8737    < clt 8862    <_ cle 8863    / cdiv 9418   NNcn 9741   2c2 9790   NN0cn0 9960   ZZcz 10019   ...cfz 10777    seq cseq 11041   ^cexp 11099   #chash 11332    ~~> cli 11953   sum_csu 12153
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4186  ax-pr 4212  ax-un 4510  ax-inf2 7337  ax-cnex 8788  ax-resscn 8789  ax-1cn 8790  ax-icn 8791  ax-addcl 8792  ax-addrcl 8793  ax-mulcl 8794  ax-mulrcl 8795  ax-mulcom 8796  ax-addass 8797  ax-mulass 8798  ax-distr 8799  ax-i2m1 8800  ax-1ne0 8801  ax-1rid 8802  ax-rnegex 8803  ax-rrecex 8804  ax-cnre 8805  ax-pre-lttri 8806  ax-pre-lttrn 8807  ax-pre-ltadd 8808  ax-pre-mulgt0 8809  ax-pre-sup 8810
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4303  df-id 4307  df-po 4312  df-so 4313  df-fr 4350  df-se 4351  df-we 4352  df-ord 4393  df-on 4394  df-lim 4395  df-suc 4396  df-om 4655  df-xp 4693  df-rel 4694  df-cnv 4695  df-co 4696  df-dm 4697  df-rn 4698  df-res 4699  df-ima 4700  df-fun 5222  df-fn 5223  df-f 5224  df-f1 5225  df-fo 5226  df-f1o 5227  df-fv 5228  df-isom 5229  df-ov 5822  df-oprab 5823  df-mpt2 5824  df-1st 6083  df-2nd 6084  df-iota 6252  df-riota 6299  df-recs 6383  df-rdg 6418  df-1o 6474  df-oadd 6478  df-er 6655  df-pm 6770  df-en 6859  df-dom 6860  df-sdom 6861  df-fin 6862  df-sup 7189  df-oi 7220  df-card 7567  df-cda 7789  df-pnf 8864  df-mnf 8865  df-xr 8866  df-ltxr 8867  df-le 8868  df-sub 9034  df-neg 9035  df-div 9419  df-nn 9742  df-2 9799  df-3 9800  df-n0 9961  df-z 10020  df-uz 10226  df-rp 10350  df-ico 10657  df-fz 10778  df-fzo 10866  df-fl 10920  df-seq 11042  df-exp 11100  df-hash 11333  df-cj 11579  df-re 11580  df-im 11581  df-sqr 11715  df-abs 11716  df-clim 11957  df-rlim 11958  df-sum 12154
  Copyright terms: Public domain W3C validator