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

Theorem gsumzcl 15211
Description: Closure of a finite group sum. (Contributed by Mario Carneiro, 24-Apr-2016.)
Hypotheses
Ref Expression
gsumzcl.b  |-  B  =  ( Base `  G
)
gsumzcl.0  |-  .0.  =  ( 0g `  G )
gsumzcl.z  |-  Z  =  (Cntz `  G )
gsumzcl.g  |-  ( ph  ->  G  e.  Mnd )
gsumzcl.a  |-  ( ph  ->  A  e.  V )
gsumzcl.f  |-  ( ph  ->  F : A --> B )
gsumzcl.c  |-  ( ph  ->  ran  F  C_  ( Z `  ran  F ) )
gsumzcl.w  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  e. 
Fin )
Assertion
Ref Expression
gsumzcl  |-  ( ph  ->  ( G  gsumg  F )  e.  B
)

Proof of Theorem gsumzcl
Dummy variables  f 
k  x are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 gsumzcl.f . . . . . . 7  |-  ( ph  ->  F : A --> B )
2 ssid 3210 . . . . . . . 8  |-  ( `' F " ( _V 
\  {  .0.  }
) )  C_  ( `' F " ( _V 
\  {  .0.  }
) )
32a1i 10 . . . . . . 7  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  C_  ( `' F " ( _V 
\  {  .0.  }
) ) )
41, 3gsumcllem 15209 . . . . . 6  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  F  =  ( k  e.  A  |->  .0.  ) )
54oveq2d 5890 . . . . 5  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  ( G  gsumg  F )  =  ( G  gsumg  ( k  e.  A  |->  .0.  ) ) )
6 gsumzcl.g . . . . . . 7  |-  ( ph  ->  G  e.  Mnd )
7 gsumzcl.a . . . . . . 7  |-  ( ph  ->  A  e.  V )
8 gsumzcl.0 . . . . . . . 8  |-  .0.  =  ( 0g `  G )
98gsumz 14474 . . . . . . 7  |-  ( ( G  e.  Mnd  /\  A  e.  V )  ->  ( G  gsumg  ( k  e.  A  |->  .0.  ) )  =  .0.  )
106, 7, 9syl2anc 642 . . . . . 6  |-  ( ph  ->  ( G  gsumg  ( k  e.  A  |->  .0.  ) )  =  .0.  )
1110adantr 451 . . . . 5  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  ( G  gsumg  ( k  e.  A  |->  .0.  ) )  =  .0.  )
125, 11eqtrd 2328 . . . 4  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  ( G  gsumg  F )  =  .0.  )
13 gsumzcl.b . . . . . . 7  |-  B  =  ( Base `  G
)
1413, 8mndidcl 14407 . . . . . 6  |-  ( G  e.  Mnd  ->  .0.  e.  B )
156, 14syl 15 . . . . 5  |-  ( ph  ->  .0.  e.  B )
1615adantr 451 . . . 4  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  .0.  e.  B )
1712, 16eqeltrd 2370 . . 3  |-  ( (
ph  /\  ( `' F " ( _V  \  {  .0.  } ) )  =  (/) )  ->  ( G  gsumg  F )  e.  B
)
1817ex 423 . 2  |-  ( ph  ->  ( ( `' F " ( _V  \  {  .0.  } ) )  =  (/)  ->  ( G  gsumg  F )  e.  B ) )
19 eqid 2296 . . . . . . 7  |-  ( +g  `  G )  =  ( +g  `  G )
20 gsumzcl.z . . . . . . 7  |-  Z  =  (Cntz `  G )
216adantr 451 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  G  e.  Mnd )
227adantr 451 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  A  e.  V
)
231adantr 451 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  F : A --> B )
24 gsumzcl.c . . . . . . . 8  |-  ( ph  ->  ran  F  C_  ( Z `  ran  F ) )
2524adantr 451 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ran  F  C_  ( Z `  ran  F ) )
26 simprl 732 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  NN )
27 f1of1 5487 . . . . . . . . 9  |-  ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) )  ->  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )
-1-1-> ( `' F "
( _V  \  {  .0.  } ) ) )
2827ad2antll 709 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) -1-1-> ( `' F " ( _V  \  {  .0.  } ) ) )
29 cnvimass 5049 . . . . . . . . . 10  |-  ( `' F " ( _V 
\  {  .0.  }
) )  C_  dom  F
30 fdm 5409 . . . . . . . . . . 11  |-  ( F : A --> B  ->  dom  F  =  A )
311, 30syl 15 . . . . . . . . . 10  |-  ( ph  ->  dom  F  =  A )
3229, 31syl5sseq 3239 . . . . . . . . 9  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  C_  A )
3332adantr 451 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( `' F " ( _V  \  {  .0.  } ) )  C_  A )
34 f1ss 5458 . . . . . . . 8  |-  ( ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )
-1-1-> ( `' F "
( _V  \  {  .0.  } ) )  /\  ( `' F " ( _V 
\  {  .0.  }
) )  C_  A
)  ->  f :
( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) -1-1-> A )
3528, 33, 34syl2anc 642 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) -1-1-> A )
36 f1ofo 5495 . . . . . . . . . 10  |-  ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) )  ->  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )
-onto-> ( `' F "
( _V  \  {  .0.  } ) ) )
37 forn 5470 . . . . . . . . . 10  |-  ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )
-onto-> ( `' F "
( _V  \  {  .0.  } ) )  ->  ran  f  =  ( `' F " ( _V 
\  {  .0.  }
) ) )
3836, 37syl 15 . . . . . . . . 9  |-  ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) )  ->  ran  f  =  ( `' F " ( _V  \  {  .0.  } ) ) )
3938ad2antll 709 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ran  f  =  ( `' F " ( _V 
\  {  .0.  }
) ) )
402, 39syl5sseqr 3240 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( `' F " ( _V  \  {  .0.  } ) )  C_  ran  f )
41 eqid 2296 . . . . . . 7  |-  ( `' ( F  o.  f
) " ( _V 
\  {  .0.  }
) )  =  ( `' ( F  o.  f ) " ( _V  \  {  .0.  }
) )
4213, 8, 19, 20, 21, 22, 23, 25, 26, 35, 40, 41gsumval3 15207 . . . . . 6  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( G  gsumg  F )  =  (  seq  1
( ( +g  `  G
) ,  ( F  o.  f ) ) `
 ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) )
43 nnuz 10279 . . . . . . . 8  |-  NN  =  ( ZZ>= `  1 )
4426, 43syl6eleq 2386 . . . . . . 7  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  ( ZZ>= `  1 )
)
45 f1f 5453 . . . . . . . . . 10  |-  ( f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )
-1-1-> A  ->  f :
( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) --> A )
4635, 45syl 15 . . . . . . . . 9  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) --> A )
47 fco 5414 . . . . . . . . 9  |-  ( ( F : A --> B  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) --> A )  ->  ( F  o.  f ) : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) --> B )
4823, 46, 47syl2anc 642 . . . . . . . 8  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( F  o.  f ) : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) --> B )
49 ffvelrn 5679 . . . . . . . 8  |-  ( ( ( F  o.  f
) : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) --> B  /\  k  e.  ( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) )  ->  (
( F  o.  f
) `  k )  e.  B )
5048, 49sylan 457 . . . . . . 7  |-  ( ( ( ph  /\  (
( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  NN  /\  f : ( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) ) ) )  /\  k  e.  ( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) )  ->  (
( F  o.  f
) `  k )  e.  B )
5113, 19mndcl 14388 . . . . . . . . 9  |-  ( ( G  e.  Mnd  /\  k  e.  B  /\  x  e.  B )  ->  ( k ( +g  `  G ) x )  e.  B )
52513expb 1152 . . . . . . . 8  |-  ( ( G  e.  Mnd  /\  ( k  e.  B  /\  x  e.  B
) )  ->  (
k ( +g  `  G
) x )  e.  B )
5321, 52sylan 457 . . . . . . 7  |-  ( ( ( ph  /\  (
( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  NN  /\  f : ( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) ) ) )  /\  ( k  e.  B  /\  x  e.  B ) )  -> 
( k ( +g  `  G ) x )  e.  B )
5444, 50, 53seqcl 11082 . . . . . 6  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  (  seq  1
( ( +g  `  G
) ,  ( F  o.  f ) ) `
 ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) )  e.  B )
5542, 54eqeltrd 2370 . . . . 5  |-  ( (
ph  /\  ( ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) )  e.  NN  /\  f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) ) ) )  ->  ( G  gsumg  F )  e.  B )
5655expr 598 . . . 4  |-  ( (
ph  /\  ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  NN )  ->  (
f : ( 1 ... ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) ) ) -1-1-onto-> ( `' F " ( _V 
\  {  .0.  }
) )  ->  ( G  gsumg  F )  e.  B
) )
5756exlimdv 1626 . . 3  |-  ( (
ph  /\  ( # `  ( `' F " ( _V 
\  {  .0.  }
) ) )  e.  NN )  ->  ( E. f  f :
( 1 ... ( # `
 ( `' F " ( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) )  -> 
( G  gsumg  F )  e.  B
) )
5857expimpd 586 . 2  |-  ( ph  ->  ( ( ( # `  ( `' F "
( _V  \  {  .0.  } ) ) )  e.  NN  /\  E. f  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) ) )  ->  ( G  gsumg  F )  e.  B ) )
59 gsumzcl.w . . 3  |-  ( ph  ->  ( `' F "
( _V  \  {  .0.  } ) )  e. 
Fin )
60 fz1f1o 12199 . . 3  |-  ( ( `' F " ( _V 
\  {  .0.  }
) )  e.  Fin  ->  ( ( `' F " ( _V  \  {  .0.  } ) )  =  (/)  \/  ( ( # `  ( `' F "
( _V  \  {  .0.  } ) ) )  e.  NN  /\  E. f  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) ) ) ) )
6159, 60syl 15 . 2  |-  ( ph  ->  ( ( `' F " ( _V  \  {  .0.  } ) )  =  (/)  \/  ( ( # `  ( `' F "
( _V  \  {  .0.  } ) ) )  e.  NN  /\  E. f  f : ( 1 ... ( # `  ( `' F "
( _V  \  {  .0.  } ) ) ) ) -1-1-onto-> ( `' F "
( _V  \  {  .0.  } ) ) ) ) )
6218, 58, 61mpjaod 370 1  |-  ( ph  ->  ( G  gsumg  F )  e.  B
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    \/ wo 357    /\ wa 358   E.wex 1531    = wceq 1632    e. wcel 1696   _Vcvv 2801    \ cdif 3162    C_ wss 3165   (/)c0 3468   {csn 3653    e. cmpt 4093   `'ccnv 4704   dom cdm 4705   ran crn 4706   "cima 4708    o. ccom 4709   -->wf 5267   -1-1->wf1 5268   -onto->wfo 5269   -1-1-onto->wf1o 5270   ` cfv 5271  (class class class)co 5874   Fincfn 6879   1c1 8754   NNcn 9762   ZZ>=cuz 10246   ...cfz 10798    seq cseq 11062   #chash 11353   Basecbs 13164   +g cplusg 13224   0gc0g 13416    gsumg cgsu 13417   Mndcmnd 14377  Cntzccntz 14807
This theorem is referenced by:  gsumcl  15214  gsumzsubmcl  15216  dprdssv  15267  dprdfadd  15271
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-rep 4147  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230  ax-un 4528  ax-cnex 8809  ax-resscn 8810  ax-1cn 8811  ax-icn 8812  ax-addcl 8813  ax-addrcl 8814  ax-mulcl 8815  ax-mulrcl 8816  ax-mulcom 8817  ax-addass 8818  ax-mulass 8819  ax-distr 8820  ax-i2m1 8821  ax-1ne0 8822  ax-1rid 8823  ax-rnegex 8824  ax-rrecex 8825  ax-cnre 8826  ax-pre-lttri 8827  ax-pre-lttrn 8828  ax-pre-ltadd 8829  ax-pre-mulgt0 8830
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-nel 2462  df-ral 2561  df-rex 2562  df-reu 2563  df-rmo 2564  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-pss 3181  df-nul 3469  df-if 3579  df-pw 3640  df-sn 3659  df-pr 3660  df-tp 3661  df-op 3662  df-uni 3844  df-int 3879  df-iun 3923  df-br 4040  df-opab 4094  df-mpt 4095  df-tr 4130  df-eprel 4321  df-id 4325  df-po 4330  df-so 4331  df-fr 4368  df-se 4369  df-we 4370  df-ord 4411  df-on 4412  df-lim 4413  df-suc 4414  df-om 4673  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279  df-isom 5280  df-ov 5877  df-oprab 5878  df-mpt2 5879  df-1st 6138  df-2nd 6139  df-riota 6320  df-recs 6404  df-rdg 6439  df-1o 6495  df-oadd 6499  df-er 6676  df-en 6880  df-dom 6881  df-sdom 6882  df-fin 6883  df-oi 7241  df-card 7588  df-pnf 8885  df-mnf 8886  df-xr 8887  df-ltxr 8888  df-le 8889  df-sub 9055  df-neg 9056  df-nn 9763  df-n0 9982  df-z 10041  df-uz 10247  df-fz 10799  df-fzo 10887  df-seq 11063  df-hash 11354  df-0g 13420  df-gsum 13421  df-mnd 14383  df-cntz 14809
  Copyright terms: Public domain W3C validator