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

Theorem mgmsscl 17857
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 18299. (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 7314 . . 3 ((𝑋𝑆𝑌𝑆) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐺)𝑌))
213ad2ant3 1131 . 2 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐺)𝑌))
3 simp1r 1194 . . . . 5 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → 𝐻 ∈ Mgm)
4 simp3 1134 . . . . 5 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋𝑆𝑌𝑆))
5 3anass 1091 . . . . 5 ((𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆) ↔ (𝐻 ∈ Mgm ∧ (𝑋𝑆𝑌𝑆)))
63, 4, 5sylanbrc 585 . . . 4 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆))
7 mgmsscl.s . . . . 5 𝑆 = (Base‘𝐻)
8 eqid 2821 . . . . 5 (+g𝐻) = (+g𝐻)
97, 8mgmcl 17855 . . . 4 ((𝐻 ∈ Mgm ∧ 𝑋𝑆𝑌𝑆) → (𝑋(+g𝐻)𝑌) ∈ 𝑆)
106, 9syl 17 . . 3 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋(+g𝐻)𝑌) ∈ 𝑆)
11 oveq 7162 . . . . . . 7 (((+g𝐺) ↾ (𝑆 × 𝑆)) = (+g𝐻) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) = (𝑋(+g𝐻)𝑌))
1211eleq1d 2897 . . . . . 6 (((+g𝐺) ↾ (𝑆 × 𝑆)) = (+g𝐻) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1312eqcoms 2829 . . . . 5 ((+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆)) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1413adantl 484 . . . 4 ((𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
15143ad2ant2 1130 . . 3 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → ((𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆 ↔ (𝑋(+g𝐻)𝑌) ∈ 𝑆))
1610, 15mpbird 259 . 2 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋((+g𝐺) ↾ (𝑆 × 𝑆))𝑌) ∈ 𝑆)
172, 16eqeltrrd 2914 1 (((𝐺 ∈ Mgm ∧ 𝐻 ∈ Mgm) ∧ (𝑆𝐵 ∧ (+g𝐻) = ((+g𝐺) ↾ (𝑆 × 𝑆))) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋(+g𝐺)𝑌) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  wss 3936   × cxp 5553  cres 5557  cfv 6355  (class class class)co 7156  Basecbs 16483  +gcplusg 16565  Mgmcmgm 17850
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-xp 5561  df-res 5567  df-iota 6314  df-fv 6363  df-ov 7159  df-mgm 17852
This theorem is referenced by:  mndissubm  17972  grpissubg  18299
  Copyright terms: Public domain W3C validator