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

Theorem issubmd 17963
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 4054 . . 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 17918 . . . 4 (𝑀 ∈ Mnd → 0𝐵)
84, 7syl 17 . . 3 (𝜑0𝐵)
9 issubmd.cz . . 3 (𝜑𝜒)
103, 8, 9elrabd 3680 . 2 (𝜑0 ∈ {𝑧𝐵𝜓})
11 issubmd.th . . . . . 6 (𝑧 = 𝑥 → (𝜓𝜃))
1211elrab 3678 . . . . 5 (𝑥 ∈ {𝑧𝐵𝜓} ↔ (𝑥𝐵𝜃))
13 issubmd.ta . . . . . 6 (𝑧 = 𝑦 → (𝜓𝜏))
1413elrab 3678 . . . . 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 17911 . . . . . 6 ((𝑀 ∈ Mnd ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
2217, 18, 19, 21syl3anc 1366 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ 𝐵)
23 an4 654 . . . . . 6 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏)))
24 issubmd.cp . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
2523, 24sylan2b 595 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝜂)
2616, 22, 25elrabd 3680 . . . 4 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2715, 26sylan2b 595 . . 3 ((𝜑 ∧ (𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓})) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2827ralrimivva 3189 . 2 (𝜑 → ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
295, 6, 20issubm 17960 . . 3 (𝑀 ∈ Mnd → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
304, 29syl 17 . 2 (𝜑 → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
312, 10, 28, 30mpbir3and 1337 1 (𝜑 → {𝑧𝐵𝜓} ∈ (SubMnd‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1082   = wceq 1531  wcel 2108  wral 3136  {crab 3140  wss 3934  cfv 6348  (class class class)co 7148  Basecbs 16475  +gcplusg 16557  0gc0g 16705  Mndcmnd 17903  SubMndcsubmnd 17947
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rmo 3144  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-iota 6307  df-fun 6350  df-fv 6356  df-riota 7106  df-ov 7151  df-0g 16707  df-mgm 17844  df-sgrp 17893  df-mnd 17904  df-submnd 17949
This theorem is referenced by:  mndind  17984
  Copyright terms: Public domain W3C validator