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

Theorem fprodcvg 16140
Description: The sequence of partial products of a finite product converges to the whole product. (Contributed by Scott Fenton, 4-Dec-2017.)
Hypotheses
Ref Expression
prodmo.1 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))
prodmo.2 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
prodrb.3 (𝜑 → 𝑁 ∈ (ℤ≥‘𝑀))
fprodcvg.4 (𝜑 → 𝐴 ⊆ (𝑀...𝑁))
Assertion
Ref Expression
fprodcvg (𝜑 → seq𝑀( · , 𝐹) ⇝ (seq𝑀( · , 𝐹)‘𝑁))
Distinct variable groups:   𝐴,𝑘   𝑘,𝐹   𝜑,𝑘   𝑘,𝑀   𝑘,𝑁
Allowed substitution hint:   𝐵(𝑘)

Proof of Theorem fprodcvg
Dummy variables 𝑛 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2766 . 2 (ℤ≥‘𝑁) = (ℤ≥‘𝑁)
2 prodrb.3 . . 3 (𝜑 → 𝑁 ∈ (ℤ≥‘𝑀))
3 eluzelz 13014 . . 3 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ)
42, 3syl 18 . 2 (𝜑 → 𝑁 ∈ ℤ)
5 seqex 14185 . . 3 seq𝑀( · , 𝐹) ∈ V
65a1i 11 . 2 (𝜑 → seq𝑀( · , 𝐹) ∈ V)
7 eqid 2766 . . . 4 (ℤ≥‘𝑀) = (ℤ≥‘𝑀)
8 eluzel2 13009 . . . . 5 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑀 ∈ ℤ)
92, 8syl 18 . . . 4 (𝜑 → 𝑀 ∈ ℤ)
10 eluzelz 13014 . . . . . . 7 (𝑘 ∈ (ℤ≥‘𝑀) → 𝑘 ∈ ℤ)
1110adantl 487 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → 𝑘 ∈ ℤ)
12 iftrue 4490 . . . . . . . . . 10 (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 1) = 𝐵)
1312adantl 487 . . . . . . . . 9 (((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 1) = 𝐵)
14 prodmo.2 . . . . . . . . . 10 ((𝜑 ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
1514adantlr 728 . . . . . . . . 9 (((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) ∧ 𝑘 ∈ 𝐴) → 𝐵 ∈ ℂ)
1613, 15eqeltrd 2867 . . . . . . . 8 (((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) ∧ 𝑘 ∈ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ)
1716ex 418 . . . . . . 7 ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → (𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ))
18 iffalse 4493 . . . . . . . 8 (¬ 𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 1) = 1)
19 ax-1cn 11296 . . . . . . . 8 1 ∈ ℂ
2018, 19eqeltrdi 2875 . . . . . . 7 (¬ 𝑘 ∈ 𝐴 → if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ)
2117, 20pm2.61d1 182 . . . . . 6 ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ)
22 prodmo.1 . . . . . . 7 𝐹 = (𝑘 ∈ ℤ ↦ if(𝑘 ∈ 𝐴, 𝐵, 1))
2322fvmpt2 7035 . . . . . 6 ((𝑘 ∈ ℤ ∧ if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 1))
2411, 21, 23syl2anc 596 . . . . 5 ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 1))
2524, 21eqeltrd 2867 . . . 4 ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → (𝐹‘𝑘) ∈ ℂ)
267, 9, 25prodf 16099 . . 3 (𝜑 → seq𝑀( · , 𝐹):(ℤ≥‘𝑀)⟶ℂ)
2726, 2ffvelcdmd 7116 . 2 (𝜑 → (seq𝑀( · , 𝐹)‘𝑁) ∈ ℂ)
28 mulrid 11344 . . . . 5 (𝑚 ∈ ℂ → (𝑚 · 1) = 𝑚)
2928adantl 487 . . . 4 (((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) ∧ 𝑚 ∈ ℂ) → (𝑚 · 1) = 𝑚)
302adantr 486 . . . 4 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → 𝑁 ∈ (ℤ≥‘𝑀))
31 simpr 490 . . . 4 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → 𝑛 ∈ (ℤ≥‘𝑁))
329adantr 486 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → 𝑀 ∈ ℤ)
3325adantlr 728 . . . . . 6 (((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) ∧ 𝑘 ∈ (ℤ≥‘𝑀)) → (𝐹‘𝑘) ∈ ℂ)
347, 32, 33prodf 16099 . . . . 5 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → seq𝑀( · , 𝐹):(ℤ≥‘𝑀)⟶ℂ)
3534, 30ffvelcdmd 7116 . . . 4 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → (seq𝑀( · , 𝐹)‘𝑁) ∈ ℂ)
36 elfzuz 13691 . . . . . 6 (𝑚 ∈ ((𝑁 + 1)...𝑛) → 𝑚 ∈ (ℤ≥‘(𝑁 + 1)))
37 eluzelz 13014 . . . . . . . . 9 (𝑚 ∈ (ℤ≥‘(𝑁 + 1)) → 𝑚 ∈ ℤ)
3837adantl 487 . . . . . . . 8 ((𝜑 ∧ 𝑚 ∈ (ℤ≥‘(𝑁 + 1))) → 𝑚 ∈ ℤ)
39 fprodcvg.4 . . . . . . . . . . . 12 (𝜑 → 𝐴 ⊆ (𝑀...𝑁))
4039sseld 3911 . . . . . . . . . . 11 (𝜑 → (𝑚 ∈ 𝐴 → 𝑚 ∈ (𝑀...𝑁)))
41 fznuz 13782 . . . . . . . . . . 11 (𝑚 ∈ (𝑀...𝑁) → ¬ 𝑚 ∈ (ℤ≥‘(𝑁 + 1)))
4240, 41syl6 36 . . . . . . . . . 10 (𝜑 → (𝑚 ∈ 𝐴 → ¬ 𝑚 ∈ (ℤ≥‘(𝑁 + 1))))
4342con2d 135 . . . . . . . . 9 (𝜑 → (𝑚 ∈ (ℤ≥‘(𝑁 + 1)) → ¬ 𝑚 ∈ 𝐴))
4443imp 412 . . . . . . . 8 ((𝜑 ∧ 𝑚 ∈ (ℤ≥‘(𝑁 + 1))) → ¬ 𝑚 ∈ 𝐴)
4538, 44eldifd 4052 . . . . . . 7 ((𝜑 ∧ 𝑚 ∈ (ℤ≥‘(𝑁 + 1))) → 𝑚 ∈ (ℤ ∖ 𝐴))
46 fveqeq2 6924 . . . . . . . 8 (𝑘 = 𝑚 → ((𝐹‘𝑘) = 1 ↔ (𝐹‘𝑚) = 1))
47 eldifi 4069 . . . . . . . . . 10 (𝑘 ∈ (ℤ ∖ 𝐴) → 𝑘 ∈ ℤ)
48 eldifn 4070 . . . . . . . . . . . 12 (𝑘 ∈ (ℤ ∖ 𝐴) → ¬ 𝑘 ∈ 𝐴)
4948, 18syl 18 . . . . . . . . . . 11 (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 1) = 1)
5049, 19eqeltrdi 2875 . . . . . . . . . 10 (𝑘 ∈ (ℤ ∖ 𝐴) → if(𝑘 ∈ 𝐴, 𝐵, 1) ∈ ℂ)
5147, 50, 23syl2anc 596 . . . . . . . . 9 (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = if(𝑘 ∈ 𝐴, 𝐵, 1))
5251, 49eqtrd 2801 . . . . . . . 8 (𝑘 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑘) = 1)
5346, 52vtoclga 3539 . . . . . . 7 (𝑚 ∈ (ℤ ∖ 𝐴) → (𝐹‘𝑚) = 1)
5445, 53syl 18 . . . . . 6 ((𝜑 ∧ 𝑚 ∈ (ℤ≥‘(𝑁 + 1))) → (𝐹‘𝑚) = 1)
5536, 54sylan2 605 . . . . 5 ((𝜑 ∧ 𝑚 ∈ ((𝑁 + 1)...𝑛)) → (𝐹‘𝑚) = 1)
5655adantlr 728 . . . 4 (((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) ∧ 𝑚 ∈ ((𝑁 + 1)...𝑛)) → (𝐹‘𝑚) = 1)
5729, 30, 31, 35, 56seqid2 14230 . . 3 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → (seq𝑀( · , 𝐹)‘𝑁) = (seq𝑀( · , 𝐹)‘𝑛))
5857eqcomd 2772 . 2 ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝑁)) → (seq𝑀( · , 𝐹)‘𝑛) = (seq𝑀( · , 𝐹)‘𝑁))
591, 4, 6, 27, 58climconst 15753 1 (𝜑 → seq𝑀( · , 𝐹) ⇝ (seq𝑀( · , 𝐹)‘𝑁))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  Vcvv 3453   ⊆ wss 3899   ∖ cdif 4047  ifcif 4484   class class class wbr 5107   ↦ cmpt 5191  ‘cfv 6565  (class class class)co 7450  ℂcc 11236  1c1 11239   + caddc 11241   · cmul 11243  ℤcz 12732  ℤ≥cuz 13004  ...cfz 13678  seqcseq 14183   ⇝ cli 15694
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-inf2 9678  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-n0 12646  df-z 12733  df-uz 13005  df-rp 13160  df-fz 13679  df-seq 14184  df-exp 14244  df-cj 15308  df-re 15309  df-im 15310  df-sqrt 15444  df-abs 15445  df-clim 15698
This theorem is used by:  prodmolem2a  16144
  Copyright terms: Public domain W3C validator