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

Theorem issubmd 17974
Description: Deduction for proving a submonoid. (Contributed by Stefan O'Rear, 23-Aug-2015.) (Revised by Stefan O'Rear, 5-Sep-2015.)
Hypotheses
Ref Expression
issubmd.b 𝐵 = (Base‘𝑀)
issubmd.p + = (+g𝑀)
issubmd.z 0 = (0g𝑀)
issubmd.m (𝜑𝑀 ∈ Mnd)
issubmd.cz (𝜑𝜒)
issubmd.cp ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
issubmd.ch (𝑧 = 0 → (𝜓𝜒))
issubmd.th (𝑧 = 𝑥 → (𝜓𝜃))
issubmd.ta (𝑧 = 𝑦 → (𝜓𝜏))
issubmd.et (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
Assertion
Ref Expression
issubmd (𝜑 → {𝑧𝐵𝜓} ∈ (SubMnd‘𝑀))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝑀,𝑦   𝜑,𝑥,𝑦   𝜓,𝑥,𝑦   𝑧, +   𝑧, 0   𝜒,𝑧   𝜂,𝑧   𝜏,𝑧   𝜃,𝑧
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑧)   𝜒(𝑥,𝑦)   𝜃(𝑥,𝑦)   𝜏(𝑥,𝑦)   𝜂(𝑥,𝑦)   + (𝑥,𝑦)   𝑀(𝑧)   0 (𝑥,𝑦)

Proof of Theorem issubmd
StepHypRef Expression
1 ssrab2 4059 . . 3 {𝑧𝐵𝜓} ⊆ 𝐵
21a1i 11 . 2 (𝜑 → {𝑧𝐵𝜓} ⊆ 𝐵)
3 issubmd.ch . . 3 (𝑧 = 0 → (𝜓𝜒))
4 issubmd.m . . . 4 (𝜑𝑀 ∈ Mnd)
5 issubmd.b . . . . 5 𝐵 = (Base‘𝑀)
6 issubmd.z . . . . 5 0 = (0g𝑀)
75, 6mndidcl 17929 . . . 4 (𝑀 ∈ Mnd → 0𝐵)
84, 7syl 17 . . 3 (𝜑0𝐵)
9 issubmd.cz . . 3 (𝜑𝜒)
103, 8, 9elrabd 3685 . 2 (𝜑0 ∈ {𝑧𝐵𝜓})
11 issubmd.th . . . . . 6 (𝑧 = 𝑥 → (𝜓𝜃))
1211elrab 3683 . . . . 5 (𝑥 ∈ {𝑧𝐵𝜓} ↔ (𝑥𝐵𝜃))
13 issubmd.ta . . . . . 6 (𝑧 = 𝑦 → (𝜓𝜏))
1413elrab 3683 . . . . 5 (𝑦 ∈ {𝑧𝐵𝜓} ↔ (𝑦𝐵𝜏))
1512, 14anbi12i 628 . . . 4 ((𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓}) ↔ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)))
16 issubmd.et . . . . 5 (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
174adantr 483 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑀 ∈ Mnd)
18 simprll 777 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑥𝐵)
19 simprrl 779 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑦𝐵)
20 issubmd.p . . . . . . 7 + = (+g𝑀)
215, 20mndcl 17922 . . . . . 6 ((𝑀 ∈ Mnd ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
2217, 18, 19, 21syl3anc 1367 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ 𝐵)
23 an4 654 . . . . . 6 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏)))
24 issubmd.cp . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
2523, 24sylan2b 595 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝜂)
2616, 22, 25elrabd 3685 . . . 4 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2715, 26sylan2b 595 . . 3 ((𝜑 ∧ (𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓})) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2827ralrimivva 3194 . 2 (𝜑 → ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
295, 6, 20issubm 17971 . . 3 (𝑀 ∈ Mnd → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
304, 29syl 17 . 2 (𝜑 → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
312, 10, 28, 30mpbir3and 1338 1 (𝜑 → {𝑧𝐵𝜓} ∈ (SubMnd‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1536  wcel 2113  wral 3141  {crab 3145  wss 3939  cfv 6358  (class class class)co 7159  Basecbs 16486  +gcplusg 16568  0gc0g 16716  Mndcmnd 17914  SubMndcsubmnd 17958
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-reu 3148  df-rmo 3149  df-rab 3150  df-v 3499  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-iota 6317  df-fun 6360  df-fv 6366  df-riota 7117  df-ov 7162  df-0g 16718  df-mgm 17855  df-sgrp 17904  df-mnd 17915  df-submnd 17960
This theorem is referenced by:  mndind  17995
  Copyright terms: Public domain W3C validator