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

Theorem gsumpt 15550
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.)
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 "
( _V  \  {  .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 3945 . . . 4  |-  ( ph  ->  { X }  C_  A )
41, 3feqresmpt 5783 . . 3  |-  ( ph  ->  ( F  |`  { X } )  =  ( a  e.  { X }  |->  ( F `  a ) ) )
54oveq2d 6100 . 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 2438 . . 3  |-  (Cntz `  G )  =  (Cntz `  G )
9 gsumpt.g . . 3  |-  ( ph  ->  G  e.  Mnd )
10 gsumpt.a . . 3  |-  ( ph  ->  A  e.  V )
111, 2ffvelrnd 5874 . . . . . . . 8  |-  ( ph  ->  ( F `  X
)  e.  B )
12 eqidd 2439 . . . . . . . 8  |-  ( ph  ->  ( ( F `  X ) ( +g  `  G ) ( F `
 X ) )  =  ( ( F `
 X ) ( +g  `  G ) ( F `  X
) ) )
13 eqid 2438 . . . . . . . . . 10  |-  ( +g  `  G )  =  ( +g  `  G )
146, 13, 8elcntzsn 15129 . . . . . . . . 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 16 . . . . . . . 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 890 . . . . . . 7  |-  ( ph  ->  ( F `  X
)  e.  ( (Cntz `  G ) `  {
( F `  X
) } ) )
1716snssd 3945 . . . . . 6  |-  ( ph  ->  { ( F `  X ) }  C_  ( (Cntz `  G ) `  { ( F `  X ) } ) )
18 eqid 2438 . . . . . . 7  |-  (mrCls `  (SubMnd `  G ) )  =  (mrCls `  (SubMnd `  G ) )
19 eqid 2438 . . . . . . 7  |-  ( Gs  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  =  ( Gs  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
208, 18, 19cntzspan 15465 . . . . . 6  |-  ( ( G  e.  Mnd  /\  { ( F `  X
) }  C_  (
(Cntz `  G ) `  { ( F `  X ) } ) )  ->  ( Gs  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )  e. CMnd )
219, 17, 20syl2anc 644 . . . . 5  |-  ( ph  ->  ( Gs  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )  e. CMnd )
226submacs 14770 . . . . . . . 8  |-  ( G  e.  Mnd  ->  (SubMnd `  G )  e.  (ACS
`  B ) )
23 acsmre 13882 . . . . . . . 8  |-  ( (SubMnd `  G )  e.  (ACS
`  B )  -> 
(SubMnd `  G )  e.  (Moore `  B )
)
249, 22, 233syl 19 . . . . . . 7  |-  ( ph  ->  (SubMnd `  G )  e.  (Moore `  B )
)
2511snssd 3945 . . . . . . 7  |-  ( ph  ->  { ( F `  X ) }  C_  B )
2618mrccl 13841 . . . . . . 7  |-  ( ( (SubMnd `  G )  e.  (Moore `  B )  /\  { ( F `  X ) }  C_  B )  ->  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  e.  (SubMnd `  G )
)
2724, 25, 26syl2anc 644 . . . . . 6  |-  ( ph  ->  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } )  e.  (SubMnd `  G
) )
2819, 8submcmn2 15463 . . . . . 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 16 . . . . 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 203 . . . 4  |-  ( ph  ->  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) 
C_  ( (Cntz `  G ) `  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) ) )
31 ffn 5594 . . . . . . 7  |-  ( F : A --> B  ->  F  Fn  A )
321, 31syl 16 . . . . . 6  |-  ( ph  ->  F  Fn  A )
33 simpr 449 . . . . . . . . . 10  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  a  =  X )
3433fveq2d 5735 . . . . . . . . 9  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  a )  =  ( F `  X ) )
3524, 18, 25mrcssidd 13855 . . . . . . . . . . 11  |-  ( ph  ->  { ( F `  X ) }  C_  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
36 fvex 5745 . . . . . . . . . . . 12  |-  ( F `
 X )  e. 
_V
3736snss 3928 . . . . . . . . . . 11  |-  ( ( F `  X )  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } )  <->  { ( F `  X ) }  C_  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
3835, 37sylibr 205 . . . . . . . . . 10  |-  ( ph  ->  ( F `  X
)  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
3938ad2antrr 708 . . . . . . . . 9  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  X )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
4034, 39eqeltrd 2512 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =  X )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
41 eldifsn 3929 . . . . . . . . . . 11  |-  ( a  e.  ( A  \  { X } )  <->  ( a  e.  A  /\  a  =/=  X ) )
42 gsumpt.s . . . . . . . . . . . 12  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  C_  { X } )
431, 42suppssr 5867 . . . . . . . . . . 11  |-  ( (
ph  /\  a  e.  ( A  \  { X } ) )  -> 
( F `  a
)  =  .0.  )
4441, 43sylan2br 464 . . . . . . . . . 10  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  -> 
( F `  a
)  =  .0.  )
457subm0cl 14757 . . . . . . . . . . . 12  |-  ( ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } )  e.  (SubMnd `  G )  ->  .0.  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
4627, 45syl 16 . . . . . . . . . . 11  |-  ( ph  ->  .0.  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
4746adantr 453 . . . . . . . . . 10  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  ->  .0.  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
4844, 47eqeltrd 2512 . . . . . . . . 9  |-  ( (
ph  /\  ( a  e.  A  /\  a  =/=  X ) )  -> 
( F `  a
)  e.  ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
4948anassrs 631 . . . . . . . 8  |-  ( ( ( ph  /\  a  e.  A )  /\  a  =/=  X )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
5040, 49pm2.61dane 2684 . . . . . . 7  |-  ( (
ph  /\  a  e.  A )  ->  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `  { ( F `  X ) } ) )
5150ralrimiva 2791 . . . . . 6  |-  ( ph  ->  A. a  e.  A  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
52 ffnfv 5897 . . . . . 6  |-  ( F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } )  <->  ( F  Fn  A  /\  A. a  e.  A  ( F `  a )  e.  ( (mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) ) )
5332, 51, 52sylanbrc 647 . . . . 5  |-  ( ph  ->  F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } ) )
54 frn 5600 . . . . 5  |-  ( F : A --> ( (mrCls `  (SubMnd `  G )
) `  { ( F `  X ) } )  ->  ran  F 
C_  ( (mrCls `  (SubMnd `  G ) ) `
 { ( F `
 X ) } ) )
5553, 54syl 16 . . . 4  |-  ( ph  ->  ran  F  C_  (
(mrCls `  (SubMnd `  G
) ) `  {
( F `  X
) } ) )
568cntzidss 15141 . . . 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 ) )
5730, 55, 56syl2anc 644 . . 3  |-  ( ph  ->  ran  F  C_  (
(Cntz `  G ) `  ran  F ) )
58 snfi 7190 . . . 4  |-  { X }  e.  Fin
59 ssfi 7332 . . . 4  |-  ( ( { X }  e.  Fin  /\  ( `' F " ( _V  \  {  .0.  } ) )  C_  { X } )  -> 
( `' F "
( _V  \  {  .0.  } ) )  e. 
Fin )
6058, 42, 59sylancr 646 . . 3  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  e. 
Fin )
616, 7, 8, 9, 10, 1, 57, 42, 60gsumzres 15522 . 2  |-  ( ph  ->  ( G  gsumg  ( F  |`  { X } ) )  =  ( G  gsumg  F ) )
62 fveq2 5731 . . . 4  |-  ( a  =  X  ->  ( F `  a )  =  ( F `  X ) )
636, 62gsumsn 15548 . . 3  |-  ( ( G  e.  Mnd  /\  X  e.  A  /\  ( F `  X )  e.  B )  -> 
( G  gsumg  ( a  e.  { X }  |->  ( F `
 a ) ) )  =  ( F `
 X ) )
649, 2, 11, 63syl3anc 1185 . 2  |-  ( ph  ->  ( G  gsumg  ( a  e.  { X }  |->  ( F `
 a ) ) )  =  ( F `
 X ) )
655, 61, 643eqtr3d 2478 1  |-  ( ph  ->  ( G  gsumg  F )  =  ( F `  X ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    = wceq 1653    e. wcel 1726    =/= wne 2601   A.wral 2707   _Vcvv 2958    \ cdif 3319    C_ wss 3322   {csn 3816    e. cmpt 4269   `'ccnv 4880   ran crn 4882    |` cres 4883   "cima 4884    Fn wfn 5452   -->wf 5453   ` cfv 5457  (class class class)co 6084   Fincfn 7112   Basecbs 13474   ↾s cress 13475   +g cplusg 13534   0gc0g 13728    gsumg cgsu 13729  Moorecmre 13812  mrClscmrc 13813  ACScacs 13815   Mndcmnd 14689  SubMndcsubmnd 14742  Cntzccntz 15119  CMndccmn 15417
This theorem is referenced by:  dprdfid  15580  coe1tmmul2  16673  coe1tmmul  16674  evlslem3  19940  evlslem1  19941  coe1mul3  20027  tayl0  20283  jensen  20832  uvcresum  27232  frlmup2  27241  mamulid  27448  mamurid  27449
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-rep 4323  ax-sep 4333  ax-nul 4341  ax-pow 4380  ax-pr 4406  ax-un 4704  ax-inf2 7599  ax-cnex 9051  ax-resscn 9052  ax-1cn 9053  ax-icn 9054  ax-addcl 9055  ax-addrcl 9056  ax-mulcl 9057  ax-mulrcl 9058  ax-mulcom 9059  ax-addass 9060  ax-mulass 9061  ax-distr 9062  ax-i2m1 9063  ax-1ne0 9064  ax-1rid 9065  ax-rnegex 9066  ax-rrecex 9067  ax-cnre 9068  ax-pre-lttri 9069  ax-pre-lttrn 9070  ax-pre-ltadd 9071  ax-pre-mulgt0 9072
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-int 4053  df-iun 4097  df-iin 4098  df-br 4216  df-opab 4270  df-mpt 4271  df-tr 4306  df-eprel 4497  df-id 4501  df-po 4506  df-so 4507  df-fr 4544  df-se 4545  df-we 4546  df-ord 4587  df-on 4588  df-lim 4589  df-suc 4590  df-om 4849  df-xp 4887  df-rel 4888  df-cnv 4889  df-co 4890  df-dm 4891  df-rn 4892  df-res 4893  df-ima 4894  df-iota 5421  df-fun 5459  df-fn 5460  df-f 5461  df-f1 5462  df-fo 5463  df-f1o 5464  df-fv 5465  df-isom 5466  df-ov 6087  df-oprab 6088  df-mpt2 6089  df-1st 6352  df-2nd 6353  df-riota 6552  df-recs 6636  df-rdg 6671  df-1o 6727  df-oadd 6731  df-er 6908  df-en 7113  df-dom 7114  df-sdom 7115  df-fin 7116  df-oi 7482  df-card 7831  df-pnf 9127  df-mnf 9128  df-xr 9129  df-ltxr 9130  df-le 9131  df-sub 9298  df-neg 9299  df-nn 10006  df-2 10063  df-n0 10227  df-z 10288  df-uz 10494  df-fz 11049  df-fzo 11141  df-seq 11329  df-hash 11624  df-ndx 13477  df-slot 13478  df-base 13479  df-sets 13480  df-ress 13481  df-plusg 13547  df-0g 13732  df-gsum 13733  df-mre 13816  df-mrc 13817  df-acs 13819  df-mnd 14695  df-submnd 14744  df-mulg 14820  df-cntz 15121  df-cmn 15419
  Copyright terms: Public domain W3C validator