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

Theorem gsumpt 17537
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  |-  B  =  ( Base `  G
)
gsumpt.z  |-  .0.  =  ( 0g `  G )
gsumpt.g  |-  ( ph  ->  G  e.  Mnd )
gsumpt.a  |-  ( ph  ->  A  e.  V )
gsumpt.x  |-  ( ph  ->  X  e.  A )
gsumpt.f  |-  ( ph  ->  F : A --> B )
gsumpt.s  |-  ( ph  ->  ( F supp  .0.  )  C_ 
{ X } )
Assertion
Ref Expression
gsumpt  |-  ( ph  ->  ( G  gsumg  F )  =  ( F `  X ) )

Proof of Theorem gsumpt
Dummy variable  a is distinct from all other variables.
StepHypRef Expression
1 gsumpt.f . . . 4  |-  ( ph  ->  F : A --> B )
2 gsumpt.x . . . . 5  |-  ( ph  ->  X  e.  A )
32snssd 4088 . . . 4  |-  ( ph  ->  { X }  C_  A )
41, 3feqresmpt 5879 . . 3  |-  ( ph  ->  ( F  |`  { X } )  =  ( a  e.  { X }  |->  ( F `  a ) ) )
54oveq2d 6265 . 2  |-  ( ph  ->  ( G  gsumg  ( F  |`  { X } ) )  =  ( G  gsumg  ( a  e.  { X }  |->  ( F `
 a ) ) ) )
6 gsumpt.b . . 3  |-  B  =  ( Base `  G
)
7 gsumpt.z . . 3  |-  .0.  =  ( 0g `  G )
8 eqid 2428 . . 3  |-  (Cntz `  G )  =  (Cntz `  G )
9 gsumpt.g . . 3  |-  ( ph  ->  G  e.  Mnd )
10 gsumpt.a . . 3  |-  ( ph  ->  A  e.  V )
111, 2ffvelrnd 5982 . . . . . . . 8  |-  ( ph  ->  ( F `  X
)  e.  B )
12 eqidd 2429 . . . . . . . 8  |-  ( ph  ->  ( ( F `  X ) ( +g  `  G ) ( F `
 X ) )  =  ( ( F `
 X ) ( +g  `  G ) ( F `  X
) ) )
13 eqid 2428 . . . . . . . . . 10  |-  ( +g  `  G )  =  ( +g  `  G )
146, 13, 8elcntzsn 16922 . . . . . . . . 9  |-  ( ( F `  X )  e.  B  ->  (
( F `  X
)  e.  ( (Cntz `  G ) `  {
( F `  X
) } )  <->  ( ( F `  X )  e.  B  /\  (
( F `  X
) ( +g  `  G
) ( F `  X ) )  =  ( ( F `  X ) ( +g  `  G ) ( F `
 X ) ) ) ) )
1511, 14syl 17 . . . . . . . 8  |-  ( ph  ->  ( ( F `  X )  e.  ( (Cntz `  G ) `  { ( F `  X ) } )  <-> 
( ( F `  X )  e.  B  /\  ( ( F `  X ) ( +g  `  G ) ( F `
 X ) )  =  ( ( F `
 X ) ( +g  `  G ) ( F `  X
) ) ) ) )
1611, 12, 15mpbir2and 930 . . . . . . 7  |-  ( ph  ->  ( F `  X
)  e.  ( (Cntz `  G ) `  {
( F `  X
) } ) )
1716snssd 4088 . . . . . 6  |-  ( ph  ->  { ( F `  X ) }  C_  ( (Cntz `  G ) `  { ( F `  X ) } ) )
18 eqid 2428 . . . . . . 7  |-  (mrCls `  (SubMnd `  G ) )  =  (mrCls `  (SubMnd `  G ) )
19 eqid 2428 . . . . . . 7  |-  ( Gs  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  =  ( Gs  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
208, 18, 19cntzspan 17425 . . . . . 6  |-  ( ( G  e.  Mnd  /\  { ( F `  X
) }  C_  (
(Cntz `  G ) `  { ( F `  X ) } ) )  ->  ( Gs  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  e. CMnd )
219, 17, 20syl2anc 665 . . . . 5  |-  ( ph  ->  ( Gs  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )  e. CMnd )
226submacs 16555 . . . . . . . 8  |-  ( G  e.  Mnd  ->  (SubMnd `  G )  e.  (ACS
`  B ) )
23 acsmre 15501 . . . . . . . 8  |-  ( (SubMnd `  G )  e.  (ACS
`  B )  -> 
(SubMnd `  G )  e.  (Moore `  B )
)
249, 22, 233syl 18 . . . . . . 7  |-  ( ph  ->  (SubMnd `  G )  e.  (Moore `  B )
)
2511snssd 4088 . . . . . . 7  |-  ( ph  ->  { ( F `  X ) }  C_  B )
2618mrccl 15460 . . . . . . 7  |-  ( ( (SubMnd `  G )  e.  (Moore `  B )  /\  { ( F `  X ) }  C_  B )  ->  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  e.  (SubMnd `  G )
)
2724, 25, 26syl2anc 665 . . . . . 6  |-  ( ph  ->  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } )  e.  (SubMnd `  G
) )
2819, 8submcmn2 17422 . . . . . 6  |-  ( ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  e.  (SubMnd `  G )  ->  ( ( Gs  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )  e. CMnd  <->  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  C_  ( (Cntz `  G ) `  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) ) ) )
2927, 28syl 17 . . . . 5  |-  ( ph  ->  ( ( Gs  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )  e. CMnd  <->  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  C_  ( (Cntz `  G ) `  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) ) ) )
3021, 29mpbid 213 . . . 4  |-  ( ph  ->  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) 
C_  ( (Cntz `  G ) `  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) ) )
31 ffn 5689 . . . . . . 7  |-  ( F : A --> B  ->  F  Fn  A )
321, 31syl 17 . . . . . 6  |-  ( ph  ->  F  Fn  A )
33 simpr 462 . . . . . . . . . 10  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  a  =  X )
3433fveq2d 5829 . . . . . . . . 9  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  a )  =  ( F `  X ) )
3524, 18, 25mrcssidd 15474 . . . . . . . . . . 11  |-  ( ph  ->  { ( F `  X ) }  C_  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
36 fvex 5835 . . . . . . . . . . . 12  |-  ( F `
 X )  e. 
_V
3736snss 4067 . . . . . . . . . . 11  |-  ( ( F `  X )  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } )  <->  { ( F `  X ) }  C_  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
3835, 37sylibr 215 . . . . . . . . . 10  |-  ( ph  ->  ( F `  X
)  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
3938ad2antrr 730 . . . . . . . . 9  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  X )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
4034, 39eqeltrd 2506 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
41 eldifsn 4068 . . . . . . . . . . 11  |-  ( a  e.  ( A  \  { X } )  <->  ( a  e.  A  /\  a  =/=  X ) )
42 gsumpt.s . . . . . . . . . . . 12  |-  ( ph  ->  ( F supp  .0.  )  C_ 
{ X } )
43 fvex 5835 . . . . . . . . . . . . . 14  |-  ( 0g
`  G )  e. 
_V
447, 43eqeltri 2502 . . . . . . . . . . . . 13  |-  .0.  e.  _V
4544a1i 11 . . . . . . . . . . . 12  |-  ( ph  ->  .0.  e.  _V )
461, 42, 10, 45suppssr 6901 . . . . . . . . . . 11  |-  ( (
ph  /\  a  e.  ( A  \  { X } ) )  -> 
( F `  a
)  =  .0.  )
4741, 46sylan2br 478 . . . . . . . . . 10  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  -> 
( F `  a
)  =  .0.  )
487subm0cl 16542 . . . . . . . . . . . 12  |-  ( ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  e.  (SubMnd `  G )  ->  .0.  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
4927, 48syl 17 . . . . . . . . . . 11  |-  ( ph  ->  .0.  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
5049adantr 466 . . . . . . . . . 10  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  ->  .0.  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
5147, 50eqeltrd 2506 . . . . . . . . 9  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  -> 
( F `  a
)  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
5251anassrs 652 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =/=  X )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
5340, 52pm2.61dane 2688 . . . . . . 7  |-  ( (
ph  /\  a  e.  A )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
5453ralrimiva 2779 . . . . . 6  |-  ( ph  ->  A. a  e.  A  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
55 ffnfv 6008 . . . . . 6  |-  ( F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } )  <->  ( F  Fn  A  /\  A. a  e.  A  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) ) )
5632, 54, 55sylanbrc 668 . . . . 5  |-  ( ph  ->  F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
57 frn 5695 . . . . 5  |-  ( F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } )  ->  ran  F 
C_  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
5856, 57syl 17 . . . 4  |-  ( ph  ->  ran  F  C_  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
598cntzidss 16934 . . . 4  |-  ( ( ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) 
C_  ( (Cntz `  G ) `  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  /\  ran  F  C_  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  ->  ran  F  C_  (
(Cntz `  G ) `  ran  F ) )
6030, 58, 59syl2anc 665 . . 3  |-  ( ph  ->  ran  F  C_  (
(Cntz `  G ) `  ran  F ) )
61 ffun 5691 . . . . 5  |-  ( F : A --> B  ->  Fun  F )
621, 61syl 17 . . . 4  |-  ( ph  ->  Fun  F )
63 snfi 7604 . . . . 5  |-  { X }  e.  Fin
64 ssfi 7745 . . . . 5  |-  ( ( { X }  e.  Fin  /\  ( F supp  .0.  )  C_  { X }
)  ->  ( F supp  .0.  )  e.  Fin )
6563, 42, 64sylancr 667 . . . 4  |-  ( ph  ->  ( F supp  .0.  )  e.  Fin )
66 fex 6097 . . . . . 6  |-  ( ( F : A --> B  /\  A  e.  V )  ->  F  e.  _V )
671, 10, 66syl2anc 665 . . . . 5  |-  ( ph  ->  F  e.  _V )
68 isfsupp 7840 . . . . 5  |-  ( ( F  e.  _V  /\  .0.  e.  _V )  -> 
( F finSupp  .0.  <->  ( Fun  F  /\  ( F supp  .0.  )  e.  Fin )
) )
6967, 45, 68syl2anc 665 . . . 4  |-  ( ph  ->  ( F finSupp  .0.  <->  ( Fun  F  /\  ( F supp  .0.  )  e.  Fin )
) )
7062, 65, 69mpbir2and 930 . . 3  |-  ( ph  ->  F finSupp  .0.  )
716, 7, 8, 9, 10, 1, 60, 42, 70gsumzres 17486 . 2  |-  ( ph  ->  ( G  gsumg  ( F  |`  { X } ) )  =  ( G  gsumg  F ) )
72 fveq2 5825 . . . 4  |-  ( a  =  X  ->  ( F `  a )  =  ( F `  X ) )
736, 72gsumsn 17530 . . 3  |-  ( ( G  e.  Mnd  /\  X  e.  A  /\  ( F `  X )  e.  B )  -> 
( G  gsumg  ( a  e.  { X }  |->  ( F `
 a ) ) )  =  ( F `
 X ) )
749, 2, 11, 73syl3anc 1264 . 2  |-  ( ph  ->  ( G  gsumg  ( a  e.  { X }  |->  ( F `
 a ) ) )  =  ( F `
 X ) )
755, 71, 743eqtr3d 2470 1  |-  ( ph  ->  ( G  gsumg  F )  =  ( F `  X ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 187    /\ wa 370    = wceq 1437    e. wcel 1872    =/= wne 2599   A.wral 2714   _Vcvv 3022    \ cdif 3376    C_ wss 3379   {csn 3941   class class class wbr 4366    |-> cmpt 4425   ran crn 4797    |` cres 4798   Fun wfun 5538    Fn wfn 5539   -->wf 5540   ` cfv 5544  (class class class)co 6249   supp csupp 6869   Fincfn 7524   finSupp cfsupp 7836   Basecbs 15064   ↾s cress 15065   +g cplusg 15133   0gc0g 15281    gsumg cgsu 15282  Moorecmre 15431  mrClscmrc 15432  ACScacs 15434   Mndcmnd 16478  SubMndcsubmnd 16524  Cntzccntz 16912  CMndccmn 17373
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-8 1874  ax-9 1876  ax-10 1891  ax-11 1896  ax-12 1909  ax-13 2063  ax-ext 2408  ax-rep 4479  ax-sep 4489  ax-nul 4498  ax-pow 4545  ax-pr 4603  ax-un 6541  ax-inf2 8099  ax-cnex 9546  ax-resscn 9547  ax-1cn 9548  ax-icn 9549  ax-addcl 9550  ax-addrcl 9551  ax-mulcl 9552  ax-mulrcl 9553  ax-mulcom 9554  ax-addass 9555  ax-mulass 9556  ax-distr 9557  ax-i2m1 9558  ax-1ne0 9559  ax-1rid 9560  ax-rnegex 9561  ax-rrecex 9562  ax-cnre 9563  ax-pre-lttri 9564  ax-pre-lttrn 9565  ax-pre-ltadd 9566  ax-pre-mulgt0 9567
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-eu 2280  df-mo 2281  df-clab 2415  df-cleq 2421  df-clel 2424  df-nfc 2558  df-ne 2601  df-nel 2602  df-ral 2719  df-rex 2720  df-reu 2721  df-rmo 2722  df-rab 2723  df-v 3024  df-sbc 3243  df-csb 3339  df-dif 3382  df-un 3384  df-in 3386  df-ss 3393  df-pss 3395  df-nul 3705  df-if 3855  df-pw 3926  df-sn 3942  df-pr 3944  df-tp 3946  df-op 3948  df-uni 4163  df-int 4199  df-iun 4244  df-iin 4245  df-br 4367  df-opab 4426  df-mpt 4427  df-tr 4462  df-eprel 4707  df-id 4711  df-po 4717  df-so 4718  df-fr 4755  df-se 4756  df-we 4757  df-xp 4802  df-rel 4803  df-cnv 4804  df-co 4805  df-dm 4806  df-rn 4807  df-res 4808  df-ima 4809  df-pred 5342  df-ord 5388  df-on 5389  df-lim 5390  df-suc 5391  df-iota 5508  df-fun 5546  df-fn 5547  df-f 5548  df-f1 5549  df-fo 5550  df-f1o 5551  df-fv 5552  df-isom 5553  df-riota 6211  df-ov 6252  df-oprab 6253  df-mpt2 6254  df-om 6651  df-1st 6751  df-2nd 6752  df-supp 6870  df-wrecs 6983  df-recs 7045  df-rdg 7083  df-1o 7137  df-oadd 7141  df-er 7318  df-en 7525  df-dom 7526  df-sdom 7527  df-fin 7528  df-fsupp 7837  df-oi 7978  df-card 8325  df-pnf 9628  df-mnf 9629  df-xr 9630  df-ltxr 9631  df-le 9632  df-sub 9813  df-neg 9814  df-nn 10561  df-2 10619  df-n0 10821  df-z 10889  df-uz 11111  df-fz 11736  df-fzo 11867  df-seq 12164  df-hash 12466  df-ndx 15067  df-slot 15068  df-base 15069  df-sets 15070  df-ress 15071  df-plusg 15146  df-0g 15283  df-gsum 15284  df-mre 15435  df-mrc 15436  df-acs 15438  df-mgm 16431  df-sgrp 16470  df-mnd 16480  df-submnd 16526  df-mulg 16619  df-cntz 16914  df-cmn 17375
This theorem is referenced by:  gsummpt1n0  17540  dprdfid  17593  evlslem3  18680  evlslem1  18681  coe1tmmul2  18812  coe1tmmul  18813  uvcresum  19293  frlmup2  19299  mamulid  19408  mamurid  19409  coe1mul3  22990  tayl0  23259  jensen  23856  linc1  39821
  Copyright terms: Public domain W3C validator