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

Theorem gsumzadd 17491
Description: The sum of two group sums. (Contributed by Mario Carneiro, 25-Apr-2016.) (Revised by AV, 5-Jun-2019.)
Hypotheses
Ref Expression
gsumzadd.b  |-  B  =  ( Base `  G
)
gsumzadd.0  |-  .0.  =  ( 0g `  G )
gsumzadd.p  |-  .+  =  ( +g  `  G )
gsumzadd.z  |-  Z  =  (Cntz `  G )
gsumzadd.g  |-  ( ph  ->  G  e.  Mnd )
gsumzadd.a  |-  ( ph  ->  A  e.  V )
gsumzadd.fn  |-  ( ph  ->  F finSupp  .0.  )
gsumzadd.hn  |-  ( ph  ->  H finSupp  .0.  )
gsumzadd.s  |-  ( ph  ->  S  e.  (SubMnd `  G ) )
gsumzadd.c  |-  ( ph  ->  S  C_  ( Z `  S ) )
gsumzadd.f  |-  ( ph  ->  F : A --> S )
gsumzadd.h  |-  ( ph  ->  H : A --> S )
Assertion
Ref Expression
gsumzadd  |-  ( ph  ->  ( G  gsumg  ( F  oF  .+  H ) )  =  ( ( G 
gsumg  F )  .+  ( G  gsumg  H ) ) )

Proof of Theorem gsumzadd
Dummy variables  k  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 gsumzadd.b . 2  |-  B  =  ( Base `  G
)
2 gsumzadd.0 . 2  |-  .0.  =  ( 0g `  G )
3 gsumzadd.p . 2  |-  .+  =  ( +g  `  G )
4 gsumzadd.z . 2  |-  Z  =  (Cntz `  G )
5 gsumzadd.g . 2  |-  ( ph  ->  G  e.  Mnd )
6 gsumzadd.a . 2  |-  ( ph  ->  A  e.  V )
7 gsumzadd.fn . 2  |-  ( ph  ->  F finSupp  .0.  )
8 gsumzadd.hn . 2  |-  ( ph  ->  H finSupp  .0.  )
9 eqid 2422 . 2  |-  ( ( F  u.  H ) supp 
.0.  )  =  ( ( F  u.  H
) supp  .0.  )
10 gsumzadd.f . . 3  |-  ( ph  ->  F : A --> S )
11 gsumzadd.s . . . 4  |-  ( ph  ->  S  e.  (SubMnd `  G ) )
121submss 16533 . . . 4  |-  ( S  e.  (SubMnd `  G
)  ->  S  C_  B
)
1311, 12syl 17 . . 3  |-  ( ph  ->  S  C_  B )
1410, 13fssd 5691 . 2  |-  ( ph  ->  F : A --> B )
15 gsumzadd.h . . 3  |-  ( ph  ->  H : A --> S )
1615, 13fssd 5691 . 2  |-  ( ph  ->  H : A --> B )
17 gsumzadd.c . . 3  |-  ( ph  ->  S  C_  ( Z `  S ) )
18 frn 5688 . . . 4  |-  ( F : A --> S  ->  ran  F  C_  S )
1910, 18syl 17 . . 3  |-  ( ph  ->  ran  F  C_  S
)
204cntzidss 16927 . . 3  |-  ( ( S  C_  ( Z `  S )  /\  ran  F 
C_  S )  ->  ran  F  C_  ( Z `  ran  F ) )
2117, 19, 20syl2anc 665 . 2  |-  ( ph  ->  ran  F  C_  ( Z `  ran  F ) )
22 frn 5688 . . . 4  |-  ( H : A --> S  ->  ran  H  C_  S )
2315, 22syl 17 . . 3  |-  ( ph  ->  ran  H  C_  S
)
244cntzidss 16927 . . 3  |-  ( ( S  C_  ( Z `  S )  /\  ran  H 
C_  S )  ->  ran  H  C_  ( Z `  ran  H ) )
2517, 23, 24syl2anc 665 . 2  |-  ( ph  ->  ran  H  C_  ( Z `  ran  H ) )
263submcl 16536 . . . . . . 7  |-  ( ( S  e.  (SubMnd `  G )  /\  x  e.  S  /\  y  e.  S )  ->  (
x  .+  y )  e.  S )
27263expb 1206 . . . . . 6  |-  ( ( S  e.  (SubMnd `  G )  /\  (
x  e.  S  /\  y  e.  S )
)  ->  ( x  .+  y )  e.  S
)
2811, 27sylan 473 . . . . 5  |-  ( (
ph  /\  ( x  e.  S  /\  y  e.  S ) )  -> 
( x  .+  y
)  e.  S )
29 inidm 3607 . . . . 5  |-  ( A  i^i  A )  =  A
3028, 10, 15, 6, 6, 29off 6497 . . . 4  |-  ( ph  ->  ( F  oF  .+  H ) : A --> S )
31 frn 5688 . . . 4  |-  ( ( F  oF  .+  H ) : A --> S  ->  ran  ( F  oF  .+  H ) 
C_  S )
3230, 31syl 17 . . 3  |-  ( ph  ->  ran  ( F  oF  .+  H )  C_  S )
334cntzidss 16927 . . 3  |-  ( ( S  C_  ( Z `  S )  /\  ran  ( F  oF  .+  H )  C_  S
)  ->  ran  ( F  oF  .+  H
)  C_  ( Z `  ran  ( F  oF  .+  H ) ) )
3417, 32, 33syl2anc 665 . 2  |-  ( ph  ->  ran  ( F  oF  .+  H )  C_  ( Z `  ran  ( F  oF  .+  H
) ) )
3517adantr 466 . . . 4  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  S  C_  ( Z `  S ) )
3613adantr 466 . . . . 5  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  S  C_  B )
375adantr 466 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  G  e.  Mnd )
38 vex 3019 . . . . . . . 8  |-  x  e. 
_V
3938a1i 11 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  x  e.  _V )
4011adantr 466 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  S  e.  (SubMnd `  G
) )
41 simpl 458 . . . . . . . 8  |-  ( ( x  C_  A  /\  k  e.  ( A  \  x ) )  ->  x  C_  A )
42 fssres 5702 . . . . . . . 8  |-  ( ( H : A --> S  /\  x  C_  A )  -> 
( H  |`  x
) : x --> S )
4315, 41, 42syl2an 479 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( H  |`  x
) : x --> S )
4425adantr 466 . . . . . . . 8  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  ran  H  C_  ( Z `  ran  H ) )
45 resss 5083 . . . . . . . . 9  |-  ( H  |`  x )  C_  H
46 rnss 5018 . . . . . . . . 9  |-  ( ( H  |`  x )  C_  H  ->  ran  ( H  |`  x )  C_  ran  H )
4745, 46ax-mp 5 . . . . . . . 8  |-  ran  ( H  |`  x )  C_  ran  H
484cntzidss 16927 . . . . . . . 8  |-  ( ( ran  H  C_  ( Z `  ran  H )  /\  ran  ( H  |`  x )  C_  ran  H )  ->  ran  ( H  |`  x )  C_  ( Z `  ran  ( H  |`  x ) ) )
4944, 47, 48sylancl 666 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  ran  ( H  |`  x
)  C_  ( Z `  ran  ( H  |`  x ) ) )
50 ffun 5684 . . . . . . . . . . 11  |-  ( H : A --> S  ->  Fun  H )
5115, 50syl 17 . . . . . . . . . 10  |-  ( ph  ->  Fun  H )
52 funres 5576 . . . . . . . . . 10  |-  ( Fun 
H  ->  Fun  ( H  |`  x ) )
5351, 52syl 17 . . . . . . . . 9  |-  ( ph  ->  Fun  ( H  |`  x ) )
5453adantr 466 . . . . . . . 8  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  Fun  ( H  |`  x
) )
558fsuppimpd 7836 . . . . . . . . . 10  |-  ( ph  ->  ( H supp  .0.  )  e.  Fin )
5655adantr 466 . . . . . . . . 9  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( H supp  .0.  )  e.  Fin )
57 fex 6090 . . . . . . . . . . . 12  |-  ( ( H : A --> S  /\  A  e.  V )  ->  H  e.  _V )
5815, 6, 57syl2anc 665 . . . . . . . . . . 11  |-  ( ph  ->  H  e.  _V )
59 fvex 5828 . . . . . . . . . . . 12  |-  ( 0g
`  G )  e. 
_V
602, 59eqeltri 2496 . . . . . . . . . . 11  |-  .0.  e.  _V
61 ressuppss 6882 . . . . . . . . . . 11  |-  ( ( H  e.  _V  /\  .0.  e.  _V )  -> 
( ( H  |`  x ) supp  .0.  )  C_  ( H supp  .0.  )
)
6258, 60, 61sylancl 666 . . . . . . . . . 10  |-  ( ph  ->  ( ( H  |`  x ) supp  .0.  )  C_  ( H supp  .0.  )
)
6362adantr 466 . . . . . . . . 9  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( ( H  |`  x ) supp  .0.  )  C_  ( H supp  .0.  )
)
64 ssfi 7738 . . . . . . . . 9  |-  ( ( ( H supp  .0.  )  e.  Fin  /\  ( ( H  |`  x ) supp  .0.  )  C_  ( H supp 
.0.  ) )  -> 
( ( H  |`  x ) supp  .0.  )  e.  Fin )
6556, 63, 64syl2anc 665 . . . . . . . 8  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( ( H  |`  x ) supp  .0.  )  e.  Fin )
66 resfunexg 6082 . . . . . . . . . . 11  |-  ( ( Fun  H  /\  x  e.  _V )  ->  ( H  |`  x )  e. 
_V )
6751, 38, 66sylancl 666 . . . . . . . . . 10  |-  ( ph  ->  ( H  |`  x
)  e.  _V )
68 isfsupp 7833 . . . . . . . . . 10  |-  ( ( ( H  |`  x
)  e.  _V  /\  .0.  e.  _V )  -> 
( ( H  |`  x ) finSupp  .0.  <->  ( Fun  ( H  |`  x )  /\  ( ( H  |`  x ) supp  .0.  )  e.  Fin ) ) )
6967, 60, 68sylancl 666 . . . . . . . . 9  |-  ( ph  ->  ( ( H  |`  x ) finSupp  .0.  <->  ( Fun  ( H  |`  x )  /\  ( ( H  |`  x ) supp  .0.  )  e.  Fin ) ) )
7069adantr 466 . . . . . . . 8  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( ( H  |`  x ) finSupp  .0.  <->  ( Fun  ( H  |`  x )  /\  ( ( H  |`  x ) supp  .0.  )  e.  Fin ) ) )
7154, 65, 70mpbir2and 930 . . . . . . 7  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( H  |`  x
) finSupp  .0.  )
722, 4, 37, 39, 40, 43, 49, 71gsumzsubmcl 17487 . . . . . 6  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( G  gsumg  ( H  |`  x
) )  e.  S
)
7372snssd 4081 . . . . 5  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  { ( G  gsumg  ( H  |`  x ) ) } 
C_  S )
741, 4cntz2ss 16922 . . . . 5  |-  ( ( S  C_  B  /\  { ( G  gsumg  ( H  |`  x
) ) }  C_  S )  ->  ( Z `  S )  C_  ( Z `  {
( G  gsumg  ( H  |`  x
) ) } ) )
7536, 73, 74syl2anc 665 . . . 4  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( Z `  S
)  C_  ( Z `  { ( G  gsumg  ( H  |`  x ) ) } ) )
7635, 75sstrd 3410 . . 3  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  ->  S  C_  ( Z `  { ( G  gsumg  ( H  |`  x ) ) } ) )
77 eldifi 3523 . . . . 5  |-  ( k  e.  ( A  \  x )  ->  k  e.  A )
7877adantl 467 . . . 4  |-  ( ( x  C_  A  /\  k  e.  ( A  \  x ) )  -> 
k  e.  A )
79 ffvelrn 5972 . . . 4  |-  ( ( F : A --> S  /\  k  e.  A )  ->  ( F `  k
)  e.  S )
8010, 78, 79syl2an 479 . . 3  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( F `  k
)  e.  S )
8176, 80sseldd 3401 . 2  |-  ( (
ph  /\  ( x  C_  A  /\  k  e.  ( A  \  x
) ) )  -> 
( F `  k
)  e.  ( Z `
 { ( G 
gsumg  ( H  |`  x ) ) } ) )
821, 2, 3, 4, 5, 6, 7, 8, 9, 14, 16, 21, 25, 34, 81gsumzaddlem 17490 1  |-  ( ph  ->  ( G  gsumg  ( F  oF  .+  H ) )  =  ( ( G 
gsumg  F )  .+  ( G  gsumg  H ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 187    /\ wa 370    = wceq 1437    e. wcel 1872   _Vcvv 3016    \ cdif 3369    u. cun 3370    C_ wss 3372   {csn 3934   class class class wbr 4359   ran crn 4790    |` cres 4791   Fun wfun 5531   -->wf 5533   ` cfv 5537  (class class class)co 6242    oFcof 6480   supp csupp 6862   Fincfn 7517   finSupp cfsupp 7829   Basecbs 15057   +g cplusg 15126   0gc0g 15274    gsumg cgsu 15275   Mndcmnd 16471  SubMndcsubmnd 16517  Cntzccntz 16905
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 2058  ax-ext 2402  ax-rep 4472  ax-sep 4482  ax-nul 4491  ax-pow 4538  ax-pr 4596  ax-un 6534  ax-cnex 9539  ax-resscn 9540  ax-1cn 9541  ax-icn 9542  ax-addcl 9543  ax-addrcl 9544  ax-mulcl 9545  ax-mulrcl 9546  ax-mulcom 9547  ax-addass 9548  ax-mulass 9549  ax-distr 9550  ax-i2m1 9551  ax-1ne0 9552  ax-1rid 9553  ax-rnegex 9554  ax-rrecex 9555  ax-cnre 9556  ax-pre-lttri 9557  ax-pre-lttrn 9558  ax-pre-ltadd 9559  ax-pre-mulgt0 9560
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 2274  df-mo 2275  df-clab 2409  df-cleq 2415  df-clel 2418  df-nfc 2552  df-ne 2595  df-nel 2596  df-ral 2713  df-rex 2714  df-reu 2715  df-rmo 2716  df-rab 2717  df-v 3018  df-sbc 3236  df-csb 3332  df-dif 3375  df-un 3377  df-in 3379  df-ss 3386  df-pss 3388  df-nul 3698  df-if 3848  df-pw 3919  df-sn 3935  df-pr 3937  df-tp 3939  df-op 3941  df-uni 4156  df-int 4192  df-iun 4237  df-br 4360  df-opab 4419  df-mpt 4420  df-tr 4455  df-eprel 4700  df-id 4704  df-po 4710  df-so 4711  df-fr 4748  df-se 4749  df-we 4750  df-xp 4795  df-rel 4796  df-cnv 4797  df-co 4798  df-dm 4799  df-rn 4800  df-res 4801  df-ima 4802  df-pred 5335  df-ord 5381  df-on 5382  df-lim 5383  df-suc 5384  df-iota 5501  df-fun 5539  df-fn 5540  df-f 5541  df-f1 5542  df-fo 5543  df-f1o 5544  df-fv 5545  df-isom 5546  df-riota 6204  df-ov 6245  df-oprab 6246  df-mpt2 6247  df-of 6482  df-om 6644  df-1st 6744  df-2nd 6745  df-supp 6863  df-wrecs 6976  df-recs 7038  df-rdg 7076  df-1o 7130  df-oadd 7134  df-er 7311  df-en 7518  df-dom 7519  df-sdom 7520  df-fin 7521  df-fsupp 7830  df-oi 7971  df-card 8318  df-pnf 9621  df-mnf 9622  df-xr 9623  df-ltxr 9624  df-le 9625  df-sub 9806  df-neg 9807  df-nn 10554  df-2 10612  df-n0 10814  df-z 10882  df-uz 11104  df-fz 11729  df-fzo 11860  df-seq 12157  df-hash 12459  df-ndx 15060  df-slot 15061  df-base 15062  df-sets 15063  df-ress 15064  df-plusg 15139  df-0g 15276  df-gsum 15277  df-mgm 16424  df-sgrp 16463  df-mnd 16473  df-submnd 16519  df-cntz 16907
This theorem is referenced by:  gsumadd  17492  gsumzsplit  17496
  Copyright terms: Public domain W3C validator