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

Theorem cmncom 15105
Description: An commutative monoid is commutative. (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
ablcom.b  |-  B  =  ( Base `  G
)
ablcom.p  |-  .+  =  ( +g  `  G )
Assertion
Ref Expression
cmncom  |-  ( ( G  e. CMnd  /\  X  e.  B  /\  Y  e.  B )  ->  ( X  .+  Y )  =  ( Y  .+  X
) )

Proof of Theorem cmncom
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ablcom.b . . . . . 6  |-  B  =  ( Base `  G
)
2 ablcom.p . . . . . 6  |-  .+  =  ( +g  `  G )
31, 2iscmn 15096 . . . . 5  |-  ( G  e. CMnd 
<->  ( G  e.  Mnd  /\ 
A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) ) )
43simprbi 450 . . . 4  |-  ( G  e. CMnd  ->  A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x ) )
5 rsp2 2605 . . . . 5  |-  ( A. x  e.  B  A. y  e.  B  (
x  .+  y )  =  ( y  .+  x )  ->  (
( x  e.  B  /\  y  e.  B
)  ->  ( x  .+  y )  =  ( y  .+  x ) ) )
65imp 418 . . . 4  |-  ( ( A. x  e.  B  A. y  e.  B  ( x  .+  y )  =  ( y  .+  x )  /\  (
x  e.  B  /\  y  e.  B )
)  ->  ( x  .+  y )  =  ( y  .+  x ) )
74, 6sylan 457 . . 3  |-  ( ( G  e. CMnd  /\  (
x  e.  B  /\  y  e.  B )
)  ->  ( x  .+  y )  =  ( y  .+  x ) )
87caovcomg 6015 . 2  |-  ( ( G  e. CMnd  /\  ( X  e.  B  /\  Y  e.  B )
)  ->  ( X  .+  Y )  =  ( Y  .+  X ) )
983impb 1147 1  |-  ( ( G  e. CMnd  /\  X  e.  B  /\  Y  e.  B )  ->  ( X  .+  Y )  =  ( Y  .+  X
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   A.wral 2543   ` cfv 5255  (class class class)co 5858   Basecbs 13148   +g cplusg 13208   Mndcmnd 14361  CMndccmn 15089
This theorem is referenced by:  ablcom  15106  cmn32  15107  cmn4  15108  cmn12  15109  mulgnn0di  15125  subcmn  15133  cntzcmn  15136  prdscmnd  15153  crngcom  15355  ip2di  16545
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-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-iota 5219  df-fv 5263  df-ov 5861  df-cmn 15091
  Copyright terms: Public domain W3C validator