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

Theorem ismgm 12943
Description: The predicate "is a magma". (Contributed by FL, 2-Nov-2009.) (Revised by AV, 6-Jan-2020.)
Hypotheses
Ref Expression
ismgm.b  |-  B  =  ( Base `  M
)
ismgm.o  |-  .o.  =  ( +g  `  M )
Assertion
Ref Expression
ismgm  |-  ( M  e.  V  ->  ( M  e. Mgm  <->  A. x  e.  B  A. y  e.  B  ( x  .o.  y
)  e.  B ) )
Distinct variable groups:    x, B, y   
x, M, y    x,  .o. , y
Allowed substitution hints:    V( x, y)

Proof of Theorem ismgm
Dummy variables  b  m  o are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 basfn 12679 . . . . 5  |-  Base  Fn  _V
2 vex 2763 . . . . 5  |-  m  e. 
_V
3 funfvex 5572 . . . . . 6  |-  ( ( Fun  Base  /\  m  e.  dom  Base )  ->  ( Base `  m )  e. 
_V )
43funfni 5355 . . . . 5  |-  ( (
Base  Fn  _V  /\  m  e.  _V )  ->  ( Base `  m )  e. 
_V )
51, 2, 4mp2an 426 . . . 4  |-  ( Base `  m )  e.  _V
65a1i 9 . . 3  |-  ( m  =  M  ->  ( Base `  m )  e. 
_V )
7 fveq2 5555 . . . 4  |-  ( m  =  M  ->  ( Base `  m )  =  ( Base `  M
) )
8 ismgm.b . . . 4  |-  B  =  ( Base `  M
)
97, 8eqtr4di 2244 . . 3  |-  ( m  =  M  ->  ( Base `  m )  =  B )
10 plusgslid 12733 . . . . . . 7  |-  ( +g  = Slot  ( +g  `  ndx )  /\  ( +g  `  ndx )  e.  NN )
1110slotex 12648 . . . . . 6  |-  ( m  e.  _V  ->  ( +g  `  m )  e. 
_V )
1211elv 2764 . . . . 5  |-  ( +g  `  m )  e.  _V
1312a1i 9 . . . 4  |-  ( ( m  =  M  /\  b  =  B )  ->  ( +g  `  m
)  e.  _V )
14 fveq2 5555 . . . . . 6  |-  ( m  =  M  ->  ( +g  `  m )  =  ( +g  `  M
) )
1514adantr 276 . . . . 5  |-  ( ( m  =  M  /\  b  =  B )  ->  ( +g  `  m
)  =  ( +g  `  M ) )
16 ismgm.o . . . . 5  |-  .o.  =  ( +g  `  M )
1715, 16eqtr4di 2244 . . . 4  |-  ( ( m  =  M  /\  b  =  B )  ->  ( +g  `  m
)  =  .o.  )
18 simplr 528 . . . . 5  |-  ( ( ( m  =  M  /\  b  =  B )  /\  o  =  .o.  )  ->  b  =  B )
19 oveq 5925 . . . . . . . 8  |-  ( o  =  .o.  ->  (
x o y )  =  ( x  .o.  y ) )
2019adantl 277 . . . . . . 7  |-  ( ( ( m  =  M  /\  b  =  B )  /\  o  =  .o.  )  ->  (
x o y )  =  ( x  .o.  y ) )
2120, 18eleq12d 2264 . . . . . 6  |-  ( ( ( m  =  M  /\  b  =  B )  /\  o  =  .o.  )  ->  (
( x o y )  e.  b  <->  ( x  .o.  y )  e.  B
) )
2218, 21raleqbidv 2706 . . . . 5  |-  ( ( ( m  =  M  /\  b  =  B )  /\  o  =  .o.  )  ->  ( A. y  e.  b 
( x o y )  e.  b  <->  A. y  e.  B  ( x  .o.  y )  e.  B
) )
2318, 22raleqbidv 2706 . . . 4  |-  ( ( ( m  =  M  /\  b  =  B )  /\  o  =  .o.  )  ->  ( A. x  e.  b  A. y  e.  b 
( x o y )  e.  b  <->  A. x  e.  B  A. y  e.  B  ( x  .o.  y )  e.  B
) )
2413, 17, 23sbcied2 3024 . . 3  |-  ( ( m  =  M  /\  b  =  B )  ->  ( [. ( +g  `  m )  /  o ]. A. x  e.  b 
A. y  e.  b  ( x o y )  e.  b  <->  A. x  e.  B  A. y  e.  B  ( x  .o.  y )  e.  B
) )
256, 9, 24sbcied2 3024 . 2  |-  ( m  =  M  ->  ( [. ( Base `  m
)  /  b ]. [. ( +g  `  m
)  /  o ]. A. x  e.  b  A. y  e.  b 
( x o y )  e.  b  <->  A. x  e.  B  A. y  e.  B  ( x  .o.  y )  e.  B
) )
26 df-mgm 12942 . 2  |- Mgm  =  {
m  |  [. ( Base `  m )  / 
b ]. [. ( +g  `  m )  /  o ]. A. x  e.  b 
A. y  e.  b  ( x o y )  e.  b }
2725, 26elab2g 2908 1  |-  ( M  e.  V  ->  ( M  e. Mgm  <->  A. x  e.  B  A. y  e.  B  ( x  .o.  y
)  e.  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1364    e. wcel 2164   A.wral 2472   _Vcvv 2760   [.wsbc 2986    Fn wfn 5250   ` cfv 5255  (class class class)co 5919   Basecbs 12621   +g cplusg 12698  Mgmcmgm 12940
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-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-13 2166  ax-14 2167  ax-ext 2175  ax-sep 4148  ax-pow 4204  ax-pr 4239  ax-un 4465  ax-cnex 7965  ax-resscn 7966  ax-1re 7968  ax-addrcl 7971
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-eu 2045  df-mo 2046  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-v 2762  df-sbc 2987  df-un 3158  df-in 3160  df-ss 3167  df-pw 3604  df-sn 3625  df-pr 3626  df-op 3628  df-uni 3837  df-int 3872  df-br 4031  df-opab 4092  df-mpt 4093  df-id 4325  df-xp 4666  df-rel 4667  df-cnv 4668  df-co 4669  df-dm 4670  df-rn 4671  df-res 4672  df-iota 5216  df-fun 5257  df-fn 5258  df-fv 5263  df-ov 5922  df-inn 8985  df-2 9043  df-ndx 12624  df-slot 12625  df-base 12627  df-plusg 12711  df-mgm 12942
This theorem is referenced by:  ismgmn0  12944  mgmcl  12945  mgm0  12955  issgrpv  12990  rnglidlmmgm  13995
  Copyright terms: Public domain W3C validator