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

Theorem gsumpt 19478
Description: Sum of a family that is nonzero at at most one point. (Contributed by Stefan O'Rear, 7-Feb-2015.) (Revised by Mario Carneiro, 25-Apr-2016.) (Revised by AV, 6-Jun-2019.)
Hypotheses
Ref Expression
gsumpt.b 𝐵 = (Base‘𝐺)
gsumpt.z 0 = (0g𝐺)
gsumpt.g (𝜑𝐺 ∈ Mnd)
gsumpt.a (𝜑𝐴𝑉)
gsumpt.x (𝜑𝑋𝐴)
gsumpt.f (𝜑𝐹:𝐴𝐵)
gsumpt.s (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
Assertion
Ref Expression
gsumpt (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))

Proof of Theorem gsumpt
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 gsumpt.f . . . 4 (𝜑𝐹:𝐴𝐵)
2 gsumpt.x . . . . 5 (𝜑𝑋𝐴)
32snssd 4739 . . . 4 (𝜑 → {𝑋} ⊆ 𝐴)
41, 3feqresmpt 6820 . . 3 (𝜑 → (𝐹 ↾ {𝑋}) = (𝑎 ∈ {𝑋} ↦ (𝐹𝑎)))
54oveq2d 7271 . 2 (𝜑 → (𝐺 Σg (𝐹 ↾ {𝑋})) = (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))))
6 gsumpt.b . . 3 𝐵 = (Base‘𝐺)
7 gsumpt.z . . 3 0 = (0g𝐺)
8 eqid 2738 . . 3 (Cntz‘𝐺) = (Cntz‘𝐺)
9 gsumpt.g . . 3 (𝜑𝐺 ∈ Mnd)
10 gsumpt.a . . 3 (𝜑𝐴𝑉)
111, 2ffvelrnd 6944 . . . . . . . 8 (𝜑 → (𝐹𝑋) ∈ 𝐵)
12 eqidd 2739 . . . . . . . 8 (𝜑 → ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))
13 eqid 2738 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
146, 13, 8elcntzsn 18846 . . . . . . . . 9 ((𝐹𝑋) ∈ 𝐵 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1511, 14syl 17 . . . . . . . 8 (𝜑 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1611, 12, 15mpbir2and 709 . . . . . . 7 (𝜑 → (𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
1716snssd 4739 . . . . . 6 (𝜑 → {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
18 eqid 2738 . . . . . . 7 (mrCls‘(SubMnd‘𝐺)) = (mrCls‘(SubMnd‘𝐺))
19 eqid 2738 . . . . . . 7 (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) = (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
208, 18, 19cntzspan 19360 . . . . . 6 ((𝐺 ∈ Mnd ∧ {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)})) → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
219, 17, 20syl2anc 583 . . . . 5 (𝜑 → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
226submacs 18380 . . . . . . . 8 (𝐺 ∈ Mnd → (SubMnd‘𝐺) ∈ (ACS‘𝐵))
23 acsmre 17278 . . . . . . . 8 ((SubMnd‘𝐺) ∈ (ACS‘𝐵) → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
249, 22, 233syl 18 . . . . . . 7 (𝜑 → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
2511snssd 4739 . . . . . . 7 (𝜑 → {(𝐹𝑋)} ⊆ 𝐵)
2618mrccl 17237 . . . . . . 7 (((SubMnd‘𝐺) ∈ (Moore‘𝐵) ∧ {(𝐹𝑋)} ⊆ 𝐵) → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2724, 25, 26syl2anc 583 . . . . . 6 (𝜑 → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2819, 8submcmn2 19355 . . . . . 6 (((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺) → ((𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd ↔ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))))
2927, 28syl 17 . . . . 5 (𝜑 → ((𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd ↔ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))))
3021, 29mpbid 231 . . . 4 (𝜑 → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})))
311ffnd 6585 . . . . . 6 (𝜑𝐹 Fn 𝐴)
32 simpr 484 . . . . . . . . . 10 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → 𝑎 = 𝑋)
3332fveq2d 6760 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) = (𝐹𝑋))
3424, 18, 25mrcssidd 17251 . . . . . . . . . . 11 (𝜑 → {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
35 fvex 6769 . . . . . . . . . . . 12 (𝐹𝑋) ∈ V
3635snss 4716 . . . . . . . . . . 11 ((𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3734, 36sylibr 233 . . . . . . . . . 10 (𝜑 → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3837ad2antrr 722 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3933, 38eqeltrd 2839 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
40 eldifsn 4717 . . . . . . . . . . 11 (𝑎 ∈ (𝐴 ∖ {𝑋}) ↔ (𝑎𝐴𝑎𝑋))
41 gsumpt.s . . . . . . . . . . . 12 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
427fvexi 6770 . . . . . . . . . . . . 13 0 ∈ V
4342a1i 11 . . . . . . . . . . . 12 (𝜑0 ∈ V)
441, 41, 10, 43suppssr 7983 . . . . . . . . . . 11 ((𝜑𝑎 ∈ (𝐴 ∖ {𝑋})) → (𝐹𝑎) = 0 )
4540, 44sylan2br 594 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) = 0 )
467subm0cl 18365 . . . . . . . . . . . 12 (((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4727, 46syl 17 . . . . . . . . . . 11 (𝜑0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4847adantr 480 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4945, 48eqeltrd 2839 . . . . . . . . 9 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5049anassrs 467 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5139, 50pm2.61dane 3031 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5251ralrimiva 3107 . . . . . 6 (𝜑 → ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
53 ffnfv 6974 . . . . . 6 (𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ (𝐹 Fn 𝐴 ∧ ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})))
5431, 52, 53sylanbrc 582 . . . . 5 (𝜑𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5554frnd 6592 . . . 4 (𝜑 → ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
568cntzidss 18859 . . . 4 ((((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∧ ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
5730, 55, 56syl2anc 583 . . 3 (𝜑 → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
581ffund 6588 . . . 4 (𝜑 → Fun 𝐹)
59 snfi 8788 . . . . 5 {𝑋} ∈ Fin
60 ssfi 8918 . . . . 5 (({𝑋} ∈ Fin ∧ (𝐹 supp 0 ) ⊆ {𝑋}) → (𝐹 supp 0 ) ∈ Fin)
6159, 41, 60sylancr 586 . . . 4 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
621, 10fexd 7085 . . . . 5 (𝜑𝐹 ∈ V)
63 isfsupp 9062 . . . . 5 ((𝐹 ∈ V ∧ 0 ∈ V) → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
6462, 43, 63syl2anc 583 . . . 4 (𝜑 → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
6558, 61, 64mpbir2and 709 . . 3 (𝜑𝐹 finSupp 0 )
666, 7, 8, 9, 10, 1, 57, 41, 65gsumzres 19425 . 2 (𝜑 → (𝐺 Σg (𝐹 ↾ {𝑋})) = (𝐺 Σg 𝐹))
67 fveq2 6756 . . . 4 (𝑎 = 𝑋 → (𝐹𝑎) = (𝐹𝑋))
686, 67gsumsn 19470 . . 3 ((𝐺 ∈ Mnd ∧ 𝑋𝐴 ∧ (𝐹𝑋) ∈ 𝐵) → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
699, 2, 11, 68syl3anc 1369 . 2 (𝜑 → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
705, 66, 693eqtr3d 2786 1 (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  wral 3063  Vcvv 3422  cdif 3880  wss 3883  {csn 4558   class class class wbr 5070  cmpt 5153  ran crn 5581  cres 5582  Fun wfun 6412   Fn wfn 6413  wf 6414  cfv 6418  (class class class)co 7255   supp csupp 7948  Fincfn 8691   finSupp cfsupp 9058  Basecbs 16840  s cress 16867  +gcplusg 16888  0gc0g 17067   Σg cgsu 17068  Moorecmre 17208  mrClscmrc 17209  ACScacs 17211  Mndcmnd 18300  SubMndcsubmnd 18344  Cntzccntz 18836  CMndccmn 19301
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-iin 4924  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-supp 7949  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-fsupp 9059  df-oi 9199  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-fzo 13312  df-seq 13650  df-hash 13973  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-plusg 16901  df-0g 17069  df-gsum 17070  df-mre 17212  df-mrc 17213  df-acs 17215  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-submnd 18346  df-mulg 18616  df-cntz 18838  df-cmn 19303
This theorem is referenced by:  gsummpt1n0  19481  dprdfid  19535  uvcresum  20910  frlmup2  20916  evlslem3  21200  evlslem1  21202  coe1tmmul2  21357  coe1tmmul  21358  mamulid  21498  mamurid  21499  coe1mul3  25169  tayl0  25426  jensen  26043  linc1  45654
  Copyright terms: Public domain W3C validator