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

Theorem gsumwmhm 14467
Description: Behavior of homomorphisms on finite monoidal sums. (Contributed by Stefan O'Rear, 27-Aug-2015.)
Hypothesis
Ref Expression
gsumwmhm.b  |-  B  =  ( Base `  M
)
Assertion
Ref Expression
gsumwmhm  |-  ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  ->  ( H `  ( M  gsumg  W ) )  =  ( N  gsumg  ( H  o.  W
) ) )

Proof of Theorem gsumwmhm
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 5866 . . . . 5  |-  ( W  =  (/)  ->  ( M 
gsumg  W )  =  ( M  gsumg  (/) ) )
2 eqid 2283 . . . . . 6  |-  ( 0g
`  M )  =  ( 0g `  M
)
32gsum0 14457 . . . . 5  |-  ( M 
gsumg  (/) )  =  ( 0g
`  M )
41, 3syl6eq 2331 . . . 4  |-  ( W  =  (/)  ->  ( M 
gsumg  W )  =  ( 0g `  M ) )
54fveq2d 5529 . . 3  |-  ( W  =  (/)  ->  ( H `
 ( M  gsumg  W ) )  =  ( H `
 ( 0g `  M ) ) )
6 coeq2 4842 . . . . . 6  |-  ( W  =  (/)  ->  ( H  o.  W )  =  ( H  o.  (/) ) )
7 co02 5186 . . . . . 6  |-  ( H  o.  (/) )  =  (/)
86, 7syl6eq 2331 . . . . 5  |-  ( W  =  (/)  ->  ( H  o.  W )  =  (/) )
98oveq2d 5874 . . . 4  |-  ( W  =  (/)  ->  ( N 
gsumg  ( H  o.  W
) )  =  ( N  gsumg  (/) ) )
10 eqid 2283 . . . . 5  |-  ( 0g
`  N )  =  ( 0g `  N
)
1110gsum0 14457 . . . 4  |-  ( N 
gsumg  (/) )  =  ( 0g
`  N )
129, 11syl6eq 2331 . . 3  |-  ( W  =  (/)  ->  ( N 
gsumg  ( H  o.  W
) )  =  ( 0g `  N ) )
135, 12eqeq12d 2297 . 2  |-  ( W  =  (/)  ->  ( ( H `  ( M 
gsumg  W ) )  =  ( N  gsumg  ( H  o.  W
) )  <->  ( H `  ( 0g `  M
) )  =  ( 0g `  N ) ) )
14 mhmrcl1 14418 . . . . . 6  |-  ( H  e.  ( M MndHom  N
)  ->  M  e.  Mnd )
1514ad2antrr 706 . . . . 5  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  M  e.  Mnd )
16 gsumwmhm.b . . . . . . 7  |-  B  =  ( Base `  M
)
17 eqid 2283 . . . . . . 7  |-  ( +g  `  M )  =  ( +g  `  M )
1816, 17mndcl 14372 . . . . . 6  |-  ( ( M  e.  Mnd  /\  x  e.  B  /\  y  e.  B )  ->  ( x ( +g  `  M ) y )  e.  B )
19183expb 1152 . . . . 5  |-  ( ( M  e.  Mnd  /\  ( x  e.  B  /\  y  e.  B
) )  ->  (
x ( +g  `  M
) y )  e.  B )
2015, 19sylan 457 . . . 4  |-  ( ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B
)  /\  W  =/=  (/) )  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( x ( +g  `  M ) y )  e.  B )
21 wrdf 11419 . . . . . . 7  |-  ( W  e. Word  B  ->  W : ( 0..^ (
# `  W )
) --> B )
2221ad2antlr 707 . . . . . 6  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  W : ( 0..^ (
# `  W )
) --> B )
23 wrdfin 11420 . . . . . . . . . . . 12  |-  ( W  e. Word  B  ->  W  e.  Fin )
2423adantl 452 . . . . . . . . . . 11  |-  ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  ->  W  e.  Fin )
25 hashnncl 11354 . . . . . . . . . . 11  |-  ( W  e.  Fin  ->  (
( # `  W )  e.  NN  <->  W  =/=  (/) ) )
2624, 25syl 15 . . . . . . . . . 10  |-  ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  ->  (
( # `  W )  e.  NN  <->  W  =/=  (/) ) )
2726biimpar 471 . . . . . . . . 9  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( # `  W )  e.  NN )
2827nnzd 10116 . . . . . . . 8  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( # `  W )  e.  ZZ )
29 fzoval 10876 . . . . . . . 8  |-  ( (
# `  W )  e.  ZZ  ->  ( 0..^ ( # `  W
) )  =  ( 0 ... ( (
# `  W )  -  1 ) ) )
3028, 29syl 15 . . . . . . 7  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( 0..^ ( # `  W ) )  =  ( 0 ... (
( # `  W )  -  1 ) ) )
3130feq2d 5380 . . . . . 6  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( W : ( 0..^ ( # `  W
) ) --> B  <->  W :
( 0 ... (
( # `  W )  -  1 ) ) --> B ) )
3222, 31mpbid 201 . . . . 5  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  W : ( 0 ... ( ( # `  W
)  -  1 ) ) --> B )
33 ffvelrn 5663 . . . . 5  |-  ( ( W : ( 0 ... ( ( # `  W )  -  1 ) ) --> B  /\  x  e.  ( 0 ... ( ( # `  W )  -  1 ) ) )  -> 
( W `  x
)  e.  B )
3432, 33sylan 457 . . . 4  |-  ( ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B
)  /\  W  =/=  (/) )  /\  x  e.  ( 0 ... (
( # `  W )  -  1 ) ) )  ->  ( W `  x )  e.  B
)
35 nnm1nn0 10005 . . . . . 6  |-  ( (
# `  W )  e.  NN  ->  ( ( # `
 W )  - 
1 )  e.  NN0 )
3627, 35syl 15 . . . . 5  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( ( # `  W
)  -  1 )  e.  NN0 )
37 nn0uz 10262 . . . . 5  |-  NN0  =  ( ZZ>= `  0 )
3836, 37syl6eleq 2373 . . . 4  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( ( # `  W
)  -  1 )  e.  ( ZZ>= `  0
) )
39 simpll 730 . . . . 5  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  H  e.  ( M MndHom  N ) )
40 eqid 2283 . . . . . . 7  |-  ( +g  `  N )  =  ( +g  `  N )
4116, 17, 40mhmlin 14422 . . . . . 6  |-  ( ( H  e.  ( M MndHom  N )  /\  x  e.  B  /\  y  e.  B )  ->  ( H `  ( x
( +g  `  M ) y ) )  =  ( ( H `  x ) ( +g  `  N ) ( H `
 y ) ) )
42413expb 1152 . . . . 5  |-  ( ( H  e.  ( M MndHom  N )  /\  (
x  e.  B  /\  y  e.  B )
)  ->  ( H `  ( x ( +g  `  M ) y ) )  =  ( ( H `  x ) ( +g  `  N
) ( H `  y ) ) )
4339, 42sylan 457 . . . 4  |-  ( ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B
)  /\  W  =/=  (/) )  /\  ( x  e.  B  /\  y  e.  B ) )  -> 
( H `  (
x ( +g  `  M
) y ) )  =  ( ( H `
 x ) ( +g  `  N ) ( H `  y
) ) )
44 ffn 5389 . . . . . . 7  |-  ( W : ( 0 ... ( ( # `  W
)  -  1 ) ) --> B  ->  W  Fn  ( 0 ... (
( # `  W )  -  1 ) ) )
4532, 44syl 15 . . . . . 6  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  W  Fn  ( 0 ... ( ( # `  W )  -  1 ) ) )
46 fvco2 5594 . . . . . 6  |-  ( ( W  Fn  ( 0 ... ( ( # `  W )  -  1 ) )  /\  x  e.  ( 0 ... (
( # `  W )  -  1 ) ) )  ->  ( ( H  o.  W ) `  x )  =  ( H `  ( W `
 x ) ) )
4745, 46sylan 457 . . . . 5  |-  ( ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B
)  /\  W  =/=  (/) )  /\  x  e.  ( 0 ... (
( # `  W )  -  1 ) ) )  ->  ( ( H  o.  W ) `  x )  =  ( H `  ( W `
 x ) ) )
4847eqcomd 2288 . . . 4  |-  ( ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B
)  /\  W  =/=  (/) )  /\  x  e.  ( 0 ... (
( # `  W )  -  1 ) ) )  ->  ( H `  ( W `  x
) )  =  ( ( H  o.  W
) `  x )
)
4920, 34, 38, 43, 48seqhomo 11093 . . 3  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( H `  (  seq  0 ( ( +g  `  M ) ,  W
) `  ( ( # `
 W )  - 
1 ) ) )  =  (  seq  0
( ( +g  `  N
) ,  ( H  o.  W ) ) `
 ( ( # `  W )  -  1 ) ) )
5016, 17, 15, 38, 32gsumval2 14460 . . . 4  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( M  gsumg  W )  =  (  seq  0 ( ( +g  `  M ) ,  W ) `  ( ( # `  W
)  -  1 ) ) )
5150fveq2d 5529 . . 3  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( H `  ( M  gsumg  W ) )  =  ( H `  (  seq  0 ( ( +g  `  M ) ,  W
) `  ( ( # `
 W )  - 
1 ) ) ) )
52 eqid 2283 . . . 4  |-  ( Base `  N )  =  (
Base `  N )
53 mhmrcl2 14419 . . . . 5  |-  ( H  e.  ( M MndHom  N
)  ->  N  e.  Mnd )
5453ad2antrr 706 . . . 4  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  N  e.  Mnd )
5516, 52mhmf 14420 . . . . . 6  |-  ( H  e.  ( M MndHom  N
)  ->  H : B
--> ( Base `  N
) )
5655ad2antrr 706 . . . . 5  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  ->  H : B --> ( Base `  N ) )
57 fco 5398 . . . . 5  |-  ( ( H : B --> ( Base `  N )  /\  W : ( 0 ... ( ( # `  W
)  -  1 ) ) --> B )  -> 
( H  o.  W
) : ( 0 ... ( ( # `  W )  -  1 ) ) --> ( Base `  N ) )
5856, 32, 57syl2anc 642 . . . 4  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( H  o.  W
) : ( 0 ... ( ( # `  W )  -  1 ) ) --> ( Base `  N ) )
5952, 40, 54, 38, 58gsumval2 14460 . . 3  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( N  gsumg  ( H  o.  W
) )  =  (  seq  0 ( ( +g  `  N ) ,  ( H  o.  W ) ) `  ( ( # `  W
)  -  1 ) ) )
6049, 51, 593eqtr4d 2325 . 2  |-  ( ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  /\  W  =/=  (/) )  -> 
( H `  ( M  gsumg  W ) )  =  ( N  gsumg  ( H  o.  W
) ) )
612, 10mhm0 14423 . . 3  |-  ( H  e.  ( M MndHom  N
)  ->  ( H `  ( 0g `  M
) )  =  ( 0g `  N ) )
6261adantr 451 . 2  |-  ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  ->  ( H `  ( 0g `  M ) )  =  ( 0g `  N
) )
6313, 60, 62pm2.61ne 2521 1  |-  ( ( H  e.  ( M MndHom  N )  /\  W  e. Word  B )  ->  ( H `  ( M  gsumg  W ) )  =  ( N  gsumg  ( H  o.  W
) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   (/)c0 3455    o. ccom 4693    Fn wfn 5250   -->wf 5251   ` cfv 5255  (class class class)co 5858   Fincfn 6863   0cc0 8737   1c1 8738    - cmin 9037   NNcn 9746   NN0cn0 9965   ZZcz 10024   ZZ>=cuz 10230   ...cfz 10782  ..^cfzo 10870    seq cseq 11046   #chash 11337  Word cword 11403   Basecbs 13148   +g cplusg 13208   0gc0g 13400    gsumg cgsu 13401   Mndcmnd 14361   MndHom cmhm 14413
This theorem is referenced by:  frmdup3  14488  frgpup3lem  15086  symgtrinv  27413
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814
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 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-oadd 6483  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-card 7572  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-nn 9747  df-n0 9966  df-z 10025  df-uz 10231  df-fz 10783  df-fzo 10871  df-seq 11047  df-hash 11338  df-word 11409  df-0g 13404  df-gsum 13405  df-mnd 14367  df-mhm 14415
  Copyright terms: Public domain W3C validator