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

Theorem iscmn 12996
Description: The predicate "is a commutative monoid". (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
iscmn.b  |-  B  =  ( Base `  G
)
iscmn.p  |-  .+  =  ( +g  `  G )
Assertion
Ref Expression
iscmn  |-  ( G  e. CMnd 
<->  ( G  e.  Mnd  /\ 
A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) ) )
Distinct variable groups:    x, y, B   
x, G, y
Allowed substitution hints:    .+ ( x, y)

Proof of Theorem iscmn
Dummy variable  g is distinct from all other variables.
StepHypRef Expression
1 fveq2 5512 . . . . 5  |-  ( g  =  G  ->  ( Base `  g )  =  ( Base `  G
) )
2 iscmn.b . . . . 5  |-  B  =  ( Base `  G
)
31, 2eqtr4di 2228 . . . 4  |-  ( g  =  G  ->  ( Base `  g )  =  B )
4 raleq 2672 . . . . 5  |-  ( (
Base `  g )  =  B  ->  ( A. y  e.  ( Base `  g ) ( x ( +g  `  g
) y )  =  ( y ( +g  `  g ) x )  <->  A. y  e.  B  ( x ( +g  `  g ) y )  =  ( y ( +g  `  g ) x ) ) )
54raleqbi1dv 2680 . . . 4  |-  ( (
Base `  g )  =  B  ->  ( A. x  e.  ( Base `  g ) A. y  e.  ( Base `  g
) ( x ( +g  `  g ) y )  =  ( y ( +g  `  g
) x )  <->  A. x  e.  B  A. y  e.  B  ( x
( +g  `  g ) y )  =  ( y ( +g  `  g
) x ) ) )
63, 5syl 14 . . 3  |-  ( g  =  G  ->  ( A. x  e.  ( Base `  g ) A. y  e.  ( Base `  g ) ( x ( +g  `  g
) y )  =  ( y ( +g  `  g ) x )  <->  A. x  e.  B  A. y  e.  B  ( x ( +g  `  g ) y )  =  ( y ( +g  `  g ) x ) ) )
7 fveq2 5512 . . . . . . 7  |-  ( g  =  G  ->  ( +g  `  g )  =  ( +g  `  G
) )
8 iscmn.p . . . . . . 7  |-  .+  =  ( +g  `  G )
97, 8eqtr4di 2228 . . . . . 6  |-  ( g  =  G  ->  ( +g  `  g )  = 
.+  )
109oveqd 5887 . . . . 5  |-  ( g  =  G  ->  (
x ( +g  `  g
) y )  =  ( x  .+  y
) )
119oveqd 5887 . . . . 5  |-  ( g  =  G  ->  (
y ( +g  `  g
) x )  =  ( y  .+  x
) )
1210, 11eqeq12d 2192 . . . 4  |-  ( g  =  G  ->  (
( x ( +g  `  g ) y )  =  ( y ( +g  `  g ) x )  <->  ( x  .+  y )  =  ( y  .+  x ) ) )
13122ralbidv 2501 . . 3  |-  ( g  =  G  ->  ( A. x  e.  B  A. y  e.  B  ( x ( +g  `  g ) y )  =  ( y ( +g  `  g ) x )  <->  A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) ) )
146, 13bitrd 188 . 2  |-  ( g  =  G  ->  ( A. x  e.  ( Base `  g ) A. y  e.  ( Base `  g ) ( x ( +g  `  g
) y )  =  ( y ( +g  `  g ) x )  <->  A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) ) )
15 df-cmn 12990 . 2  |- CMnd  =  {
g  e.  Mnd  |  A. x  e.  ( Base `  g ) A. y  e.  ( Base `  g ) ( x ( +g  `  g
) y )  =  ( y ( +g  `  g ) x ) }
1614, 15elrab2 2896 1  |-  ( G  e. CMnd 
<->  ( G  e.  Mnd  /\ 
A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) ) )
Colors of variables: wff set class
Syntax hints:    /\ wa 104    <-> wb 105    = wceq 1353    e. wcel 2148   A.wral 2455   ` cfv 5213  (class class class)co 5870   Basecbs 12452   +g cplusg 12526   Mndcmnd 12747  CMndccmn 12988
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 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-ext 2159
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1461  df-sb 1763  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ral 2460  df-rex 2461  df-rab 2464  df-v 2739  df-un 3133  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3809  df-br 4002  df-iota 5175  df-fv 5221  df-ov 5873  df-cmn 12990
This theorem is referenced by:  isabl2  12997  cmnpropd  12998  iscmnd  13001  cmnmnd  13004  cmncom  13005  iscrng2  13098
  Copyright terms: Public domain W3C validator