ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  iscmn GIF version

Theorem iscmn 12892
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 5507 . . . . 5 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
2 iscmn.b . . . . 5 𝐵 = (Base‘𝐺)
31, 2eqtr4di 2226 . . . 4 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
4 raleq 2670 . . . . 5 ((Base‘𝑔) = 𝐵 → (∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
54raleqbi1dv 2678 . . . 4 ((Base‘𝑔) = 𝐵 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
63, 5syl 14 . . 3 (𝑔 = 𝐺 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)))
7 fveq2 5507 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
8 iscmn.p . . . . . . 7 + = (+g𝐺)
97, 8eqtr4di 2226 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
109oveqd 5882 . . . . 5 (𝑔 = 𝐺 → (𝑥(+g𝑔)𝑦) = (𝑥 + 𝑦))
119oveqd 5882 . . . . 5 (𝑔 = 𝐺 → (𝑦(+g𝑔)𝑥) = (𝑦 + 𝑥))
1210, 11eqeq12d 2190 . . . 4 (𝑔 = 𝐺 → ((𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ (𝑥 + 𝑦) = (𝑦 + 𝑥)))
13122ralbidv 2499 . . 3 (𝑔 = 𝐺 → (∀𝑥𝐵𝑦𝐵 (𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
146, 13bitrd 188 . 2 (𝑔 = 𝐺 → (∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥) ↔ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
15 df-cmn 12886 . 2 CMnd = {𝑔 ∈ Mnd ∣ ∀𝑥 ∈ (Base‘𝑔)∀𝑦 ∈ (Base‘𝑔)(𝑥(+g𝑔)𝑦) = (𝑦(+g𝑔)𝑥)}
1614, 15elrab2 2894 1 (𝐺 ∈ CMnd ↔ (𝐺 ∈ Mnd ∧ ∀𝑥𝐵𝑦𝐵 (𝑥 + 𝑦) = (𝑦 + 𝑥)))
Colors of variables: wff set class
Syntax hints:  wa 104  wb 105   = wceq 1353  wcel 2146  wral 2453  cfv 5208  (class class class)co 5865  Basecbs 12428  +gcplusg 12492  Mndcmnd 12682  CMndccmn 12884
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 709  ax-5 1445  ax-7 1446  ax-gen 1447  ax-ie1 1491  ax-ie2 1492  ax-8 1502  ax-10 1503  ax-11 1504  ax-i12 1505  ax-bndl 1507  ax-4 1508  ax-17 1524  ax-i9 1528  ax-ial 1532  ax-i5r 1533  ax-ext 2157
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-nf 1459  df-sb 1761  df-clab 2162  df-cleq 2168  df-clel 2171  df-nfc 2306  df-ral 2458  df-rex 2459  df-rab 2462  df-v 2737  df-un 3131  df-sn 3595  df-pr 3596  df-op 3598  df-uni 3806  df-br 3999  df-iota 5170  df-fv 5216  df-ov 5868  df-cmn 12886
This theorem is referenced by:  isabl2  12893  cmnpropd  12894  iscmnd  12897  cmnmnd  12900  cmncom  12901
  Copyright terms: Public domain W3C validator