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

Theorem iscmnd 18915
 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 1119 . . . 4 (𝜑 → ((𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) = (𝑦 + 𝑥)))
43ralrimivv 3158 . . 3 (𝜑 → ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥))
5 iscmnd.b . . . . 5 (𝜑𝐵 = (Base‘𝐺))
6 iscmnd.p . . . . . . . 8 (𝜑+ = (+g𝐺))
76oveqd 7156 . . . . . . 7 (𝜑 → (𝑥 + 𝑦) = (𝑥(+g𝐺)𝑦))
86oveqd 7156 . . . . . . 7 (𝜑 → (𝑦 + 𝑥) = (𝑦(+g𝐺)𝑥))
97, 8eqeq12d 2817 . . . . . 6 (𝜑 → ((𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ (𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
105, 9raleqbidv 3357 . . . . 5 (𝜑 → (∀𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ ∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
115, 10raleqbidv 3357 . . . 4 (𝜑 → (∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥) ↔ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
1211anbi2d 631 . . 3 (𝜑 → ((𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)) ↔ (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥))))
131, 4, 12mpbi2and 711 . 2 (𝜑 → (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
14 eqid 2801 . . 3 (Base‘𝐺) = (Base‘𝐺)
15 eqid 2801 . . 3 (+g𝐺) = (+g𝐺)
1614, 15iscmn 18910 . 2 (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥 ∈ (Base‘𝐺)∀𝑦 ∈ (Base‘𝐺)(𝑥(+g𝐺)𝑦) = (𝑦(+g𝐺)𝑥)))
1713, 16sylibr 237 1 (𝜑𝐺 ∈ CMnd)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   ∧ w3a 1084   = wceq 1538   ∈ wcel 2112  ∀wral 3109  ‘cfv 6328  (class class class)co 7139  Basecbs 16479  +gcplusg 16561  Mndcmnd 17907  CMndccmn 18902 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ral 3114  df-rab 3118  df-v 3446  df-un 3889  df-in 3891  df-ss 3901  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-br 5034  df-iota 6287  df-fv 6336  df-ov 7142  df-cmn 18904 This theorem is referenced by:  isabld  18916  subcmn  18954  cntrcmnd  18959  prdscmnd  18978  iscrngd  19336  xrsmcmn  20118  psrcrng  20655  idlsrgcmnd  31072  2zrngacmnd  44559
 Copyright terms: Public domain W3C validator