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

Theorem submcl 17976
Description: Submonoids are closed under the monoid operation. (Contributed by Mario Carneiro, 10-Mar-2015.)
Hypothesis
Ref Expression
submcl.p + = (+g𝑀)
Assertion
Ref Expression
submcl ((𝑆 ∈ (SubMnd‘𝑀) ∧ 𝑋𝑆𝑌𝑆) → (𝑋 + 𝑌) ∈ 𝑆)

Proof of Theorem submcl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 submrcl 17966 . . . . . . 7 (𝑆 ∈ (SubMnd‘𝑀) → 𝑀 ∈ Mnd)
2 eqid 2821 . . . . . . . 8 (Base‘𝑀) = (Base‘𝑀)
3 eqid 2821 . . . . . . . 8 (0g𝑀) = (0g𝑀)
4 submcl.p . . . . . . . 8 + = (+g𝑀)
52, 3, 4issubm 17967 . . . . . . 7 (𝑀 ∈ Mnd → (𝑆 ∈ (SubMnd‘𝑀) ↔ (𝑆 ⊆ (Base‘𝑀) ∧ (0g𝑀) ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 (𝑥 + 𝑦) ∈ 𝑆)))
61, 5syl 17 . . . . . 6 (𝑆 ∈ (SubMnd‘𝑀) → (𝑆 ∈ (SubMnd‘𝑀) ↔ (𝑆 ⊆ (Base‘𝑀) ∧ (0g𝑀) ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 (𝑥 + 𝑦) ∈ 𝑆)))
76ibi 269 . . . . 5 (𝑆 ∈ (SubMnd‘𝑀) → (𝑆 ⊆ (Base‘𝑀) ∧ (0g𝑀) ∈ 𝑆 ∧ ∀𝑥𝑆𝑦𝑆 (𝑥 + 𝑦) ∈ 𝑆))
87simp3d 1140 . . . 4 (𝑆 ∈ (SubMnd‘𝑀) → ∀𝑥𝑆𝑦𝑆 (𝑥 + 𝑦) ∈ 𝑆)
9 ovrspc2v 7181 . . . 4 (((𝑋𝑆𝑌𝑆) ∧ ∀𝑥𝑆𝑦𝑆 (𝑥 + 𝑦) ∈ 𝑆) → (𝑋 + 𝑌) ∈ 𝑆)
108, 9sylan2 594 . . 3 (((𝑋𝑆𝑌𝑆) ∧ 𝑆 ∈ (SubMnd‘𝑀)) → (𝑋 + 𝑌) ∈ 𝑆)
1110ancoms 461 . 2 ((𝑆 ∈ (SubMnd‘𝑀) ∧ (𝑋𝑆𝑌𝑆)) → (𝑋 + 𝑌) ∈ 𝑆)
12113impb 1111 1 ((𝑆 ∈ (SubMnd‘𝑀) ∧ 𝑋𝑆𝑌𝑆) → (𝑋 + 𝑌) ∈ 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  wral 3138  wss 3935  cfv 6354  (class class class)co 7155  Basecbs 16482  +gcplusg 16564  0gc0g 16712  Mndcmnd 17910  SubMndcsubmnd 17954
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5202  ax-nul 5209  ax-pow 5265  ax-pr 5329
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3772  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-opab 5128  df-mpt 5146  df-id 5459  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-iota 6313  df-fun 6356  df-fv 6362  df-ov 7158  df-submnd 17956
This theorem is referenced by:  resmhm  17984  mhmima  17988  gsumwsubmcl  18000  submmulgcl  18269  symggen  18597  lsmsubm  18777  smndlsmidm  18780  gsumzadd  19041  gsumzoppg  19063
  Copyright terms: Public domain W3C validator