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

Theorem cmnpropd 18908
Description: If two structures have the same group components (properties), one is a commutative monoid iff the other one is. (Contributed by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
ablpropd.1 (𝜑𝐵 = (Base‘𝐾))
ablpropd.2 (𝜑𝐵 = (Base‘𝐿))
ablpropd.3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥(+g𝐾)𝑦) = (𝑥(+g𝐿)𝑦))
Assertion
Ref Expression
cmnpropd (𝜑 → (𝐾 ∈ CMnd ↔ 𝐿 ∈ CMnd))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐾,𝑦   𝑥,𝐿,𝑦   𝜑,𝑥,𝑦

Proof of Theorem cmnpropd
Dummy variables 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ablpropd.1 . . . 4 (𝜑𝐵 = (Base‘𝐾))
2 ablpropd.2 . . . 4 (𝜑𝐵 = (Base‘𝐿))
3 ablpropd.3 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥(+g𝐾)𝑦) = (𝑥(+g𝐿)𝑦))
41, 2, 3mndpropd 17928 . . 3 (𝜑 → (𝐾 ∈ Mnd ↔ 𝐿 ∈ Mnd))
53oveqrspc2v 7162 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑢(+g𝐾)𝑣) = (𝑢(+g𝐿)𝑣))
63oveqrspc2v 7162 . . . . . . 7 ((𝜑 ∧ (𝑣𝐵𝑢𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
76ancom2s 649 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
85, 7eqeq12d 2814 . . . . 5 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → ((𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
982ralbidva 3163 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
101raleqdv 3364 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
111, 10raleqbidv 3354 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
122raleqdv 3364 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
132, 12raleqbidv 3354 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
149, 11, 133bitr3d 312 . . 3 (𝜑 → (∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
154, 14anbi12d 633 . 2 (𝜑 → ((𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)) ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢))))
16 eqid 2798 . . 3 (Base‘𝐾) = (Base‘𝐾)
17 eqid 2798 . . 3 (+g𝐾) = (+g𝐾)
1816, 17iscmn 18906 . 2 (𝐾 ∈ CMnd ↔ (𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
19 eqid 2798 . . 3 (Base‘𝐿) = (Base‘𝐿)
20 eqid 2798 . . 3 (+g𝐿) = (+g𝐿)
2119, 20iscmn 18906 . 2 (𝐿 ∈ CMnd ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
2215, 18, 213bitr4g 317 1 (𝜑 → (𝐾 ∈ CMnd ↔ 𝐿 ∈ CMnd))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3106  cfv 6324  (class class class)co 7135  Basecbs 16475  +gcplusg 16557  Mndcmnd 17903  CMndccmn 18898
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 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-nul 5174  ax-pow 5231
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-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332  df-ov 7138  df-mgm 17844  df-sgrp 17893  df-mnd 17904  df-cmn 18900
This theorem is referenced by:  ablpropd  18909  crngpropd  19329  prdscrngd  19359  resvcmn  30962
  Copyright terms: Public domain W3C validator