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

Theorem rabsubmgmd 42590
Description: Deduction for proving that a restricted class abstraction is a submagma. (Contributed by AV, 26-Feb-2020.)
Hypotheses
Ref Expression
rabsubmgmd.b 𝐵 = (Base‘𝑀)
rabsubmgmd.p + = (+g𝑀)
rabsubmgmd.m (𝜑𝑀 ∈ Mgm)
rabsubmgmd.cp ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
rabsubmgmd.th (𝑧 = 𝑥 → (𝜓𝜃))
rabsubmgmd.ta (𝑧 = 𝑦 → (𝜓𝜏))
rabsubmgmd.et (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
Assertion
Ref Expression
rabsubmgmd (𝜑 → {𝑧𝐵𝜓} ∈ (SubMgm‘𝑀))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝑀,𝑦   𝜑,𝑥,𝑦   𝜓,𝑥,𝑦   𝑧, +   𝜂,𝑧   𝜏,𝑧   𝜃,𝑧
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑧)   𝜃(𝑥,𝑦)   𝜏(𝑥,𝑦)   𝜂(𝑥,𝑦)   + (𝑥,𝑦)   𝑀(𝑧)

Proof of Theorem rabsubmgmd
StepHypRef Expression
1 ssrab2 3883 . . 3 {𝑧𝐵𝜓} ⊆ 𝐵
21a1i 11 . 2 (𝜑 → {𝑧𝐵𝜓} ⊆ 𝐵)
3 rabsubmgmd.th . . . . . 6 (𝑧 = 𝑥 → (𝜓𝜃))
43elrab 3556 . . . . 5 (𝑥 ∈ {𝑧𝐵𝜓} ↔ (𝑥𝐵𝜃))
5 rabsubmgmd.ta . . . . . 6 (𝑧 = 𝑦 → (𝜓𝜏))
65elrab 3556 . . . . 5 (𝑦 ∈ {𝑧𝐵𝜓} ↔ (𝑦𝐵𝜏))
74, 6anbi12i 621 . . . 4 ((𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓}) ↔ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)))
8 rabsubmgmd.m . . . . . . 7 (𝜑𝑀 ∈ Mgm)
98adantr 473 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑀 ∈ Mgm)
10 simprll 798 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑥𝐵)
11 simprrl 800 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑦𝐵)
12 rabsubmgmd.b . . . . . . 7 𝐵 = (Base‘𝑀)
13 rabsubmgmd.p . . . . . . 7 + = (+g𝑀)
1412, 13mgmcl 17560 . . . . . 6 ((𝑀 ∈ Mgm ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
159, 10, 11, 14syl3anc 1491 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ 𝐵)
16 simpl 475 . . . . . . . 8 ((𝑥𝐵𝜃) → 𝑥𝐵)
17 simpl 475 . . . . . . . 8 ((𝑦𝐵𝜏) → 𝑦𝐵)
1816, 17anim12i 607 . . . . . . 7 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → (𝑥𝐵𝑦𝐵))
19 simpr 478 . . . . . . . 8 ((𝑥𝐵𝜃) → 𝜃)
20 simpr 478 . . . . . . . 8 ((𝑦𝐵𝜏) → 𝜏)
2119, 20anim12i 607 . . . . . . 7 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → (𝜃𝜏))
2218, 21jca 508 . . . . . 6 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏)))
23 rabsubmgmd.cp . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
2422, 23sylan2 587 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝜂)
25 rabsubmgmd.et . . . . . 6 (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
2625elrab 3556 . . . . 5 ((𝑥 + 𝑦) ∈ {𝑧𝐵𝜓} ↔ ((𝑥 + 𝑦) ∈ 𝐵𝜂))
2715, 24, 26sylanbrc 579 . . . 4 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
287, 27sylan2b 588 . . 3 ((𝜑 ∧ (𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓})) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2928ralrimivva 3152 . 2 (𝜑 → ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
3012, 13issubmgm 42588 . . 3 (𝑀 ∈ Mgm → ({𝑧𝐵𝜓} ∈ (SubMgm‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵 ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
318, 30syl 17 . 2 (𝜑 → ({𝑧𝐵𝜓} ∈ (SubMgm‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵 ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
322, 29, 31mpbir2and 705 1 (𝜑 → {𝑧𝐵𝜓} ∈ (SubMgm‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 385   = wceq 1653  wcel 2157  wral 3089  {crab 3093  wss 3769  cfv 6101  (class class class)co 6878  Basecbs 16184  +gcplusg 16267  Mgmcmgm 17555  SubMgmcsubmgm 42577
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377  ax-ext 2777  ax-sep 4975  ax-nul 4983  ax-pow 5035  ax-pr 5097
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-3an 1110  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2591  df-eu 2609  df-clab 2786  df-cleq 2792  df-clel 2795  df-nfc 2930  df-ral 3094  df-rex 3095  df-rab 3098  df-v 3387  df-sbc 3634  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4116  df-if 4278  df-pw 4351  df-sn 4369  df-pr 4371  df-op 4375  df-uni 4629  df-br 4844  df-opab 4906  df-mpt 4923  df-id 5220  df-xp 5318  df-rel 5319  df-cnv 5320  df-co 5321  df-dm 5322  df-iota 6064  df-fun 6103  df-fv 6109  df-ov 6881  df-mgm 17557  df-submgm 42579
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator