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

Theorem harmonic 15216
Description: The harmonic series 𝐻 diverges. This fact follows from the stronger emcl 25582, which establishes that the harmonic series grows as log𝑛 + γ + o(1), but this uses a more elementary method, attributed to Nicole Oresme (1323-1382). This is Metamath 100 proof #34. (Contributed by Mario Carneiro, 11-Jul-2014.)
Hypotheses
Ref Expression
harmonic.1 𝐹 = (𝑛 ∈ ℕ ↦ (1 / 𝑛))
harmonic.2 𝐻 = seq1( + , 𝐹)
Assertion
Ref Expression
harmonic ¬ 𝐻 ∈ dom ⇝

Proof of Theorem harmonic
Dummy variables 𝑘 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nn0uz 12283 . . . 4 0 = (ℤ‘0)
2 0zd 11996 . . . 4 (𝐻 ∈ dom ⇝ → 0 ∈ ℤ)
3 1ex 10639 . . . . . 6 1 ∈ V
43fvconst2 6968 . . . . 5 (𝑘 ∈ ℕ0 → ((ℕ0 × {1})‘𝑘) = 1)
54adantl 484 . . . 4 ((𝐻 ∈ dom ⇝ ∧ 𝑘 ∈ ℕ0) → ((ℕ0 × {1})‘𝑘) = 1)
6 1red 10644 . . . 4 ((𝐻 ∈ dom ⇝ ∧ 𝑘 ∈ ℕ0) → 1 ∈ ℝ)
7 harmonic.2 . . . . . . 7 𝐻 = seq1( + , 𝐹)
87eleq1i 2905 . . . . . 6 (𝐻 ∈ dom ⇝ ↔ seq1( + , 𝐹) ∈ dom ⇝ )
98biimpi 218 . . . . 5 (𝐻 ∈ dom ⇝ → seq1( + , 𝐹) ∈ dom ⇝ )
10 oveq2 7166 . . . . . . . . 9 (𝑛 = 𝑘 → (1 / 𝑛) = (1 / 𝑘))
11 harmonic.1 . . . . . . . . 9 𝐹 = (𝑛 ∈ ℕ ↦ (1 / 𝑛))
12 ovex 7191 . . . . . . . . 9 (1 / 𝑘) ∈ V
1310, 11, 12fvmpt 6770 . . . . . . . 8 (𝑘 ∈ ℕ → (𝐹𝑘) = (1 / 𝑘))
14 nnrecre 11682 . . . . . . . 8 (𝑘 ∈ ℕ → (1 / 𝑘) ∈ ℝ)
1513, 14eqeltrd 2915 . . . . . . 7 (𝑘 ∈ ℕ → (𝐹𝑘) ∈ ℝ)
1615adantl 484 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑘 ∈ ℕ) → (𝐹𝑘) ∈ ℝ)
17 nnrp 12403 . . . . . . . . . 10 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ+)
1817rpreccld 12444 . . . . . . . . 9 (𝑘 ∈ ℕ → (1 / 𝑘) ∈ ℝ+)
1918rpge0d 12438 . . . . . . . 8 (𝑘 ∈ ℕ → 0 ≤ (1 / 𝑘))
2019, 13breqtrrd 5096 . . . . . . 7 (𝑘 ∈ ℕ → 0 ≤ (𝐹𝑘))
2120adantl 484 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑘 ∈ ℕ) → 0 ≤ (𝐹𝑘))
22 nnre 11647 . . . . . . . . . 10 (𝑘 ∈ ℕ → 𝑘 ∈ ℝ)
2322lep1d 11573 . . . . . . . . 9 (𝑘 ∈ ℕ → 𝑘 ≤ (𝑘 + 1))
24 nngt0 11671 . . . . . . . . . 10 (𝑘 ∈ ℕ → 0 < 𝑘)
25 peano2re 10815 . . . . . . . . . . 11 (𝑘 ∈ ℝ → (𝑘 + 1) ∈ ℝ)
2622, 25syl 17 . . . . . . . . . 10 (𝑘 ∈ ℕ → (𝑘 + 1) ∈ ℝ)
27 peano2nn 11652 . . . . . . . . . . 11 (𝑘 ∈ ℕ → (𝑘 + 1) ∈ ℕ)
2827nngt0d 11689 . . . . . . . . . 10 (𝑘 ∈ ℕ → 0 < (𝑘 + 1))
29 lerec 11525 . . . . . . . . . 10 (((𝑘 ∈ ℝ ∧ 0 < 𝑘) ∧ ((𝑘 + 1) ∈ ℝ ∧ 0 < (𝑘 + 1))) → (𝑘 ≤ (𝑘 + 1) ↔ (1 / (𝑘 + 1)) ≤ (1 / 𝑘)))
3022, 24, 26, 28, 29syl22anc 836 . . . . . . . . 9 (𝑘 ∈ ℕ → (𝑘 ≤ (𝑘 + 1) ↔ (1 / (𝑘 + 1)) ≤ (1 / 𝑘)))
3123, 30mpbid 234 . . . . . . . 8 (𝑘 ∈ ℕ → (1 / (𝑘 + 1)) ≤ (1 / 𝑘))
32 oveq2 7166 . . . . . . . . . 10 (𝑛 = (𝑘 + 1) → (1 / 𝑛) = (1 / (𝑘 + 1)))
33 ovex 7191 . . . . . . . . . 10 (1 / (𝑘 + 1)) ∈ V
3432, 11, 33fvmpt 6770 . . . . . . . . 9 ((𝑘 + 1) ∈ ℕ → (𝐹‘(𝑘 + 1)) = (1 / (𝑘 + 1)))
3527, 34syl 17 . . . . . . . 8 (𝑘 ∈ ℕ → (𝐹‘(𝑘 + 1)) = (1 / (𝑘 + 1)))
3631, 35, 133brtr4d 5100 . . . . . . 7 (𝑘 ∈ ℕ → (𝐹‘(𝑘 + 1)) ≤ (𝐹𝑘))
3736adantl 484 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑘 ∈ ℕ) → (𝐹‘(𝑘 + 1)) ≤ (𝐹𝑘))
38 oveq2 7166 . . . . . . . . 9 (𝑘 = 𝑗 → (2↑𝑘) = (2↑𝑗))
3938fveq2d 6676 . . . . . . . . 9 (𝑘 = 𝑗 → (𝐹‘(2↑𝑘)) = (𝐹‘(2↑𝑗)))
4038, 39oveq12d 7176 . . . . . . . 8 (𝑘 = 𝑗 → ((2↑𝑘) · (𝐹‘(2↑𝑘))) = ((2↑𝑗) · (𝐹‘(2↑𝑗))))
41 fconstmpt 5616 . . . . . . . . 9 (ℕ0 × {1}) = (𝑘 ∈ ℕ0 ↦ 1)
42 2nn 11713 . . . . . . . . . . . . . 14 2 ∈ ℕ
43 nnexpcl 13445 . . . . . . . . . . . . . 14 ((2 ∈ ℕ ∧ 𝑘 ∈ ℕ0) → (2↑𝑘) ∈ ℕ)
4442, 43mpan 688 . . . . . . . . . . . . 13 (𝑘 ∈ ℕ0 → (2↑𝑘) ∈ ℕ)
45 oveq2 7166 . . . . . . . . . . . . . 14 (𝑛 = (2↑𝑘) → (1 / 𝑛) = (1 / (2↑𝑘)))
46 ovex 7191 . . . . . . . . . . . . . 14 (1 / (2↑𝑘)) ∈ V
4745, 11, 46fvmpt 6770 . . . . . . . . . . . . 13 ((2↑𝑘) ∈ ℕ → (𝐹‘(2↑𝑘)) = (1 / (2↑𝑘)))
4844, 47syl 17 . . . . . . . . . . . 12 (𝑘 ∈ ℕ0 → (𝐹‘(2↑𝑘)) = (1 / (2↑𝑘)))
4948oveq2d 7174 . . . . . . . . . . 11 (𝑘 ∈ ℕ0 → ((2↑𝑘) · (𝐹‘(2↑𝑘))) = ((2↑𝑘) · (1 / (2↑𝑘))))
50 nncn 11648 . . . . . . . . . . . . 13 ((2↑𝑘) ∈ ℕ → (2↑𝑘) ∈ ℂ)
51 nnne0 11674 . . . . . . . . . . . . 13 ((2↑𝑘) ∈ ℕ → (2↑𝑘) ≠ 0)
5250, 51recidd 11413 . . . . . . . . . . . 12 ((2↑𝑘) ∈ ℕ → ((2↑𝑘) · (1 / (2↑𝑘))) = 1)
5344, 52syl 17 . . . . . . . . . . 11 (𝑘 ∈ ℕ0 → ((2↑𝑘) · (1 / (2↑𝑘))) = 1)
5449, 53eqtrd 2858 . . . . . . . . . 10 (𝑘 ∈ ℕ0 → ((2↑𝑘) · (𝐹‘(2↑𝑘))) = 1)
5554mpteq2ia 5159 . . . . . . . . 9 (𝑘 ∈ ℕ0 ↦ ((2↑𝑘) · (𝐹‘(2↑𝑘)))) = (𝑘 ∈ ℕ0 ↦ 1)
5641, 55eqtr4i 2849 . . . . . . . 8 (ℕ0 × {1}) = (𝑘 ∈ ℕ0 ↦ ((2↑𝑘) · (𝐹‘(2↑𝑘))))
57 ovex 7191 . . . . . . . 8 ((2↑𝑗) · (𝐹‘(2↑𝑗))) ∈ V
5840, 56, 57fvmpt 6770 . . . . . . 7 (𝑗 ∈ ℕ0 → ((ℕ0 × {1})‘𝑗) = ((2↑𝑗) · (𝐹‘(2↑𝑗))))
5958adantl 484 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ0) → ((ℕ0 × {1})‘𝑗) = ((2↑𝑗) · (𝐹‘(2↑𝑗))))
6016, 21, 37, 59climcnds 15208 . . . . 5 (𝐻 ∈ dom ⇝ → (seq1( + , 𝐹) ∈ dom ⇝ ↔ seq0( + , (ℕ0 × {1})) ∈ dom ⇝ ))
619, 60mpbid 234 . . . 4 (𝐻 ∈ dom ⇝ → seq0( + , (ℕ0 × {1})) ∈ dom ⇝ )
621, 2, 5, 6, 61isumrecl 15122 . . 3 (𝐻 ∈ dom ⇝ → Σ𝑘 ∈ ℕ0 1 ∈ ℝ)
63 arch 11897 . . 3 𝑘 ∈ ℕ0 1 ∈ ℝ → ∃𝑗 ∈ ℕ Σ𝑘 ∈ ℕ0 1 < 𝑗)
6462, 63syl 17 . 2 (𝐻 ∈ dom ⇝ → ∃𝑗 ∈ ℕ Σ𝑘 ∈ ℕ0 1 < 𝑗)
65 fzfid 13344 . . . . . . 7 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → (1...𝑗) ∈ Fin)
66 ax-1cn 10597 . . . . . . 7 1 ∈ ℂ
67 fsumconst 15147 . . . . . . 7 (((1...𝑗) ∈ Fin ∧ 1 ∈ ℂ) → Σ𝑘 ∈ (1...𝑗)1 = ((♯‘(1...𝑗)) · 1))
6865, 66, 67sylancl 588 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → Σ𝑘 ∈ (1...𝑗)1 = ((♯‘(1...𝑗)) · 1))
69 nnnn0 11907 . . . . . . . . 9 (𝑗 ∈ ℕ → 𝑗 ∈ ℕ0)
7069adantl 484 . . . . . . . 8 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℕ0)
71 hashfz1 13709 . . . . . . . 8 (𝑗 ∈ ℕ0 → (♯‘(1...𝑗)) = 𝑗)
7270, 71syl 17 . . . . . . 7 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → (♯‘(1...𝑗)) = 𝑗)
7372oveq1d 7173 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → ((♯‘(1...𝑗)) · 1) = (𝑗 · 1))
74 nncn 11648 . . . . . . . 8 (𝑗 ∈ ℕ → 𝑗 ∈ ℂ)
7574adantl 484 . . . . . . 7 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → 𝑗 ∈ ℂ)
7675mulid1d 10660 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → (𝑗 · 1) = 𝑗)
7768, 73, 763eqtrd 2862 . . . . 5 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → Σ𝑘 ∈ (1...𝑗)1 = 𝑗)
78 0zd 11996 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → 0 ∈ ℤ)
79 elfznn 12939 . . . . . . . . 9 (𝑘 ∈ (1...𝑗) → 𝑘 ∈ ℕ)
80 nnnn0 11907 . . . . . . . . 9 (𝑘 ∈ ℕ → 𝑘 ∈ ℕ0)
8179, 80syl 17 . . . . . . . 8 (𝑘 ∈ (1...𝑗) → 𝑘 ∈ ℕ0)
8281ssriv 3973 . . . . . . 7 (1...𝑗) ⊆ ℕ0
8382a1i 11 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → (1...𝑗) ⊆ ℕ0)
844adantl 484 . . . . . 6 (((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) ∧ 𝑘 ∈ ℕ0) → ((ℕ0 × {1})‘𝑘) = 1)
85 1red 10644 . . . . . 6 (((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) ∧ 𝑘 ∈ ℕ0) → 1 ∈ ℝ)
86 0le1 11165 . . . . . . 7 0 ≤ 1
8786a1i 11 . . . . . 6 (((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) ∧ 𝑘 ∈ ℕ0) → 0 ≤ 1)
8861adantr 483 . . . . . 6 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → seq0( + , (ℕ0 × {1})) ∈ dom ⇝ )
891, 78, 65, 83, 84, 85, 87, 88isumless 15202 . . . . 5 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → Σ𝑘 ∈ (1...𝑗)1 ≤ Σ𝑘 ∈ ℕ0 1)
9077, 89eqbrtrrd 5092 . . . 4 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → 𝑗 ≤ Σ𝑘 ∈ ℕ0 1)
91 nnre 11647 . . . . 5 (𝑗 ∈ ℕ → 𝑗 ∈ ℝ)
92 lenlt 10721 . . . . 5 ((𝑗 ∈ ℝ ∧ Σ𝑘 ∈ ℕ0 1 ∈ ℝ) → (𝑗 ≤ Σ𝑘 ∈ ℕ0 1 ↔ ¬ Σ𝑘 ∈ ℕ0 1 < 𝑗))
9391, 62, 92syl2anr 598 . . . 4 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → (𝑗 ≤ Σ𝑘 ∈ ℕ0 1 ↔ ¬ Σ𝑘 ∈ ℕ0 1 < 𝑗))
9490, 93mpbid 234 . . 3 ((𝐻 ∈ dom ⇝ ∧ 𝑗 ∈ ℕ) → ¬ Σ𝑘 ∈ ℕ0 1 < 𝑗)
9594nrexdv 3272 . 2 (𝐻 ∈ dom ⇝ → ¬ ∃𝑗 ∈ ℕ Σ𝑘 ∈ ℕ0 1 < 𝑗)
9664, 95pm2.65i 196 1 ¬ 𝐻 ∈ dom ⇝
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 208  wa 398   = wceq 1537  wcel 2114  wrex 3141  wss 3938  {csn 4569   class class class wbr 5068  cmpt 5148   × cxp 5555  dom cdm 5557  cfv 6357  (class class class)co 7158  Fincfn 8511  cc 10537  cr 10538  0cc0 10539  1c1 10540   + caddc 10542   · cmul 10544   < clt 10677  cle 10678   / cdiv 11299  cn 11640  2c2 11695  0cn0 11900  ...cfz 12895  seqcseq 13372  cexp 13432  chash 13693  cli 14843  Σcsu 15044
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-inf2 9106  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616  ax-pre-sup 10617
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-int 4879  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-se 5517  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-isom 6366  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-1st 7691  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-1o 8104  df-oadd 8108  df-er 8291  df-pm 8411  df-en 8512  df-dom 8513  df-sdom 8514  df-fin 8515  df-sup 8908  df-inf 8909  df-oi 8976  df-dju 9332  df-card 9370  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875  df-div 11300  df-nn 11641  df-2 11703  df-3 11704  df-n0 11901  df-z 11985  df-uz 12247  df-rp 12393  df-ico 12747  df-fz 12896  df-fzo 13037  df-fl 13165  df-seq 13373  df-exp 13433  df-hash 13694  df-cj 14460  df-re 14461  df-im 14462  df-sqrt 14596  df-abs 14597  df-clim 14847  df-rlim 14848  df-sum 15045
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator