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

Theorem leibpisum 27298
Description: The Leibniz formula for π. This version of leibpi 27297 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 13027 . . 3 ℕ0 = (ℤ≥‘0)
2 0zd 12729 . . 3 (⊤ → 0 ∈ ℤ)
3 oveq2 7448 . . . . . 6 (𝑘 = 𝑛 → ( -1↑𝑘) = ( -1↑𝑛))
4 oveq2 7448 . . . . . . 7 (𝑘 = 𝑛 → (2 · 𝑘) = (2 · 𝑛))
54oveq1d 7455 . . . . . 6 (𝑘 = 𝑛 → ((2 · 𝑘) + 1) = ((2 · 𝑛) + 1))
63, 5oveq12d 7458 . . . . 5 (𝑘 = 𝑛 → (( -1↑𝑘) / ((2 · 𝑘) + 1)) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
7 eqid 2763 . . . . 5 (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1))) = (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))
8 ovex 7473 . . . . 5 (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ V
96, 7, 8fvmpt 7013 . . . 4 (𝑛 ∈ ℕ0 → ((𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))‘𝑛) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
109adantl 487 . . 3 ((⊤ ∧ 𝑛 ∈ ℕ0) → ((𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))‘𝑛) = (( -1↑𝑛) / ((2 · 𝑛) + 1)))
11 neg1rr 12330 . . . . . . 7 -1 ∈ ℝ
12 reexpcl 14245 . . . . . . 7 (( -1 ∈ ℝ ∧ 𝑛 ∈ ℕ0) → ( -1↑𝑛) ∈ ℝ)
1311, 12mpan 703 . . . . . 6 (𝑛 ∈ ℕ0 → ( -1↑𝑛) ∈ ℝ)
14 2nn0 12647 . . . . . . . 8 2 ∈ ℕ0
15 nn0mulcl 12666 . . . . . . . 8 ((2 ∈ ℕ0 ∧ 𝑛 ∈ ℕ0) → (2 · 𝑛) ∈ ℕ0)
1614, 15mpan 703 . . . . . . 7 (𝑛 ∈ ℕ0 → (2 · 𝑛) ∈ ℕ0)
17 nn0p1nn 12669 . . . . . . 7 ((2 · 𝑛) ∈ ℕ0 → ((2 · 𝑛) + 1) ∈ ℕ)
1816, 17syl 18 . . . . . 6 (𝑛 ∈ ℕ0 → ((2 · 𝑛) + 1) ∈ ℕ)
1913, 18nndivred 12416 . . . . 5 (𝑛 ∈ ℕ0 → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℝ)
2019recnd 11361 . . . 4 (𝑛 ∈ ℕ0 → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℂ)
2120adantl 487 . . 3 ((⊤ ∧ 𝑛 ∈ ℕ0) → (( -1↑𝑛) / ((2 · 𝑛) + 1)) ∈ ℂ)
227leibpi 27297 . . . 4 seq0( + , (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))) ⇝ (π / 4)
2322a1i 11 . . 3 (⊤ → seq0( + , (𝑘 ∈ ℕ0 ↦ (( -1↑𝑘) / ((2 · 𝑘) + 1)))) ⇝ (π / 4))
241, 2, 10, 21, 23isumclim 15949 . 2 (⊤ → Σ𝑛 ∈ ℕ0 (( -1↑𝑛) / ((2 · 𝑛) + 1)) = (π / 4))
2524mptru 1577 1 Σ𝑛 ∈ ℕ0 (( -1↑𝑛) / ((2 · 𝑛) + 1)) = (π / 4)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  ⊤wtru 1571   ∈ wcel 2147   class class class wbr 5106   ↦ cmpt 5189  ‘cfv 6555  (class class class)co 7440  ℂcc 11222  ℝcr 11223  0cc0 11224  1c1 11225   + caddc 11227   · cmul 11229   -cneg 11566   / cdiv 11997  ℕcn 12359  2c2 12421  4c4 12423  ℕ0cn0 12630  seqcseq 14168  ↑cexp 14228   ⇝ cli 15677  Σcsu 15879  πcpi 16258
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-inf2 9666  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301  ax-pre-sup 11302  ax-addf 11303
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-iin 4957  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-isom 6564  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-of 7714  df-om 7899  df-1st 8022  df-2nd 8023  df-supp 8202  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-1o 8501  df-2o 8502  df-oadd 8505  df-er 8742  df-map 8874  df-pm 8875  df-ixp 8951  df-en 8999  df-dom 9000  df-sdom 9001  df-fin 9002  df-fsupp 9379  df-fi 9427  df-sup 9458  df-inf 9459  df-oi 9528  df-card 10044  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-div 11998  df-nn 12360  df-2 12429  df-3 12430  df-4 12431  df-5 12432  df-6 12433  df-7 12434  df-8 12435  df-9 12436  df-n0 12631  df-xnn0 12704  df-z 12718  df-dec 12839  df-uz 12990  df-q 13100  df-rp 13145  df-xneg 13265  df-xadd 13266  df-xmul 13267  df-ioo 13504  df-ioc 13505  df-ico 13506  df-icc 13507  df-fz 13664  df-fzo 13813  df-fl 13956  df-mod 14034  df-seq 14169  df-exp 14229  df-fac 14442  df-bc 14471  df-hash 14499  df-shft 15246  df-cj 15292  df-re 15293  df-im 15294  df-sqrt 15428  df-abs 15429  df-limsup 15664  df-clim 15681  df-rlim 15682  df-sum 15880  df-ef 16259  df-sin 16261  df-cos 16262  df-tan 16263  df-pi 16264  df-dvds 16449  df-struct 17351  df-sets 17368  df-slot 17386  df-ndx 17398  df-base 17414  df-ress 17435  df-plusg 17467  df-mulr 17468  df-starv 17469  df-sca 17470  df-vsca 17471  df-ip 17472  df-tset 17473  df-ple 17474  df-ds 17476  df-unif 17477  df-hom 17478  df-cco 17479  df-rest 17619  df-topn 17620  df-0g 17638  df-gsum 17639  df-topgen 17640  df-pt 17641  df-prds 17644  df-xrs 17700  df-qtop 17705  df-imas 17706  df-xps 17708  df-mre 17782  df-mrc 17783  df-acs 17785  df-mgm 18842  df-sgrp 18934  df-mnd 18950  df-submnd 19005  df-mulg 19304  df-cntz 19558  df-cmn 20023  df-psmet 21697  df-xmet 21698  df-met 21699  df-bl 21700  df-mopn 21701  df-fbas 21702  df-fg 21703  df-cnfld 21706  df-top 23239  df-topon 23256  df-topsp 23278  df-bases 23291  df-cld 23364  df-ntr 23365  df-cls 23366  df-nei 23443  df-lp 23481  df-perf 23482  df-cn 23572  df-cnp 23573  df-t1 23659  df-haus 23660  df-cmp 23732  df-tx 23908  df-hmeo 24101  df-fil 24192  df-fm 24284  df-flim 24285  df-flf 24286  df-xms 24666  df-ms 24667  df-tms 24668  df-cncf 25226  df-limc 26213  df-dv 26214  df-ulm 26731  df-log 26911  df-atan 27222
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator