ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  seqcaoprg GIF version

Theorem seqcaoprg 10607
Description: The sum of two infinite series (generalized to an arbitrary commutative and associative operation). (Contributed by NM, 17-Mar-2005.) (Revised by Mario Carneiro, 30-May-2014.)
Hypotheses
Ref Expression
seqcaopr.1 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
seqcaopr.2 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
seqcaopr.3 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
seqcaopr.4 (𝜑𝑁 ∈ (ℤ𝑀))
seqcaopr.5 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ 𝑆)
seqcaopr.6 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐺𝑘) ∈ 𝑆)
seqcaopr.7 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = ((𝐹𝑘) + (𝐺𝑘)))
seqcaoprg.p (𝜑+𝑉)
seqcaoprg.f (𝜑𝐹𝑊)
seqcaoprg.g (𝜑𝐺𝑋)
seqcaoprg.h (𝜑𝐻𝑌)
Assertion
Ref Expression
seqcaoprg (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = ((seq𝑀( + , 𝐹)‘𝑁) + (seq𝑀( + , 𝐺)‘𝑁)))
Distinct variable groups:   𝑘,𝐹   𝑘,𝐺   𝑘,𝐻   𝑥,𝑘,𝑦,𝑧,𝜑   𝑘,𝑀   + ,𝑘,𝑥,𝑦,𝑧   𝑆,𝑘,𝑥,𝑦,𝑧   𝑘,𝑁
Allowed substitution hints:   𝐹(𝑥,𝑦,𝑧)   𝐺(𝑥,𝑦,𝑧)   𝐻(𝑥,𝑦,𝑧)   𝑀(𝑥,𝑦,𝑧)   𝑁(𝑥,𝑦,𝑧)   𝑉(𝑥,𝑦,𝑧,𝑘)   𝑊(𝑥,𝑦,𝑧,𝑘)   𝑋(𝑥,𝑦,𝑧,𝑘)   𝑌(𝑥,𝑦,𝑧,𝑘)

Proof of Theorem seqcaoprg
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 seqcaopr.1 . . 3 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) ∈ 𝑆)
21caovclg 6080 . 2 ((𝜑 ∧ (𝑎𝑆𝑏𝑆)) → (𝑎 + 𝑏) ∈ 𝑆)
3 simpl 109 . . . . . . 7 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → 𝜑)
4 simprrl 539 . . . . . . 7 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → 𝑐𝑆)
5 simprlr 538 . . . . . . 7 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → 𝑏𝑆)
6 seqcaopr.2 . . . . . . . 8 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
76caovcomg 6083 . . . . . . 7 ((𝜑 ∧ (𝑐𝑆𝑏𝑆)) → (𝑐 + 𝑏) = (𝑏 + 𝑐))
83, 4, 5, 7syl12anc 1247 . . . . . 6 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → (𝑐 + 𝑏) = (𝑏 + 𝑐))
98oveq1d 5940 . . . . 5 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑐 + 𝑏) + 𝑑) = ((𝑏 + 𝑐) + 𝑑))
10 simprrr 540 . . . . . 6 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → 𝑑𝑆)
11 seqcaopr.3 . . . . . . 7 ((𝜑 ∧ (𝑥𝑆𝑦𝑆𝑧𝑆)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
1211caovassg 6086 . . . . . 6 ((𝜑 ∧ (𝑐𝑆𝑏𝑆𝑑𝑆)) → ((𝑐 + 𝑏) + 𝑑) = (𝑐 + (𝑏 + 𝑑)))
133, 4, 5, 10, 12syl13anc 1251 . . . . 5 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑐 + 𝑏) + 𝑑) = (𝑐 + (𝑏 + 𝑑)))
1411caovassg 6086 . . . . . 6 ((𝜑 ∧ (𝑏𝑆𝑐𝑆𝑑𝑆)) → ((𝑏 + 𝑐) + 𝑑) = (𝑏 + (𝑐 + 𝑑)))
153, 5, 4, 10, 14syl13anc 1251 . . . . 5 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑏 + 𝑐) + 𝑑) = (𝑏 + (𝑐 + 𝑑)))
169, 13, 153eqtr3d 2237 . . . 4 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → (𝑐 + (𝑏 + 𝑑)) = (𝑏 + (𝑐 + 𝑑)))
1716oveq2d 5941 . . 3 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → (𝑎 + (𝑐 + (𝑏 + 𝑑))) = (𝑎 + (𝑏 + (𝑐 + 𝑑))))
18 simprll 537 . . . 4 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → 𝑎𝑆)
191caovclg 6080 . . . . 5 ((𝜑 ∧ (𝑏𝑆𝑑𝑆)) → (𝑏 + 𝑑) ∈ 𝑆)
203, 5, 10, 19syl12anc 1247 . . . 4 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → (𝑏 + 𝑑) ∈ 𝑆)
2111caovassg 6086 . . . 4 ((𝜑 ∧ (𝑎𝑆𝑐𝑆 ∧ (𝑏 + 𝑑) ∈ 𝑆)) → ((𝑎 + 𝑐) + (𝑏 + 𝑑)) = (𝑎 + (𝑐 + (𝑏 + 𝑑))))
223, 18, 4, 20, 21syl13anc 1251 . . 3 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑎 + 𝑐) + (𝑏 + 𝑑)) = (𝑎 + (𝑐 + (𝑏 + 𝑑))))
231caovclg 6080 . . . . 5 ((𝜑 ∧ (𝑐𝑆𝑑𝑆)) → (𝑐 + 𝑑) ∈ 𝑆)
2423adantrl 478 . . . 4 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → (𝑐 + 𝑑) ∈ 𝑆)
2511caovassg 6086 . . . 4 ((𝜑 ∧ (𝑎𝑆𝑏𝑆 ∧ (𝑐 + 𝑑) ∈ 𝑆)) → ((𝑎 + 𝑏) + (𝑐 + 𝑑)) = (𝑎 + (𝑏 + (𝑐 + 𝑑))))
263, 18, 5, 24, 25syl13anc 1251 . . 3 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑎 + 𝑏) + (𝑐 + 𝑑)) = (𝑎 + (𝑏 + (𝑐 + 𝑑))))
2717, 22, 263eqtr4d 2239 . 2 ((𝜑 ∧ ((𝑎𝑆𝑏𝑆) ∧ (𝑐𝑆𝑑𝑆))) → ((𝑎 + 𝑐) + (𝑏 + 𝑑)) = ((𝑎 + 𝑏) + (𝑐 + 𝑑)))
28 seqcaopr.4 . 2 (𝜑𝑁 ∈ (ℤ𝑀))
29 seqcaopr.5 . 2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ 𝑆)
30 seqcaopr.6 . 2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐺𝑘) ∈ 𝑆)
31 seqcaopr.7 . 2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐻𝑘) = ((𝐹𝑘) + (𝐺𝑘)))
32 seqcaoprg.p . 2 (𝜑+𝑉)
33 seqcaoprg.f . 2 (𝜑𝐹𝑊)
34 seqcaoprg.g . 2 (𝜑𝐺𝑋)
35 seqcaoprg.h . 2 (𝜑𝐻𝑌)
362, 2, 27, 28, 29, 30, 31, 32, 33, 34, 35seqcaopr2g 10605 1 (𝜑 → (seq𝑀( + , 𝐻)‘𝑁) = ((seq𝑀( + , 𝐹)‘𝑁) + (seq𝑀( + , 𝐺)‘𝑁)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  w3a 980   = wceq 1364  wcel 2167  cfv 5259  (class class class)co 5925  cuz 9620  ...cfz 10102  seqcseq 10558
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-coll 4149  ax-sep 4152  ax-nul 4160  ax-pow 4208  ax-pr 4243  ax-un 4469  ax-setind 4574  ax-iinf 4625  ax-cnex 7989  ax-resscn 7990  ax-1cn 7991  ax-1re 7992  ax-icn 7993  ax-addcl 7994  ax-addrcl 7995  ax-mulcl 7996  ax-addcom 7998  ax-addass 8000  ax-distr 8002  ax-i2m1 8003  ax-0lt1 8004  ax-0id 8006  ax-rnegex 8007  ax-cnre 8009  ax-pre-ltirr 8010  ax-pre-ltwlin 8011  ax-pre-lttrn 8012  ax-pre-ltadd 8014
This theorem depends on definitions:  df-bi 117  df-3or 981  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-eu 2048  df-mo 2049  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-nel 2463  df-ral 2480  df-rex 2481  df-reu 2482  df-rab 2484  df-v 2765  df-sbc 2990  df-csb 3085  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-nul 3452  df-pw 3608  df-sn 3629  df-pr 3630  df-op 3632  df-uni 3841  df-int 3876  df-iun 3919  df-br 4035  df-opab 4096  df-mpt 4097  df-tr 4133  df-id 4329  df-iord 4402  df-on 4404  df-ilim 4405  df-suc 4407  df-iom 4628  df-xp 4670  df-rel 4671  df-cnv 4672  df-co 4673  df-dm 4674  df-rn 4675  df-res 4676  df-ima 4677  df-iota 5220  df-fun 5261  df-fn 5262  df-f 5263  df-f1 5264  df-fo 5265  df-f1o 5266  df-fv 5267  df-riota 5880  df-ov 5928  df-oprab 5929  df-mpo 5930  df-1st 6207  df-2nd 6208  df-recs 6372  df-frec 6458  df-pnf 8082  df-mnf 8083  df-xr 8084  df-ltxr 8085  df-le 8086  df-sub 8218  df-neg 8219  df-inn 9010  df-n0 9269  df-z 9346  df-uz 9621  df-fz 10103  df-fzo 10237  df-seqfrec 10559
This theorem is referenced by:  gsumfzmptfidmadd  13547
  Copyright terms: Public domain W3C validator