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

Theorem gsumvallem2 17992
Description: Lemma for properties of the set of identities of 𝐺. The set of identities of a monoid is exactly the unique identity element. (Contributed by Mario Carneiro, 7-Dec-2014.)
Hypotheses
Ref Expression
gsumvallem2.b 𝐵 = (Base‘𝐺)
gsumvallem2.z 0 = (0g𝐺)
gsumvallem2.p + = (+g𝐺)
gsumvallem2.o 𝑂 = {𝑥𝐵 ∣ ∀𝑦𝐵 ((𝑥 + 𝑦) = 𝑦 ∧ (𝑦 + 𝑥) = 𝑦)}
Assertion
Ref Expression
gsumvallem2 (𝐺 ∈ Mnd → 𝑂 = { 0 })
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐺,𝑦   𝑥, + ,𝑦   𝑥, 0 ,𝑦
Allowed substitution hints:   𝑂(𝑥,𝑦)

Proof of Theorem gsumvallem2
StepHypRef Expression
1 gsumvallem2.b . . 3 𝐵 = (Base‘𝐺)
2 gsumvallem2.z . . 3 0 = (0g𝐺)
3 gsumvallem2.p . . 3 + = (+g𝐺)
4 gsumvallem2.o . . 3 𝑂 = {𝑥𝐵 ∣ ∀𝑦𝐵 ((𝑥 + 𝑦) = 𝑦 ∧ (𝑦 + 𝑥) = 𝑦)}
51, 2, 3, 4mgmidsssn0 17876 . 2 (𝐺 ∈ Mnd → 𝑂 ⊆ { 0 })
61, 2mndidcl 17920 . . . 4 (𝐺 ∈ Mnd → 0𝐵)
71, 3, 2mndlrid 17924 . . . . 5 ((𝐺 ∈ Mnd ∧ 𝑦𝐵) → (( 0 + 𝑦) = 𝑦 ∧ (𝑦 + 0 ) = 𝑦))
87ralrimiva 3182 . . . 4 (𝐺 ∈ Mnd → ∀𝑦𝐵 (( 0 + 𝑦) = 𝑦 ∧ (𝑦 + 0 ) = 𝑦))
9 oveq1 7157 . . . . . . 7 (𝑥 = 0 → (𝑥 + 𝑦) = ( 0 + 𝑦))
109eqeq1d 2823 . . . . . 6 (𝑥 = 0 → ((𝑥 + 𝑦) = 𝑦 ↔ ( 0 + 𝑦) = 𝑦))
1110ovanraleqv 7174 . . . . 5 (𝑥 = 0 → (∀𝑦𝐵 ((𝑥 + 𝑦) = 𝑦 ∧ (𝑦 + 𝑥) = 𝑦) ↔ ∀𝑦𝐵 (( 0 + 𝑦) = 𝑦 ∧ (𝑦 + 0 ) = 𝑦)))
1211, 4elrab2 3683 . . . 4 ( 0𝑂 ↔ ( 0𝐵 ∧ ∀𝑦𝐵 (( 0 + 𝑦) = 𝑦 ∧ (𝑦 + 0 ) = 𝑦)))
136, 8, 12sylanbrc 585 . . 3 (𝐺 ∈ Mnd → 0𝑂)
1413snssd 4736 . 2 (𝐺 ∈ Mnd → { 0 } ⊆ 𝑂)
155, 14eqssd 3984 1 (𝐺 ∈ Mnd → 𝑂 = { 0 })
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  wral 3138  {crab 3142  {csn 4561  cfv 6350  (class class class)co 7150  Basecbs 16477  +gcplusg 16559  0gc0g 16707  Mndcmnd 17905
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 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322
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-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358  df-riota 7108  df-ov 7153  df-0g 16709  df-mgm 17846  df-sgrp 17895  df-mnd 17906
This theorem is referenced by:  gsumz  17994  gsumval3a  19017
  Copyright terms: Public domain W3C validator