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

Theorem cmnpropd 18025
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 17139 . . 3 (𝜑 → (𝐾 ∈ Mnd ↔ 𝐿 ∈ Mnd))
53oveqrspc2v 6572 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑢(+g𝐾)𝑣) = (𝑢(+g𝐿)𝑣))
63oveqrspc2v 6572 . . . . . . 7 ((𝜑 ∧ (𝑣𝐵𝑢𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
76ancom2s 840 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
85, 7eqeq12d 2625 . . . . 5 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → ((𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
982ralbidva 2971 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
101raleqdv 3121 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
111, 10raleqbidv 3129 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
122raleqdv 3121 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
132, 12raleqbidv 3129 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
149, 11, 133bitr3d 297 . . 3 (𝜑 → (∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
154, 14anbi12d 743 . 2 (𝜑 → ((𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)) ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢))))
16 eqid 2610 . . 3 (Base‘𝐾) = (Base‘𝐾)
17 eqid 2610 . . 3 (+g𝐾) = (+g𝐾)
1816, 17iscmn 18023 . 2 (𝐾 ∈ CMnd ↔ (𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
19 eqid 2610 . . 3 (Base‘𝐿) = (Base‘𝐿)
20 eqid 2610 . . 3 (+g𝐿) = (+g𝐿)
2119, 20iscmn 18023 . 2 (𝐿 ∈ CMnd ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
2215, 18, 213bitr4g 302 1 (𝜑 → (𝐾 ∈ CMnd ↔ 𝐿 ∈ CMnd))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  cfv 5804  (class class class)co 6549  Basecbs 15695  +gcplusg 15768  Mndcmnd 17117  CMndccmn 18016
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-nul 4717  ax-pow 4769
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-iota 5768  df-fv 5812  df-ov 6552  df-mgm 17065  df-sgrp 17107  df-mnd 17118  df-cmn 18018
This theorem is referenced by:  ablpropd  18026  crngpropd  18406  prdscrngd  18436  resvcmn  29169
  Copyright terms: Public domain W3C validator