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

Theorem gsumpt 19563
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 4742 . . . 4 (𝜑 → {𝑋} ⊆ 𝐴)
41, 3feqresmpt 6838 . . 3 (𝜑 → (𝐹 ↾ {𝑋}) = (𝑎 ∈ {𝑋} ↦ (𝐹𝑎)))
54oveq2d 7291 . 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 6962 . . . . . . . 8 (𝜑 → (𝐹𝑋) ∈ 𝐵)
12 eqidd 2739 . . . . . . . 8 (𝜑 → ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))
13 eqid 2738 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
146, 13, 8elcntzsn 18931 . . . . . . . . 9 ((𝐹𝑋) ∈ 𝐵 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1511, 14syl 17 . . . . . . . 8 (𝜑 → ((𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}) ↔ ((𝐹𝑋) ∈ 𝐵 ∧ ((𝐹𝑋)(+g𝐺)(𝐹𝑋)) = ((𝐹𝑋)(+g𝐺)(𝐹𝑋)))))
1611, 12, 15mpbir2and 710 . . . . . . 7 (𝜑 → (𝐹𝑋) ∈ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
1716snssd 4742 . . . . . 6 (𝜑 → {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)}))
18 eqid 2738 . . . . . . 7 (mrCls‘(SubMnd‘𝐺)) = (mrCls‘(SubMnd‘𝐺))
19 eqid 2738 . . . . . . 7 (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) = (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
208, 18, 19cntzspan 19445 . . . . . 6 ((𝐺 ∈ Mnd ∧ {(𝐹𝑋)} ⊆ ((Cntz‘𝐺)‘{(𝐹𝑋)})) → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
219, 17, 20syl2anc 584 . . . . 5 (𝜑 → (𝐺s ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∈ CMnd)
226submacs 18465 . . . . . . . 8 (𝐺 ∈ Mnd → (SubMnd‘𝐺) ∈ (ACS‘𝐵))
23 acsmre 17361 . . . . . . . 8 ((SubMnd‘𝐺) ∈ (ACS‘𝐵) → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
249, 22, 233syl 18 . . . . . . 7 (𝜑 → (SubMnd‘𝐺) ∈ (Moore‘𝐵))
2511snssd 4742 . . . . . . 7 (𝜑 → {(𝐹𝑋)} ⊆ 𝐵)
2618mrccl 17320 . . . . . . 7 (((SubMnd‘𝐺) ∈ (Moore‘𝐵) ∧ {(𝐹𝑋)} ⊆ 𝐵) → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2724, 25, 26syl2anc 584 . . . . . 6 (𝜑 → ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺))
2819, 8submcmn2 19440 . . . . . 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 6601 . . . . . 6 (𝜑𝐹 Fn 𝐴)
32 simpr 485 . . . . . . . . . 10 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → 𝑎 = 𝑋)
3332fveq2d 6778 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) = (𝐹𝑋))
3424, 18, 25mrcssidd 17334 . . . . . . . . . . 11 (𝜑 → {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
35 fvex 6787 . . . . . . . . . . . 12 (𝐹𝑋) ∈ V
3635snss 4719 . . . . . . . . . . 11 ((𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ {(𝐹𝑋)} ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3734, 36sylibr 233 . . . . . . . . . 10 (𝜑 → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3837ad2antrr 723 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑋) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
3933, 38eqeltrd 2839 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎 = 𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
40 eldifsn 4720 . . . . . . . . . . 11 (𝑎 ∈ (𝐴 ∖ {𝑋}) ↔ (𝑎𝐴𝑎𝑋))
41 gsumpt.s . . . . . . . . . . . 12 (𝜑 → (𝐹 supp 0 ) ⊆ {𝑋})
427fvexi 6788 . . . . . . . . . . . . 13 0 ∈ V
4342a1i 11 . . . . . . . . . . . 12 (𝜑0 ∈ V)
441, 41, 10, 43suppssr 8012 . . . . . . . . . . 11 ((𝜑𝑎 ∈ (𝐴 ∖ {𝑋})) → (𝐹𝑎) = 0 )
4540, 44sylan2br 595 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) = 0 )
467subm0cl 18450 . . . . . . . . . . . 12 (((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ∈ (SubMnd‘𝐺) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4727, 46syl 17 . . . . . . . . . . 11 (𝜑0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4847adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → 0 ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
4945, 48eqeltrd 2839 . . . . . . . . 9 ((𝜑 ∧ (𝑎𝐴𝑎𝑋)) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5049anassrs 468 . . . . . . . 8 (((𝜑𝑎𝐴) ∧ 𝑎𝑋) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5139, 50pm2.61dane 3032 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5251ralrimiva 3103 . . . . . 6 (𝜑 → ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
53 ffnfv 6992 . . . . . 6 (𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ↔ (𝐹 Fn 𝐴 ∧ ∀𝑎𝐴 (𝐹𝑎) ∈ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})))
5431, 52, 53sylanbrc 583 . . . . 5 (𝜑𝐹:𝐴⟶((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
5554frnd 6608 . . . 4 (𝜑 → ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}))
568cntzidss 18944 . . . 4 ((((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)}) ⊆ ((Cntz‘𝐺)‘((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) ∧ ran 𝐹 ⊆ ((mrCls‘(SubMnd‘𝐺))‘{(𝐹𝑋)})) → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
5730, 55, 56syl2anc 584 . . 3 (𝜑 → ran 𝐹 ⊆ ((Cntz‘𝐺)‘ran 𝐹))
581ffund 6604 . . . 4 (𝜑 → Fun 𝐹)
59 snfi 8834 . . . . 5 {𝑋} ∈ Fin
60 ssfi 8956 . . . . 5 (({𝑋} ∈ Fin ∧ (𝐹 supp 0 ) ⊆ {𝑋}) → (𝐹 supp 0 ) ∈ Fin)
6159, 41, 60sylancr 587 . . . 4 (𝜑 → (𝐹 supp 0 ) ∈ Fin)
621, 10fexd 7103 . . . . 5 (𝜑𝐹 ∈ V)
63 isfsupp 9132 . . . . 5 ((𝐹 ∈ V ∧ 0 ∈ V) → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
6462, 43, 63syl2anc 584 . . . 4 (𝜑 → (𝐹 finSupp 0 ↔ (Fun 𝐹 ∧ (𝐹 supp 0 ) ∈ Fin)))
6558, 61, 64mpbir2and 710 . . 3 (𝜑𝐹 finSupp 0 )
666, 7, 8, 9, 10, 1, 57, 41, 65gsumzres 19510 . 2 (𝜑 → (𝐺 Σg (𝐹 ↾ {𝑋})) = (𝐺 Σg 𝐹))
67 fveq2 6774 . . . 4 (𝑎 = 𝑋 → (𝐹𝑎) = (𝐹𝑋))
686, 67gsumsn 19555 . . 3 ((𝐺 ∈ Mnd ∧ 𝑋𝐴 ∧ (𝐹𝑋) ∈ 𝐵) → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
699, 2, 11, 68syl3anc 1370 . 2 (𝜑 → (𝐺 Σg (𝑎 ∈ {𝑋} ↦ (𝐹𝑎))) = (𝐹𝑋))
705, 66, 693eqtr3d 2786 1 (𝜑 → (𝐺 Σg 𝐹) = (𝐹𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wne 2943  wral 3064  Vcvv 3432  cdif 3884  wss 3887  {csn 4561   class class class wbr 5074  cmpt 5157  ran crn 5590  cres 5591  Fun wfun 6427   Fn wfn 6428  wf 6429  cfv 6433  (class class class)co 7275   supp csupp 7977  Fincfn 8733   finSupp cfsupp 9128  Basecbs 16912  s cress 16941  +gcplusg 16962  0gc0g 17150   Σg cgsu 17151  Moorecmre 17291  mrClscmrc 17292  ACScacs 17294  Mndcmnd 18385  SubMndcsubmnd 18429  Cntzccntz 18921  CMndccmn 19386
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-iin 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-fsupp 9129  df-oi 9269  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-fzo 13383  df-seq 13722  df-hash 14045  df-sets 16865  df-slot 16883  df-ndx 16895  df-base 16913  df-ress 16942  df-plusg 16975  df-0g 17152  df-gsum 17153  df-mre 17295  df-mrc 17296  df-acs 17298  df-mgm 18326  df-sgrp 18375  df-mnd 18386  df-submnd 18431  df-mulg 18701  df-cntz 18923  df-cmn 19388
This theorem is referenced by:  gsummpt1n0  19566  dprdfid  19620  uvcresum  21000  frlmup2  21006  evlslem3  21290  evlslem1  21292  coe1tmmul2  21447  coe1tmmul  21448  mamulid  21590  mamurid  21591  coe1mul3  25264  tayl0  25521  jensen  26138  linc1  45766
  Copyright terms: Public domain W3C validator