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

Theorem mgmsscl 17849
Description: If the base set of a magma is contained in the base set of another magma, and the group operation of the magma is the restriction of the group operation of the other magma to its base set, then the base set of the magma is closed under the group operation of the other magma. Formerly part of proof of grpissubg 18291. (Contributed by AV, 17-Feb-2024.)
Hypotheses
Ref Expression
mgmsscl.b 𝐵 = (Base‘𝐺)
mgmsscl.s 𝑆 = (Base‘𝐻)
Assertion
Ref Expression
mgmsscl (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋(+g𝐺)𝑌) ∈ 𝑆)

Proof of Theorem mgmsscl
StepHypRef Expression
1 ovres 7294 . . 3 ((𝑋𝑆𝑌𝑆) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐺)𝑌))
213ad2ant3 1132 . 2 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐺)𝑌))
3 simp1r 1195 . . . . 5 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → 𝐻 ∈ Mgm)
4 simp3 1135 . . . . 5 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋𝑆𝑌𝑆))
5 3anass 1092 . . . . 5 ((𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆) ↔ (𝐻 ∈ Mgm ∧ (𝑋𝑆𝑌𝑆)))
63, 4, 5sylanbrc 586 . . . 4 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆))
7 mgmsscl.s . . . . 5 𝑆 = (Base‘𝐻)
8 eqid 2798 . . . . 5 (+g𝐻) = (+g𝐻)
97, 8mgmcl 17847 . . . 4 ((𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆) → (𝑋(+g𝐻)𝑌) ∈ 𝑆)
106, 9syl 17 . . 3 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋(+g𝐻)𝑌) ∈ 𝑆)
11 oveq 7141 . . . . . . 7 (((+g𝐺) ↾ (𝑆 × 𝑆)) = (+g𝐻) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐻)𝑌))
1211eleq1d 2874 . . . . . 6 (((+g𝐺) ↾ (𝑆 × 𝑆)) = (+g𝐻) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1312eqcoms 2806 . . . . 5 ((+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆)) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1413adantl 485 . . . 4 ((𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
15143ad2ant2 1131 . . 3 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1610, 15mpbird 260 . 2 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆)
172, 16eqeltrrd 2891 1 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋(+g𝐺)𝑌) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1084   = wceq 1538  wcel 2111  wss 3881   × cxp 5517  cres 5521  cfv 6324  (class class class)co 7135  Basecbs 16475  +gcplusg 16557  Mgmcmgm 17842
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-sep 5167  ax-nul 5174  ax-pr 5295
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-ral 3111  df-rex 3112  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-opab 5093  df-xp 5525  df-res 5531  df-iota 6283  df-fv 6332  df-ov 7138  df-mgm 17844
This theorem is referenced by:  mndissubm  17964  grpissubg  18291
  Copyright terms: Public domain W3C validator