Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  mgmpropd Structured version   Visualization version   GIF version

Theorem mgmpropd 45329
Description: If two structures have the same (nonempty) base set, and the values of their group (addition) operations are equal for all pairs of elements of the base set, one is a magma iff the other one is. (Contributed by AV, 25-Feb-2020.)
Hypotheses
Ref Expression
mgmpropd.k (𝜑𝐵 = (Base‘𝐾))
mgmpropd.l (𝜑𝐵 = (Base‘𝐿))
mgmpropd.b (𝜑𝐵 ≠ ∅)
mgmpropd.p ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥(+g𝐾)𝑦) = (𝑥(+g𝐿)𝑦))
Assertion
Ref Expression
mgmpropd (𝜑 → (𝐾 ∈ Mgm ↔ 𝐿 ∈ Mgm))
Distinct variable groups:   𝑥,𝑦,𝐾   𝑥,𝐿,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐵(𝑥,𝑦)

Proof of Theorem mgmpropd
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 simpl 483 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾))) → 𝜑)
2 mgmpropd.k . . . . . . . . . . 11 (𝜑𝐵 = (Base‘𝐾))
32eqcomd 2744 . . . . . . . . . 10 (𝜑 → (Base‘𝐾) = 𝐵)
43eleq2d 2824 . . . . . . . . 9 (𝜑 → (𝑥 ∈ (Base‘𝐾) ↔ 𝑥𝐵))
54biimpcd 248 . . . . . . . 8 (𝑥 ∈ (Base‘𝐾) → (𝜑𝑥𝐵))
65adantr 481 . . . . . . 7 ((𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾)) → (𝜑𝑥𝐵))
76impcom 408 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾))) → 𝑥𝐵)
83eleq2d 2824 . . . . . . . . 9 (𝜑 → (𝑦 ∈ (Base‘𝐾) ↔ 𝑦𝐵))
98biimpd 228 . . . . . . . 8 (𝜑 → (𝑦 ∈ (Base‘𝐾) → 𝑦𝐵))
109adantld 491 . . . . . . 7 (𝜑 → ((𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾)) → 𝑦𝐵))
1110imp 407 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾))) → 𝑦𝐵)
12 mgmpropd.p . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥(+g𝐾)𝑦) = (𝑥(+g𝐿)𝑦))
131, 7, 11, 12syl12anc 834 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾))) → (𝑥(+g𝐾)𝑦) = (𝑥(+g𝐿)𝑦))
1413eleq1d 2823 . . . 4 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐾) ∧ 𝑦 ∈ (Base‘𝐾))) → ((𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾) ↔ (𝑥(+g𝐿)𝑦) ∈ (Base‘𝐾)))
15142ralbidva 3128 . . 3 (𝜑 → (∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾) ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐾)))
16 mgmpropd.l . . . . 5 (𝜑𝐵 = (Base‘𝐿))
172, 16eqtr3d 2780 . . . 4 (𝜑 → (Base‘𝐾) = (Base‘𝐿))
1817eleq2d 2824 . . . . 5 (𝜑 → ((𝑥(+g𝐿)𝑦) ∈ (Base‘𝐾) ↔ (𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
1917, 18raleqbidv 3336 . . . 4 (𝜑 → (∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐾) ↔ ∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
2017, 19raleqbidv 3336 . . 3 (𝜑 → (∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐾) ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
2115, 20bitrd 278 . 2 (𝜑 → (∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾) ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
22 mgmpropd.b . . 3 (𝜑𝐵 ≠ ∅)
23 n0 4280 . . . 4 (𝐵 ≠ ∅ ↔ ∃𝑎 𝑎𝐵)
242eleq2d 2824 . . . . . 6 (𝜑 → (𝑎𝐵𝑎 ∈ (Base‘𝐾)))
25 eqid 2738 . . . . . . 7 (Base‘𝐾) = (Base‘𝐾)
26 eqid 2738 . . . . . . 7 (+g𝐾) = (+g𝐾)
2725, 26ismgmn0 18328 . . . . . 6 (𝑎 ∈ (Base‘𝐾) → (𝐾 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾)))
2824, 27syl6bi 252 . . . . 5 (𝜑 → (𝑎𝐵 → (𝐾 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾))))
2928exlimdv 1936 . . . 4 (𝜑 → (∃𝑎 𝑎𝐵 → (𝐾 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾))))
3023, 29syl5bi 241 . . 3 (𝜑 → (𝐵 ≠ ∅ → (𝐾 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾))))
3122, 30mpd 15 . 2 (𝜑 → (𝐾 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐾)∀𝑦 ∈ (Base‘𝐾)(𝑥(+g𝐾)𝑦) ∈ (Base‘𝐾)))
3216eleq2d 2824 . . . . . 6 (𝜑 → (𝑎𝐵𝑎 ∈ (Base‘𝐿)))
33 eqid 2738 . . . . . . 7 (Base‘𝐿) = (Base‘𝐿)
34 eqid 2738 . . . . . . 7 (+g𝐿) = (+g𝐿)
3533, 34ismgmn0 18328 . . . . . 6 (𝑎 ∈ (Base‘𝐿) → (𝐿 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
3632, 35syl6bi 252 . . . . 5 (𝜑 → (𝑎𝐵 → (𝐿 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿))))
3736exlimdv 1936 . . . 4 (𝜑 → (∃𝑎 𝑎𝐵 → (𝐿 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿))))
3823, 37syl5bi 241 . . 3 (𝜑 → (𝐵 ≠ ∅ → (𝐿 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿))))
3922, 38mpd 15 . 2 (𝜑 → (𝐿 ∈ Mgm ↔ ∀𝑥 ∈ (Base‘𝐿)∀𝑦 ∈ (Base‘𝐿)(𝑥(+g𝐿)𝑦) ∈ (Base‘𝐿)))
4021, 31, 393bitr4d 311 1 (𝜑 → (𝐾 ∈ Mgm ↔ 𝐿 ∈ Mgm))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wne 2943  wral 3064  c0 4256  cfv 6433  (class class class)co 7275  Basecbs 16912  +gcplusg 16962  Mgmcmgm 18324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-dm 5599  df-iota 6391  df-fv 6441  df-ov 7278  df-mgm 18326
This theorem is referenced by:  mgmhmpropd  45339
  Copyright terms: Public domain W3C validator