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

Theorem gsumpt 18289
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 4314 . . . 4 (𝜑 → {𝑋} ⊆ 𝐴)
41, 3feqresmpt 6212 . . 3 (𝜑 → (𝐹 ↾ {𝑋}) = (𝑎 ∈ {𝑋} ↦ (𝐹𝑎)))
54oveq2d 6626 . 2 (𝜑 → (𝐺 Σg (𝐹 ↾ {𝑋})) = (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))))
6 gsumpt.b . . 3 𝐵 = (Base‘𝐺)
7 gsumpt.z . . 3 0 = (0g𝐺)
8 eqid 2621 . . 3 (Cntz‘𝐺) = (Cntz‘𝐺)
9 gsumpt.g . . 3 (𝜑𝐺 ∈ Mnd)
10 gsumpt.a . . 3 (𝜑𝐴𝑉)
111, 2ffvelrnd 6321 . . . . . . . 8 (𝜑 → (𝐹𝑋) ∈ 𝐵)
12 eqidd 2622 . . . . . . . 8 (𝜑 → ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))
13 eqid 2621 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
146, 13, 8elcntzsn 17686 . . . . . . . . 9 ((𝐹𝑋) ∈ 𝐵 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1511, 14syl 17 . . . . . . . 8 (𝜑 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1611, 12, 15mpbir2and 956 . . . . . . 7 (𝜑 → (𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
1716snssd 4314 . . . . . 6 (𝜑 → {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
18 eqid 2621 . . . . . . 7 (mrCls‘(SubMnd‘𝐺)) = (mrCls‘(SubMnd‘𝐺))
19 eqid 2621 . . . . . . 7 (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) = (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
208, 18, 19cntzspan 18175 . . . . . 6 ((𝐺 ∈ Mnd ∧ {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)})) → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
219, 17, 20syl2anc 692 . . . . 5 (𝜑 → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
226submacs 17293 . . . . . . . 8 (𝐺 ∈ Mnd → (SubMnd‘𝐺) ∈ (ACS‘𝐵))
23 acsmre 16241 . . . . . . . 8 ((SubMnd‘𝐺) ∈ (ACS‘𝐵) → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
249, 22, 233syl 18 . . . . . . 7 (𝜑 → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
2511snssd 4314 . . . . . . 7 (𝜑 → {(𝐹𝑋)} ⊆ 𝐵)
2618mrccl 16199 . . . . . . 7 (((SubMnd‘𝐺) ∈ (Moore‘𝐵) ∧ {(𝐹𝑋)} ⊆ 𝐵) → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2724, 25, 26syl2anc 692 . . . . . 6 (𝜑 → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2819, 8submcmn2 18172 . . . . . 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 222 . . . 4 (𝜑 → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})))
31 ffn 6007 . . . . . . 7 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
321, 31syl 17 . . . . . 6 (𝜑𝐹 Fn 𝐴)
33 simpr 477 . . . . . . . . . 10 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → 𝑎 = 𝑋)
3433fveq2d 6157 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) = (𝐹𝑋))
3524, 18, 25mrcssidd 16213 . . . . . . . . . . 11 (𝜑 → {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
36 fvex 6163 . . . . . . . . . . . 12 (𝐹𝑋) ∈ V
3736snss 4291 . . . . . . . . . . 11 ((𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3835, 37sylibr 224 . . . . . . . . . 10 (𝜑 → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3938ad2antrr 761 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4034, 39eqeltrd 2698 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
41 eldifsn 4292 . . . . . . . . . . 11 (𝑎 ∈ (𝐴 ∖ {𝑋}) ↔ (𝑎𝐴𝑎𝑋))
42 gsumpt.s . . . . . . . . . . . 12 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
43 fvex 6163 . . . . . . . . . . . . . 14 (0g𝐺) ∈ V
447, 43eqeltri 2694 . . . . . . . . . . . . 13 0 ∈ V
4544a1i 11 . . . . . . . . . . . 12 (𝜑0 ∈ V)
461, 42, 10, 45suppssr 7278 . . . . . . . . . . 11 ((𝜑𝑎 ∈ (𝐴 ∖ {𝑋})) → (𝐹𝑎) = 0 )
4741, 46sylan2br 493 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) = 0 )
487subm0cl 17280 . . . . . . . . . . . 12 (((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4927, 48syl 17 . . . . . . . . . . 11 (𝜑0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5049adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5147, 50eqeltrd 2698 . . . . . . . . 9 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5251anassrs 679 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5340, 52pm2.61dane 2877 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5453ralrimiva 2961 . . . . . 6 (𝜑 → ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
55 ffnfv 6349 . . . . . 6 (𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ (𝐹 Fn 𝐴 ∧ ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})))
5632, 54, 55sylanbrc 697 . . . . 5 (𝜑𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
57 frn 6015 . . . . 5 (𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) → ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5856, 57syl 17 . . . 4 (𝜑 → ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
598cntzidss 17698 . . . 4 ((((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∧ ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
6030, 58, 59syl2anc 692 . . 3 (𝜑 → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
61 ffun 6010 . . . . 5 (𝐹:𝐴𝐵 → Fun 𝐹)
621, 61syl 17 . . . 4 (𝜑 → Fun 𝐹)
63 snfi 7989 . . . . 5 {𝑋} ∈ Fin
64 ssfi 8131 . . . . 5 (({𝑋} ∈ Fin ∧ (𝐹 supp 0 ) ⊆ {𝑋}) → (𝐹 supp 0 ) ∈ Fin)
6563, 42, 64sylancr 694 . . . 4 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
66 fex 6450 . . . . . 6 ((𝐹:𝐴𝐵𝐴𝑉) → 𝐹 ∈ V)
671, 10, 66syl2anc 692 . . . . 5 (𝜑𝐹 ∈ V)
68 isfsupp 8230 . . . . 5 ((𝐹 ∈ V ∧ 0 ∈ V) → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
6967, 45, 68syl2anc 692 . . . 4 (𝜑 → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
7062, 65, 69mpbir2and 956 . . 3 (𝜑𝐹 finSupp 0 )
716, 7, 8, 9, 10, 1, 60, 42, 70gsumzres 18238 . 2 (𝜑 → (𝐺 Σg (𝐹 ↾ {𝑋})) = (𝐺 Σg 𝐹))
72 fveq2 6153 . . . 4 (𝑎 = 𝑋 → (𝐹𝑎) = (𝐹𝑋))
736, 72gsumsn 18282 . . 3 ((𝐺 ∈ Mnd ∧ 𝑋𝐴 ∧ (𝐹𝑋) ∈ 𝐵) → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
749, 2, 11, 73syl3anc 1323 . 2 (𝜑 → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
755, 71, 743eqtr3d 2663 1 (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wne 2790  wral 2907  Vcvv 3189  cdif 3556  wss 3559  {csn 4153   class class class wbr 4618  cmpt 4678  ran crn 5080  cres 5081  Fun wfun 5846   Fn wfn 5847  wf 5848  cfv 5852  (class class class)co 6610   supp csupp 7247  Fincfn 7906   finSupp cfsupp 8226  Basecbs 15788  s cress 15789  +gcplusg 15869  0gc0g 16028   Σg cgsu 16029  Moorecmre 16170  mrClscmrc 16171  ACScacs 16173  Mndcmnd 17222  SubMndcsubmnd 17262  Cntzccntz 17676  CMndccmn 18121
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909  ax-inf2 8489  ax-cnex 9943  ax-resscn 9944  ax-1cn 9945  ax-icn 9946  ax-addcl 9947  ax-addrcl 9948  ax-mulcl 9949  ax-mulrcl 9950  ax-mulcom 9951  ax-addass 9952  ax-mulass 9953  ax-distr 9954  ax-i2m1 9955  ax-1ne0 9956  ax-1rid 9957  ax-rnegex 9958  ax-rrecex 9959  ax-cnre 9960  ax-pre-lttri 9961  ax-pre-lttrn 9962  ax-pre-ltadd 9963  ax-pre-mulgt0 9964
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-iin 4493  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-se 5039  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5644  df-ord 5690  df-on 5691  df-lim 5692  df-suc 5693  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-isom 5861  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-om 7020  df-1st 7120  df-2nd 7121  df-supp 7248  df-wrecs 7359  df-recs 7420  df-rdg 7458  df-1o 7512  df-oadd 7516  df-er 7694  df-en 7907  df-dom 7908  df-sdom 7909  df-fin 7910  df-fsupp 8227  df-oi 8366  df-card 8716  df-pnf 10027  df-mnf 10028  df-xr 10029  df-ltxr 10030  df-le 10031  df-sub 10219  df-neg 10220  df-nn 10972  df-2 11030  df-n0 11244  df-z 11329  df-uz 11639  df-fz 12276  df-fzo 12414  df-seq 12749  df-hash 13065  df-ndx 15791  df-slot 15792  df-base 15793  df-sets 15794  df-ress 15795  df-plusg 15882  df-0g 16030  df-gsum 16031  df-mre 16174  df-mrc 16175  df-acs 16177  df-mgm 17170  df-sgrp 17212  df-mnd 17223  df-submnd 17264  df-mulg 17469  df-cntz 17678  df-cmn 18123
This theorem is referenced by:  gsummpt1n0  18292  dprdfid  18344  evlslem3  19442  evlslem1  19443  coe1tmmul2  19574  coe1tmmul  19575  uvcresum  20060  frlmup2  20066  mamulid  20175  mamurid  20176  coe1mul3  23776  tayl0  24033  jensen  24628  linc1  41523
  Copyright terms: Public domain W3C validator