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

Theorem leibpisum 27271
Description: The Leibniz formula for π. This version of leibpi 27270 looks nicer but does not assert that the series is convergent so is not as practically useful. (Contributed by Mario Carneiro, 7-Apr-2015.)
Assertion
Ref Expression
leibpisum Σ𝑛 ∈ ℕ0 (( -1↑𝑛) / ((2 · 𝑛) + 1)) = (π / 4)

Proof of Theorem leibpisum
Dummy variable 𝑘 is distinct from all other variables.
StepHypRef Expression
1 nn0uz 13003 . . 3 ℕ0 = (ℤ≥‘0)
2 0zd 12705 . . 3 (⊤ → 0 ∈ ℤ)
3 oveq2 7428 . . . . . 6 (𝑘 = 𝑛 → ( -1↑𝑘) = ( -1↑𝑛))
4 oveq2 7428 . . . . . . 7 (𝑘 = 𝑛 → (2 · 𝑘) = (2 · 𝑛))
54oveq1d 7435 . . . . . 6 (𝑘 = 𝑛 → ((2 · 𝑘) + 1) = ((2 · 𝑛) + 1))
63, 5oveq12d 7438 . . . . 5 (𝑘 = 𝑛 → (( -1↑𝑘) / ((2 · 𝑘) + 1)) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
7 eqid 2760 . . . . 5 (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1))) = (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))
8 ovex 7453 . . . . 5 (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ V
96, 7, 8fvmpt 6993 . . . 4 (𝑛 ∈ ℕ0 → ((𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))‘𝑛) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
109adantl 487 . . 3 ((⊤ ∧ 𝑛 ∈ ℕ0) → ((𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))‘𝑛) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
11 neg1rr 12306 . . . . . . 7 -1 ∈ ℝ
12 reexpcl 14221 . . . . . . 7 (( -1 ∈ ℝ ∧ 𝑛 ∈ ℕ0) → ( -1↑𝑛) ∈ ℝ)
1311, 12mpan 703 . . . . . 6 (𝑛 ∈ ℕ0 → ( -1↑𝑛) ∈ ℝ)
14 2nn0 12623 . . . . . . . 8 2 ∈ ℕ0
15 nn0mulcl 12642 . . . . . . . 8 ((2 ∈ ℕ0 ∧ 𝑛 ∈ ℕ0) → (2 · 𝑛) ∈ ℕ0)
1614, 15mpan 703 . . . . . . 7 (𝑛 ∈ ℕ0 → (2 · 𝑛) ∈ ℕ0)
17 nn0p1nn 12645 . . . . . . 7 ((2 · 𝑛) ∈ ℕ0 → ((2 · 𝑛) + 1) ∈ ℕ)
1816, 17syl 18 . . . . . 6 (𝑛 ∈ ℕ0 → ((2 · 𝑛) + 1) ∈ ℕ)
1913, 18nndivred 12392 . . . . 5 (𝑛 ∈ ℕ0 → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℝ)
2019recnd 11337 . . . 4 (𝑛 ∈ ℕ0 → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℂ)
2120adantl 487 . . 3 ((⊤ ∧ 𝑛 ∈ ℕ0) → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℂ)
227leibpi 27270 . . . 4 seq0( + , (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))) ⇝ (π / 4)
2322a1i 11 . . 3 (⊤ → seq0( + , (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))) ⇝ (π / 4))
241, 2, 10, 21, 23isumclim 15923 . 2 (⊤ → Σ𝑛 ∈ ℕ0 (( -1↑𝑛) / ((2 · 𝑛) + 1)) = (π / 4))
2524mptru 1576 1 Σ𝑛 ∈ ℕ0 (( -1↑𝑛) / ((2 · 𝑛) + 1)) = (π / 4)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  ⊤wtru 1570   ∈ wcel 2144   class class class wbr 5102   ↦ cmpt 5185  ‘cfv 6538  (class class class)co 7420  ℂcc 11198  ℝcr 11199  0cc0 11200  1c1 11201   + caddc 11203   · cmul 11205   -cneg 11542   / cdiv 11973  ℕcn 12335  2c2 12397  4c4 12399  ℕ0cn0 12606  seqcseq 14144  ↑cexp 14204   ⇝ cli 15651  Σcsu 15853  πcpi 16232
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-inf2 9642  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277  ax-pre-sup 11278  ax-addf 11279
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-iin 4953  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-se 5604  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-of 7693  df-om 7878  df-1st 8001  df-2nd 8002  df-supp 8178  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-2o 8477  df-oadd 8480  df-er 8717  df-map 8849  df-pm 8850  df-ixp 8926  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-fsupp 9354  df-fi 9403  df-sup 9434  df-inf 9435  df-oi 9504  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-3 12406  df-4 12407  df-5 12408  df-6 12409  df-7 12410  df-8 12411  df-9 12412  df-n0 12607  df-xnn0 12680  df-z 12694  df-dec 12815  df-uz 12966  df-q 13076  df-rp 13121  df-xneg 13241  df-xadd 13242  df-xmul 13243  df-ioo 13480  df-ioc 13481  df-ico 13482  df-icc 13483  df-fz 13640  df-fzo 13789  df-fl 13932  df-mod 14010  df-seq 14145  df-exp 14205  df-fac 14418  df-bc 14447  df-hash 14475  df-shft 15220  df-cj 15266  df-re 15267  df-im 15268  df-sqrt 15402  df-abs 15403  df-limsup 15638  df-clim 15655  df-rlim 15656  df-sum 15854  df-ef 16233  df-sin 16235  df-cos 16236  df-tan 16237  df-pi 16238  df-dvds 16423  df-struct 17325  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409  df-plusg 17441  df-mulr 17442  df-starv 17443  df-sca 17444  df-vsca 17445  df-ip 17446  df-tset 17447  df-ple 17448  df-ds 17450  df-unif 17451  df-hom 17452  df-cco 17453  df-rest 17593  df-topn 17594  df-0g 17612  df-gsum 17613  df-topgen 17614  df-pt 17615  df-prds 17618  df-xrs 17674  df-qtop 17679  df-imas 17680  df-xps 17682  df-mre 17756  df-mrc 17757  df-acs 17759  df-mgm 18816  df-sgrp 18908  df-mnd 18924  df-submnd 18979  df-mulg 19278  df-cntz 19531  df-cmn 19996  df-psmet 21670  df-xmet 21671  df-met 21672  df-bl 21673  df-mopn 21674  df-fbas 21675  df-fg 21676  df-cnfld 21679  df-top 23212  df-topon 23229  df-topsp 23251  df-bases 23264  df-cld 23337  df-ntr 23338  df-cls 23339  df-nei 23416  df-lp 23454  df-perf 23455  df-cn 23545  df-cnp 23546  df-t1 23632  df-haus 23633  df-cmp 23705  df-tx 23881  df-hmeo 24074  df-fil 24165  df-fm 24257  df-flim 24258  df-flf 24259  df-xms 24639  df-ms 24640  df-tms 24641  df-cncf 25199  df-limc 26186  df-dv 26187  df-ulm 26704  df-log 26884  df-atan 27195
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator