ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mhmex Unicode version

Theorem mhmex 13265
Description: The set of monoid homomorphisms exists. (Contributed by Jim Kingdon, 15-May-2025.)
Assertion
Ref Expression
mhmex  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( S MndHom  T )  e.  _V )

Proof of Theorem mhmex
Dummy variables  f  s  t  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnmap 6741 . . . . 5  |-  ^m  Fn  ( _V  X.  _V )
2 basfn 12861 . . . . . 6  |-  Base  Fn  _V
3 simpr 110 . . . . . . 7  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  T  e.  Mnd )
43elexd 2784 . . . . . 6  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  T  e.  _V )
5 funfvex 5592 . . . . . . 7  |-  ( ( Fun  Base  /\  T  e. 
dom  Base )  ->  ( Base `  T )  e. 
_V )
65funfni 5375 . . . . . 6  |-  ( (
Base  Fn  _V  /\  T  e.  _V )  ->  ( Base `  T )  e. 
_V )
72, 4, 6sylancr 414 . . . . 5  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( Base `  T
)  e.  _V )
8 simpl 109 . . . . . . 7  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  S  e.  Mnd )
98elexd 2784 . . . . . 6  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  S  e.  _V )
10 funfvex 5592 . . . . . . 7  |-  ( ( Fun  Base  /\  S  e. 
dom  Base )  ->  ( Base `  S )  e. 
_V )
1110funfni 5375 . . . . . 6  |-  ( (
Base  Fn  _V  /\  S  e.  _V )  ->  ( Base `  S )  e. 
_V )
122, 9, 11sylancr 414 . . . . 5  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( Base `  S
)  e.  _V )
13 fnovex 5976 . . . . 5  |-  ( (  ^m  Fn  ( _V 
X.  _V )  /\  ( Base `  T )  e. 
_V  /\  ( Base `  S )  e.  _V )  ->  ( ( Base `  T )  ^m  ( Base `  S ) )  e.  _V )
141, 7, 12, 13mp3an2i 1354 . . . 4  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( ( Base `  T
)  ^m  ( Base `  S ) )  e. 
_V )
15 rabexg 4186 . . . 4  |-  ( ( ( Base `  T
)  ^m  ( Base `  S ) )  e. 
_V  ->  { f  e.  ( ( Base `  T
)  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  T ) ) }  e.  _V )
1614, 15syl 14 . . 3  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  { f  e.  ( ( Base `  T
)  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  T ) ) }  e.  _V )
17 fveq2 5575 . . . . . 6  |-  ( s  =  S  ->  ( Base `  s )  =  ( Base `  S
) )
1817oveq2d 5959 . . . . 5  |-  ( s  =  S  ->  (
( Base `  t )  ^m  ( Base `  s
) )  =  ( ( Base `  t
)  ^m  ( Base `  S ) ) )
19 fveq2 5575 . . . . . . . . . 10  |-  ( s  =  S  ->  ( +g  `  s )  =  ( +g  `  S
) )
2019oveqd 5960 . . . . . . . . 9  |-  ( s  =  S  ->  (
x ( +g  `  s
) y )  =  ( x ( +g  `  S ) y ) )
2120fveqeq2d 5583 . . . . . . . 8  |-  ( s  =  S  ->  (
( f `  (
x ( +g  `  s
) y ) )  =  ( ( f `
 x ) ( +g  `  t ) ( f `  y
) )  <->  ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) ) ) )
2217, 21raleqbidv 2717 . . . . . . 7  |-  ( s  =  S  ->  ( A. y  e.  ( Base `  s ) ( f `  ( x ( +g  `  s
) y ) )  =  ( ( f `
 x ) ( +g  `  t ) ( f `  y
) )  <->  A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) ) ) )
2317, 22raleqbidv 2717 . . . . . 6  |-  ( s  =  S  ->  ( A. x  e.  ( Base `  s ) A. y  e.  ( Base `  s ) ( f `
 ( x ( +g  `  s ) y ) )  =  ( ( f `  x ) ( +g  `  t ) ( f `
 y ) )  <->  A. x  e.  ( Base `  S ) A. y  e.  ( Base `  S ) ( f `
 ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t ) ( f `
 y ) ) ) )
24 fveq2 5575 . . . . . . 7  |-  ( s  =  S  ->  ( 0g `  s )  =  ( 0g `  S
) )
2524fveqeq2d 5583 . . . . . 6  |-  ( s  =  S  ->  (
( f `  ( 0g `  s ) )  =  ( 0g `  t )  <->  ( f `  ( 0g `  S
) )  =  ( 0g `  t ) ) )
2623, 25anbi12d 473 . . . . 5  |-  ( s  =  S  ->  (
( A. x  e.  ( Base `  s
) A. y  e.  ( Base `  s
) ( f `  ( x ( +g  `  s ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  s ) )  =  ( 0g `  t ) )  <->  ( A. x  e.  ( Base `  S ) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  t ) ) ) )
2718, 26rabeqbidv 2766 . . . 4  |-  ( s  =  S  ->  { f  e.  ( ( Base `  t )  ^m  ( Base `  s ) )  |  ( A. x  e.  ( Base `  s
) A. y  e.  ( Base `  s
) ( f `  ( x ( +g  `  s ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  s ) )  =  ( 0g `  t ) ) }  =  { f  e.  ( ( Base `  t
)  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  t ) ) } )
28 fveq2 5575 . . . . . 6  |-  ( t  =  T  ->  ( Base `  t )  =  ( Base `  T
) )
2928oveq1d 5958 . . . . 5  |-  ( t  =  T  ->  (
( Base `  t )  ^m  ( Base `  S
) )  =  ( ( Base `  T
)  ^m  ( Base `  S ) ) )
30 fveq2 5575 . . . . . . . . 9  |-  ( t  =  T  ->  ( +g  `  t )  =  ( +g  `  T
) )
3130oveqd 5960 . . . . . . . 8  |-  ( t  =  T  ->  (
( f `  x
) ( +g  `  t
) ( f `  y ) )  =  ( ( f `  x ) ( +g  `  T ) ( f `
 y ) ) )
3231eqeq2d 2216 . . . . . . 7  |-  ( t  =  T  ->  (
( f `  (
x ( +g  `  S
) y ) )  =  ( ( f `
 x ) ( +g  `  t ) ( f `  y
) )  <->  ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) ) ) )
33322ralbidv 2529 . . . . . 6  |-  ( t  =  T  ->  ( A. x  e.  ( Base `  S ) A. y  e.  ( Base `  S ) ( f `
 ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t ) ( f `
 y ) )  <->  A. x  e.  ( Base `  S ) A. y  e.  ( Base `  S ) ( f `
 ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T ) ( f `
 y ) ) ) )
34 fveq2 5575 . . . . . . 7  |-  ( t  =  T  ->  ( 0g `  t )  =  ( 0g `  T
) )
3534eqeq2d 2216 . . . . . 6  |-  ( t  =  T  ->  (
( f `  ( 0g `  S ) )  =  ( 0g `  t )  <->  ( f `  ( 0g `  S
) )  =  ( 0g `  T ) ) )
3633, 35anbi12d 473 . . . . 5  |-  ( t  =  T  ->  (
( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  t ) )  <->  ( A. x  e.  ( Base `  S ) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  T ) ) ) )
3729, 36rabeqbidv 2766 . . . 4  |-  ( t  =  T  ->  { f  e.  ( ( Base `  t )  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  t
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  t ) ) }  =  { f  e.  ( ( Base `  T
)  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  T ) ) } )
38 df-mhm 13262 . . . 4  |- MndHom  =  ( s  e.  Mnd , 
t  e.  Mnd  |->  { f  e.  ( (
Base `  t )  ^m  ( Base `  s
) )  |  ( A. x  e.  (
Base `  s ) A. y  e.  ( Base `  s ) ( f `  ( x ( +g  `  s
) y ) )  =  ( ( f `
 x ) ( +g  `  t ) ( f `  y
) )  /\  (
f `  ( 0g `  s ) )  =  ( 0g `  t
) ) } )
3927, 37, 38ovmpog 6079 . . 3  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd  /\  {
f  e.  ( (
Base `  T )  ^m  ( Base `  S
) )  |  ( A. x  e.  (
Base `  S ) A. y  e.  ( Base `  S ) ( f `  ( x ( +g  `  S
) y ) )  =  ( ( f `
 x ) ( +g  `  T ) ( f `  y
) )  /\  (
f `  ( 0g `  S ) )  =  ( 0g `  T
) ) }  e.  _V )  ->  ( S MndHom  T )  =  {
f  e.  ( (
Base `  T )  ^m  ( Base `  S
) )  |  ( A. x  e.  (
Base `  S ) A. y  e.  ( Base `  S ) ( f `  ( x ( +g  `  S
) y ) )  =  ( ( f `
 x ) ( +g  `  T ) ( f `  y
) )  /\  (
f `  ( 0g `  S ) )  =  ( 0g `  T
) ) } )
4016, 39mpd3an3 1350 . 2  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( S MndHom  T )  =  { f  e.  ( ( Base `  T
)  ^m  ( Base `  S ) )  |  ( A. x  e.  ( Base `  S
) A. y  e.  ( Base `  S
) ( f `  ( x ( +g  `  S ) y ) )  =  ( ( f `  x ) ( +g  `  T
) ( f `  y ) )  /\  ( f `  ( 0g `  S ) )  =  ( 0g `  T ) ) } )
4140, 16eqeltrd 2281 1  |-  ( ( S  e.  Mnd  /\  T  e.  Mnd )  ->  ( S MndHom  T )  e.  _V )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    = wceq 1372    e. wcel 2175   A.wral 2483   {crab 2487   _Vcvv 2771    X. cxp 4672    Fn wfn 5265   ` cfv 5270  (class class class)co 5943    ^m cmap 6734   Basecbs 12803   +g cplusg 12880   0gc0g 13059   Mndcmnd 13219   MndHom cmhm 13260
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1469  ax-7 1470  ax-gen 1471  ax-ie1 1515  ax-ie2 1516  ax-8 1526  ax-10 1527  ax-11 1528  ax-i12 1529  ax-bndl 1531  ax-4 1532  ax-17 1548  ax-i9 1552  ax-ial 1556  ax-i5r 1557  ax-13 2177  ax-14 2178  ax-ext 2186  ax-sep 4161  ax-pow 4217  ax-pr 4252  ax-un 4479  ax-setind 4584  ax-cnex 8015  ax-resscn 8016  ax-1re 8018  ax-addrcl 8021
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1375  df-fal 1378  df-nf 1483  df-sb 1785  df-eu 2056  df-mo 2057  df-clab 2191  df-cleq 2197  df-clel 2200  df-nfc 2336  df-ne 2376  df-ral 2488  df-rex 2489  df-rab 2492  df-v 2773  df-sbc 2998  df-csb 3093  df-dif 3167  df-un 3169  df-in 3171  df-ss 3178  df-pw 3617  df-sn 3638  df-pr 3639  df-op 3641  df-uni 3850  df-int 3885  df-iun 3928  df-br 4044  df-opab 4105  df-mpt 4106  df-id 4339  df-xp 4680  df-rel 4681  df-cnv 4682  df-co 4683  df-dm 4684  df-rn 4685  df-res 4686  df-ima 4687  df-iota 5231  df-fun 5272  df-fn 5273  df-f 5274  df-fv 5278  df-ov 5946  df-oprab 5947  df-mpo 5948  df-1st 6225  df-2nd 6226  df-map 6736  df-inn 9036  df-ndx 12806  df-slot 12807  df-base 12809  df-mhm 13262
This theorem is referenced by:  ghmex  13562
  Copyright terms: Public domain W3C validator