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

Theorem iscmnd 19399
Description: Properties that determine a commutative monoid. (Contributed by Mario Carneiro, 7-Jan-2015.)
Hypotheses
Ref Expression
iscmnd.b (𝜑𝐵 = (Base‘𝐺))
iscmnd.p (𝜑+ = (+g𝐺))
iscmnd.g (𝜑𝐺 ∈ Mnd)
iscmnd.c ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
Assertion
Ref Expression
iscmnd (𝜑𝐺 ∈ CMnd)
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐺,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   + (𝑥,𝑦)

Proof of Theorem iscmnd
StepHypRef Expression
1 iscmnd.g . . 3 (𝜑𝐺 ∈ Mnd)
2 iscmnd.c . . . . 5 ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑦 + 𝑥))
323expib 1121 . . . 4 (𝜑 → ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑦 + 𝑥)))
43ralrimivv 3122 . . 3 (𝜑 → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥))
5 iscmnd.b . . . . 5 (𝜑𝐵 = (Base‘𝐺))
6 iscmnd.p . . . . . . . 8 (𝜑+ = (+g𝐺))
76oveqd 7292 . . . . . . 7 (𝜑 → (𝑥 + 𝑦) = (𝑥(+g𝐺)𝑦))
86oveqd 7292 . . . . . . 7 (𝜑 → (𝑦 + 𝑥) = (𝑦(+g𝐺)𝑥))
97, 8eqeq12d 2754 . . . . . 6 (𝜑 → ((𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ (𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
105, 9raleqbidv 3336 . . . . 5 (𝜑 → (∀𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ ∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
115, 10raleqbidv 3336 . . . 4 (𝜑 → (∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
1211anbi2d 629 . . 3 (𝜑 → ((𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)) ↔ (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥))))
131, 4, 12mpbi2and 709 . 2 (𝜑 → (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
14 eqid 2738 . . 3 (Base‘𝐺) = (Base‘𝐺)
15 eqid 2738 . . 3 (+g𝐺) = (+g𝐺)
1614, 15iscmn 19394 . 2 (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
1713, 16sylibr 233 1 (𝜑𝐺 ∈ CMnd)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = 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:  isabld  19400  subcmn  19438  cntrcmnd  19443  prdscmnd  19462  iscrngd  19825  xrsmcmn  20621  psrcrng  21182  idlsrgcmnd  31660  2zrngacmnd  45500
  Copyright terms: Public domain W3C validator