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

Theorem trirecip 15784
Description: The sum of the reciprocals of the triangle numbers converge to two. This is Metamath 100 proof #42. (Contributed by Scott Fenton, 23-Apr-2014.) (Revised by Mario Carneiro, 22-May-2014.)
Assertion
Ref Expression
trirecip Σ𝑘 ∈ ℕ (2 / (𝑘 · (𝑘 + 1))) = 2

Proof of Theorem trirecip
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 2cnd 12221 . . . 4 (𝑘 ∈ ℕ → 2 ∈ ℂ)
2 peano2nn 12155 . . . . . 6 (𝑘 ∈ ℕ → (𝑘 + 1) ∈ ℕ)
3 nnmulcl 12167 . . . . . 6 ((𝑘 ∈ ℕ ∧ (𝑘 + 1) ∈ ℕ) → (𝑘 · (𝑘 + 1)) ∈ ℕ)
42, 3mpdan 687 . . . . 5 (𝑘 ∈ ℕ → (𝑘 · (𝑘 + 1)) ∈ ℕ)
54nncnd 12159 . . . 4 (𝑘 ∈ ℕ → (𝑘 · (𝑘 + 1)) ∈ ℂ)
64nnne0d 12193 . . . 4 (𝑘 ∈ ℕ → (𝑘 · (𝑘 + 1)) ≠ 0)
71, 5, 6divrecd 11918 . . 3 (𝑘 ∈ ℕ → (2 / (𝑘 · (𝑘 + 1))) = (2 · (1 / (𝑘 · (𝑘 + 1)))))
87sumeq2i 15619 . 2 Σ𝑘 ∈ ℕ (2 / (𝑘 · (𝑘 + 1))) = Σ𝑘 ∈ ℕ (2 · (1 / (𝑘 · (𝑘 + 1))))
9 nnuz 12788 . . . . 5 ℕ = (ℤ‘1)
10 1zzd 12520 . . . . 5 (⊤ → 1 ∈ ℤ)
11 id 22 . . . . . . . . 9 (𝑛 = 𝑘𝑛 = 𝑘)
12 oveq1 7363 . . . . . . . . 9 (𝑛 = 𝑘 → (𝑛 + 1) = (𝑘 + 1))
1311, 12oveq12d 7374 . . . . . . . 8 (𝑛 = 𝑘 → (𝑛 · (𝑛 + 1)) = (𝑘 · (𝑘 + 1)))
1413oveq2d 7372 . . . . . . 7 (𝑛 = 𝑘 → (1 / (𝑛 · (𝑛 + 1))) = (1 / (𝑘 · (𝑘 + 1))))
15 eqid 2734 . . . . . . 7 (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1)))) = (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))
16 ovex 7389 . . . . . . 7 (1 / (𝑘 · (𝑘 + 1))) ∈ V
1714, 15, 16fvmpt 6939 . . . . . 6 (𝑘 ∈ ℕ → ((𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))‘𝑘) = (1 / (𝑘 · (𝑘 + 1))))
1817adantl 481 . . . . 5 ((⊤ ∧ 𝑘 ∈ ℕ) → ((𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))‘𝑘) = (1 / (𝑘 · (𝑘 + 1))))
194nnrecred 12194 . . . . . . 7 (𝑘 ∈ ℕ → (1 / (𝑘 · (𝑘 + 1))) ∈ ℝ)
2019recnd 11158 . . . . . 6 (𝑘 ∈ ℕ → (1 / (𝑘 · (𝑘 + 1))) ∈ ℂ)
2120adantl 481 . . . . 5 ((⊤ ∧ 𝑘 ∈ ℕ) → (1 / (𝑘 · (𝑘 + 1))) ∈ ℂ)
2215trireciplem 15783 . . . . . . 7 seq1( + , (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))) ⇝ 1
2322a1i 11 . . . . . 6 (⊤ → seq1( + , (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))) ⇝ 1)
24 climrel 15413 . . . . . . 7 Rel ⇝
2524releldmi 5895 . . . . . 6 (seq1( + , (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))) ⇝ 1 → seq1( + , (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))) ∈ dom ⇝ )
2623, 25syl 17 . . . . 5 (⊤ → seq1( + , (𝑛 ∈ ℕ ↦ (1 / (𝑛 · (𝑛 + 1))))) ∈ dom ⇝ )
27 2cnd 12221 . . . . 5 (⊤ → 2 ∈ ℂ)
289, 10, 18, 21, 26, 27isummulc2 15683 . . . 4 (⊤ → (2 · Σ𝑘 ∈ ℕ (1 / (𝑘 · (𝑘 + 1)))) = Σ𝑘 ∈ ℕ (2 · (1 / (𝑘 · (𝑘 + 1)))))
299, 10, 18, 21, 23isumclim 15678 . . . . 5 (⊤ → Σ𝑘 ∈ ℕ (1 / (𝑘 · (𝑘 + 1))) = 1)
3029oveq2d 7372 . . . 4 (⊤ → (2 · Σ𝑘 ∈ ℕ (1 / (𝑘 · (𝑘 + 1)))) = (2 · 1))
3128, 30eqtr3d 2771 . . 3 (⊤ → Σ𝑘 ∈ ℕ (2 · (1 / (𝑘 · (𝑘 + 1)))) = (2 · 1))
3231mptru 1548 . 2 Σ𝑘 ∈ ℕ (2 · (1 / (𝑘 · (𝑘 + 1)))) = (2 · 1)
33 2t1e2 12301 . 2 (2 · 1) = 2
348, 32, 333eqtri 2761 1 Σ𝑘 ∈ ℕ (2 / (𝑘 · (𝑘 + 1))) = 2
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  wtru 1542  wcel 2113   class class class wbr 5096  cmpt 5177  dom cdm 5622  cfv 6490  (class class class)co 7356  cc 11022  1c1 11025   + caddc 11027   · cmul 11029   / cdiv 11792  cn 12143  2c2 12198  seqcseq 13922  cli 15405  Σcsu 15607
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 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-rep 5222  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-inf2 9548  ax-cnex 11080  ax-resscn 11081  ax-1cn 11082  ax-icn 11083  ax-addcl 11084  ax-addrcl 11085  ax-mulcl 11086  ax-mulrcl 11087  ax-mulcom 11088  ax-addass 11089  ax-mulass 11090  ax-distr 11091  ax-i2m1 11092  ax-1ne0 11093  ax-1rid 11094  ax-rnegex 11095  ax-rrecex 11096  ax-cnre 11097  ax-pre-lttri 11098  ax-pre-lttrn 11099  ax-pre-ltadd 11100  ax-pre-mulgt0 11101  ax-pre-sup 11102
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-rmo 3348  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-int 4901  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-se 5576  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-isom 6499  df-riota 7313  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-1st 7931  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-1o 8395  df-er 8633  df-pm 8764  df-en 8882  df-dom 8883  df-sdom 8884  df-fin 8885  df-sup 9343  df-inf 9344  df-oi 9413  df-card 9849  df-pnf 11166  df-mnf 11167  df-xr 11168  df-ltxr 11169  df-le 11170  df-sub 11364  df-neg 11365  df-div 11793  df-nn 12144  df-2 12206  df-3 12207  df-n0 12400  df-z 12487  df-uz 12750  df-rp 12904  df-fz 13422  df-fzo 13569  df-fl 13710  df-seq 13923  df-exp 13983  df-hash 14252  df-shft 14988  df-cj 15020  df-re 15021  df-im 15022  df-sqrt 15156  df-abs 15157  df-clim 15409  df-rlim 15410  df-sum 15608
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator