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

Theorem cmncom 18923
Description: A commutative monoid is commutative. (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
ablcom.b 𝐵 = (Base‘𝐺)
ablcom.p + = (+g𝐺)
Assertion
Ref Expression
cmncom ((𝐺 ∈ CMnd ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) = (𝑌 + 𝑋))

Proof of Theorem cmncom
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ablcom.b . . . . . 6 𝐵 = (Base‘𝐺)
2 ablcom.p . . . . . 6 + = (+g𝐺)
31, 2iscmn 18914 . . . . 5 (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
43simprbi 499 . . . 4 (𝐺 ∈ CMnd → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥))
5 rsp2 3213 . . . . 5 (∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) → ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑦 + 𝑥)))
65imp 409 . . . 4 ((∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
74, 6sylan 582 . . 3 ((𝐺 ∈ CMnd ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
87caovcomg 7343 . 2 ((𝐺 ∈ CMnd ∧ (𝑋𝐵𝑌𝐵)) → (𝑋 + 𝑌) = (𝑌 + 𝑋))
983impb 1111 1 ((𝐺 ∈ CMnd ∧ 𝑋𝐵𝑌𝐵) → (𝑋 + 𝑌) = (𝑌 + 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1537  wcel 2114  wral 3138  cfv 6355  (class class class)co 7156  Basecbs 16483  +gcplusg 16565  Mndcmnd 17911  CMndccmn 18906
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rab 3147  df-v 3496  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-iota 6314  df-fv 6363  df-ov 7159  df-cmn 18908
This theorem is referenced by:  ablcom  18924  cmn32  18925  cmn4  18926  cmn12  18927  rinvmod  18929  mulgnn0di  18946  ghmcmn  18952  subcmn  18957  cntzcmn  18960  prdscmnd  18981  srgcom  19275  srgbinomlem4  19293  csrgbinom  19296  crngcom  19312  lply1binom  20474  ip2di  20785  chfacfscmulgsum  21468  chfacfpmmulgsum  21472  cpmadugsumlemF  21484  omndadd2d  30709  ofldchr  30887
  Copyright terms: Public domain W3C validator