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

Theorem issubmd 18614
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 4036 . . 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 18568 . . . 4 (𝑀 ∈ Mnd → 0𝐵)
84, 7syl 17 . . 3 (𝜑0𝐵)
9 issubmd.cz . . 3 (𝜑𝜒)
103, 8, 9elrabd 3646 . 2 (𝜑0 ∈ {𝑧𝐵𝜓})
11 issubmd.th . . . . . 6 (𝑧 = 𝑥 → (𝜓𝜃))
1211elrab 3644 . . . . 5 (𝑥 ∈ {𝑧𝐵𝜓} ↔ (𝑥𝐵𝜃))
13 issubmd.ta . . . . . 6 (𝑧 = 𝑦 → (𝜓𝜏))
1413elrab 3644 . . . . 5 (𝑦 ∈ {𝑧𝐵𝜓} ↔ (𝑦𝐵𝜏))
1512, 14anbi12i 627 . . . 4 ((𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓}) ↔ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)))
16 issubmd.et . . . . 5 (𝑧 = (𝑥 + 𝑦) → (𝜓𝜂))
174adantr 481 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑀 ∈ Mnd)
18 simprll 777 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑥𝐵)
19 simprrl 779 . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝑦𝐵)
20 issubmd.p . . . . . . 7 + = (+g𝑀)
215, 20mndcl 18561 . . . . . 6 ((𝑀 ∈ Mnd ∧ 𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
2217, 18, 19, 21syl3anc 1371 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ 𝐵)
23 an4 654 . . . . . 6 (((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏)) ↔ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏)))
24 issubmd.cp . . . . . 6 ((𝜑 ∧ ((𝑥𝐵𝑦𝐵) ∧ (𝜃𝜏))) → 𝜂)
2523, 24sylan2b 594 . . . . 5 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → 𝜂)
2616, 22, 25elrabd 3646 . . . 4 ((𝜑 ∧ ((𝑥𝐵𝜃) ∧ (𝑦𝐵𝜏))) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2715, 26sylan2b 594 . . 3 ((𝜑 ∧ (𝑥 ∈ {𝑧𝐵𝜓} ∧ 𝑦 ∈ {𝑧𝐵𝜓})) → (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
2827ralrimivva 3196 . 2 (𝜑 → ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})
295, 6, 20issubm 18611 . . 3 (𝑀 ∈ Mnd → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
304, 29syl 17 . 2 (𝜑 → ({𝑧𝐵𝜓} ∈ (SubMnd‘𝑀) ↔ ({𝑧𝐵𝜓} ⊆ 𝐵0 ∈ {𝑧𝐵𝜓} ∧ ∀𝑥 ∈ {𝑧𝐵𝜓}∀𝑦 ∈ {𝑧𝐵𝜓} (𝑥 + 𝑦) ∈ {𝑧𝐵𝜓})))
312, 10, 28, 30mpbir3and 1342 1 (𝜑 → {𝑧𝐵𝜓} ∈ (SubMnd‘𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  wral 3063  {crab 3406  wss 3909  cfv 6494  (class class class)co 7354  Basecbs 17080  +gcplusg 17130  0gc0g 17318  Mndcmnd 18553  SubMndcsubmnd 18597
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-sep 5255  ax-nul 5262  ax-pow 5319  ax-pr 5383
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2888  df-ne 2943  df-ral 3064  df-rex 3073  df-rmo 3352  df-reu 3353  df-rab 3407  df-v 3446  df-sbc 3739  df-dif 3912  df-un 3914  df-in 3916  df-ss 3926  df-nul 4282  df-if 4486  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4865  df-br 5105  df-opab 5167  df-mpt 5188  df-id 5530  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-iota 6446  df-fun 6496  df-fv 6502  df-riota 7310  df-ov 7357  df-0g 17320  df-mgm 18494  df-sgrp 18543  df-mnd 18554  df-submnd 18599
This theorem is referenced by:  mndind  18635
  Copyright terms: Public domain W3C validator