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

Theorem cmnpropd 18847
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 17926 . . 3 (𝜑 → (𝐾 ∈ Mnd ↔ 𝐿 ∈ Mnd))
53oveqrspc2v 7172 . . . . . 6 ((𝜑 ∧ (𝑢𝐵𝑣𝐵)) → (𝑢(+g𝐾)𝑣) = (𝑢(+g𝐿)𝑣))
63oveqrspc2v 7172 . . . . . . 7 ((𝜑 ∧ (𝑣𝐵𝑢𝐵)) → (𝑣(+g𝐾)𝑢) = (𝑣(+g𝐿)𝑢))
76ancom2s 646 . . . . . 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 310 . . 3 (𝜑 → (∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢) ↔ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
154, 14anbi12d 630 . 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 18845 . 2 (𝐾 ∈ CMnd ↔ (𝐾 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐾)∀𝑣 ∈ (Base‘𝐾)(𝑢(+g𝐾)𝑣) = (𝑣(+g𝐾)𝑢)))
19 eqid 2821 . . 3 (Base‘𝐿) = (Base‘𝐿)
20 eqid 2821 . . 3 (+g𝐿) = (+g𝐿)
2119, 20iscmn 18845 . 2 (𝐿 ∈ CMnd ↔ (𝐿 ∈ Mnd ∧ ∀𝑢 ∈ (Base‘𝐿)∀𝑣 ∈ (Base‘𝐿)(𝑢(+g𝐿)𝑣) = (𝑣(+g𝐿)𝑢)))
2215, 18, 213bitr4g 315 1 (𝜑 → (𝐾 ∈ CMnd ↔ 𝐿 ∈ CMnd))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1528  wcel 2105  wral 3138  cfv 6349  (class class class)co 7145  Basecbs 16473  +gcplusg 16555  Mndcmnd 17901  CMndccmn 18837
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2793  ax-nul 5202  ax-pow 5258
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  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 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4833  df-br 5059  df-iota 6308  df-fv 6357  df-ov 7148  df-mgm 17842  df-sgrp 17891  df-mnd 17902  df-cmn 18839
This theorem is referenced by:  ablpropd  18848  crngpropd  19264  prdscrngd  19294  resvcmn  30839
  Copyright terms: Public domain W3C validator