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

Theorem cmnpropd 18910
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 17930 . . 3 (𝜑 → (𝐾 ∈ Mnd ↔ 𝐿 ∈ Mnd))
53oveqrspc2v 7177 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑢(+g𝐾)𝑣) = (𝑢(+g𝐿)𝑣))
63oveqrspc2v 7177 . . . . . . 7 ((𝜑 ∧ (𝑣𝐵𝑢𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
76ancom2s 648 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
85, 7eqeq12d 2837 . . . . 5 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → ((𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
982ralbidva 3198 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
101raleqdv 3416 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
111, 10raleqbidv 3402 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
122raleqdv 3416 . . . . 5 (𝜑 → (∀𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
132, 12raleqbidv 3402 . . . 4 (𝜑 → (∀𝑢𝐵𝑣𝐵 (𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
149, 11, 133bitr3d 311 . . 3 (𝜑 → (∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
154, 14anbi12d 632 . 2 (𝜑 → ((𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)) ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢))))
16 eqid 2821 . . 3 (Base‘𝐾) = (Base‘𝐾)
17 eqid 2821 . . 3 (+g𝐾) = (+g𝐾)
1816, 17iscmn 18908 . 2 (𝐾 ∈ CMnd ↔ (𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
19 eqid 2821 . . 3 (Base‘𝐿) = (Base‘𝐿)
20 eqid 2821 . . 3 (+g𝐿) = (+g𝐿)
2119, 20iscmn 18908 . 2 (𝐿 ∈ CMnd ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
2215, 18, 213bitr4g 316 1 (𝜑 → (𝐾 ∈ CMnd ↔ 𝐿 ∈ CMnd))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wral 3138  cfv 6350  (class class class)co 7150  Basecbs 16477  +gcplusg 16559  Mndcmnd 17905  CMndccmn 18900
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-nul 5203  ax-pow 5259
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-iota 6309  df-fv 6358  df-ov 7153  df-mgm 17846  df-sgrp 17895  df-mnd 17906  df-cmn 18902
This theorem is referenced by:  ablpropd  18911  crngpropd  19327  prdscrngd  19357  resvcmn  30906
  Copyright terms: Public domain W3C validator