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 43887
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 4059 . . 3 {𝑧𝐵𝜓} ⊆ 𝐵
21a1i 11 . 2 (𝜑 → {𝑧𝐵𝜓} ⊆ 𝐵)
3 rabsubmgmd.th . . . . . 6 (𝑧 = 𝑥 → (𝜓𝜃))
43elrab 3683 . . . . 5 (𝑥 ∈ {𝑧𝐵𝜓} ↔ (𝑥𝐵𝜃))
5 rabsubmgmd.ta . . . . . 6 (𝑧 = 𝑦 → (𝜓𝜏))
65elrab 3683 . . . . 5 (𝑦 ∈ {𝑧𝐵𝜓} ↔ (𝑦𝐵𝜏))
74, 6anbi12i 626 . . . 4 ((𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓}) ↔ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)))
8 rabsubmgmd.et . . . . 5 (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
9 rabsubmgmd.m . . . . . . 7 (𝜑𝑀 ∈ Mgm)
109adantr 481 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑀 ∈ Mgm)
11 simprll 775 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑥𝐵)
12 simprrl 777 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑦𝐵)
13 rabsubmgmd.b . . . . . . 7 𝐵 = (Base‘𝑀)
14 rabsubmgmd.p . . . . . . 7 + = (+g𝑀)
1513, 14mgmcl 17847 . . . . . 6 ((𝑀 ∈ Mgm ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
1610, 11, 12, 15syl3anc 1365 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ 𝐵)
17 simpl 483 . . . . . . . 8 ((𝑥𝐵𝜃) → 𝑥𝐵)
18 simpl 483 . . . . . . . 8 ((𝑦𝐵𝜏) → 𝑦𝐵)
1917, 18anim12i 612 . . . . . . 7 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → (𝑥𝐵𝑦𝐵))
20 simpr 485 . . . . . . . 8 ((𝑥𝐵𝜃) → 𝜃)
21 simpr 485 . . . . . . . 8 ((𝑦𝐵𝜏) → 𝜏)
2220, 21anim12i 612 . . . . . . 7 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → (𝜃𝜏))
2319, 22jca 512 . . . . . 6 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) → ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏)))
24 rabsubmgmd.cp . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
2523, 24sylan2 592 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝜂)
268, 16, 25elrabd 3685 . . . 4 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
277, 26sylan2b 593 . . 3 ((𝜑 ∧ (𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓})) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2827ralrimivva 3195 . 2 (𝜑 → ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2913, 14issubmgm 43885 . . 3 (𝑀 ∈ Mgm → ({𝑧𝐵𝜓} ∈ (SubMgm‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵 ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
309, 29syl 17 . 2 (𝜑 → ({𝑧𝐵𝜓} ∈ (SubMgm‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵 ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
312, 28, 30mpbir2and 709 1 (𝜑 → {𝑧𝐵𝜓} ∈ (SubMgm‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396   = wceq 1530  wcel 2106  wral 3142  {crab 3146  wss 3939  cfv 6351  (class class class)co 7151  Basecbs 16475  +gcplusg 16557  Mgmcmgm 17842  SubMgmcsubmgm 43874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2152  ax-12 2167  ax-ext 2796  ax-sep 5199  ax-nul 5206  ax-pow 5262  ax-pr 5325
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2615  df-eu 2649  df-clab 2803  df-cleq 2817  df-clel 2897  df-nfc 2967  df-ral 3147  df-rex 3148  df-rab 3151  df-v 3501  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4470  df-pw 4543  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4837  df-br 5063  df-opab 5125  df-mpt 5143  df-id 5458  df-xp 5559  df-rel 5560  df-cnv 5561  df-co 5562  df-dm 5563  df-iota 6311  df-fun 6353  df-fv 6359  df-ov 7154  df-mgm 17844  df-submgm 43876
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator