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

Theorem sgrpidmnd 17908
Description: A semigroup with an identity element which is not the empty set is a monoid. Of course there could be monoids with the empty set as identity element (see, for example, the monoid of the power set of a class under union, pwmnd 18094 and pwmndid 18093), but these cannot be proven to be monoids with this theorem. (Contributed by AV, 29-Jan-2024.)
Hypotheses
Ref Expression
sgrpidmnd.b 𝐵 = (Base‘𝐺)
sgrpidmnd.0 0 = (0g𝐺)
Assertion
Ref Expression
sgrpidmnd ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → 𝐺 ∈ Mnd)
Distinct variable groups:   𝐵,𝑒   𝑒,𝐺
Allowed substitution hint:   0 (𝑒)

Proof of Theorem sgrpidmnd
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 sgrpidmnd.b . . . . . . . . . 10 𝐵 = (Base‘𝐺)
2 eqid 2798 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
3 sgrpidmnd.0 . . . . . . . . . 10 0 = (0g𝐺)
41, 2, 3grpidval 17863 . . . . . . . . 9 0 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))
54eqeq2i 2811 . . . . . . . 8 (𝑒 = 0𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))
6 eleq1w 2872 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (𝑦𝐵𝑒𝐵))
7 oveq1 7142 . . . . . . . . . . . . . . 15 (𝑦 = 𝑒 → (𝑦(+g𝐺)𝑥) = (𝑒(+g𝐺)𝑥))
87eqeq1d 2800 . . . . . . . . . . . . . 14 (𝑦 = 𝑒 → ((𝑦(+g𝐺)𝑥) = 𝑥 ↔ (𝑒(+g𝐺)𝑥) = 𝑥))
98ovanraleqv 7159 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥) ↔ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
106, 9anbi12d 633 . . . . . . . . . . . 12 (𝑦 = 𝑒 → ((𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)) ↔ (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1110iotan0 6314 . . . . . . . . . . 11 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
12 rsp 3170 . . . . . . . . . . 11 (∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1311, 12simpl2im 507 . . . . . . . . . 10 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
14133expb 1117 . . . . . . . . 9 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1514expcom 417 . . . . . . . 8 ((𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
165, 15sylan2b 596 . . . . . . 7 ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1716impcom 411 . . . . . 6 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1817ralrimiv 3148 . . . . 5 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
1918ex 416 . . . 4 (𝑒𝐵 → ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2019reximia 3205 . . 3 (∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
2120anim2i 619 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
221, 2ismnddef 17905 . 2 (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2321, 22sylibr 237 1 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → 𝐺 ∈ Mnd)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wral 3106  wrex 3107  c0 4243  cio 6281  cfv 6324  (class class class)co 7135  Basecbs 16475  +gcplusg 16557  0gc0g 16705  Smgrpcsgrp 17892  Mndcmnd 17903
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-iota 6283  df-fun 6326  df-fv 6332  df-ov 7138  df-0g 16707  df-mnd 17904
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator