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

Theorem iscmn 19394
Description: The predicate "is a commutative monoid". (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
iscmn.b 𝐵 = (Base‘𝐺)
iscmn.p + = (+g𝐺)
Assertion
Ref Expression
iscmn (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐺,𝑦
Allowed substitution hints:   + (𝑥,𝑦)

Proof of Theorem iscmn
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6774 . . . . 5 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
2 iscmn.b . . . . 5 𝐵 = (Base‘𝐺)
31, 2eqtr4di 2796 . . . 4 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
4 raleq 3342 . . . . 5 ((Base‘𝑔) = 𝐵 → (∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
54raleqbi1dv 3340 . . . 4 ((Base‘𝑔) = 𝐵 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
63, 5syl 17 . . 3 (𝑔 = 𝐺 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
7 fveq2 6774 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
8 iscmn.p . . . . . . 7 + = (+g𝐺)
97, 8eqtr4di 2796 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
109oveqd 7292 . . . . 5 (𝑔 = 𝐺 → (𝑥(+g𝑔)𝑦) = (𝑥 + 𝑦))
119oveqd 7292 . . . . 5 (𝑔 = 𝐺 → (𝑦(+g𝑔)𝑥) = (𝑦 + 𝑥))
1210, 11eqeq12d 2754 . . . 4 (𝑔 = 𝐺 → ((𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ (𝑥 + 𝑦) = (𝑦 + 𝑥)))
13122ralbidv 3129 . . 3 (𝑔 = 𝐺 → (∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
146, 13bitrd 278 . 2 (𝑔 = 𝐺 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
15 df-cmn 19388 . 2 CMnd = {𝑔 ∈ Mnd ∣ ∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)}
1614, 15elrab2 3627 1 (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  Mndcmnd 18385  CMndccmn 19386
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-ov 7278  df-cmn 19388
This theorem is referenced by:  isabl2  19395  cmnpropd  19396  iscmnd  19399  cmnmnd  19402  cmncom  19403  ghmcmn  19433  submcmn2  19440  cycsubmcmn  19489  iscrng2  19802  xrs1cmn  20638  abliso  31305  gicabl  40924  pgrpgt2nabl  45702
  Copyright terms: Public domain W3C validator