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

Theorem sgrpidmnd 18305
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 18491 and pwmndid 18490), 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 2738 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
3 sgrpidmnd.0 . . . . . . . . . 10 0 = (0g𝐺)
41, 2, 3grpidval 18260 . . . . . . . . 9 0 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))
54eqeq2i 2751 . . . . . . . 8 (𝑒 = 0𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))
6 eleq1w 2821 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (𝑦𝐵𝑒𝐵))
7 oveq1 7262 . . . . . . . . . . . . . . 15 (𝑦 = 𝑒 → (𝑦(+g𝐺)𝑥) = (𝑒(+g𝐺)𝑥))
87eqeq1d 2740 . . . . . . . . . . . . . 14 (𝑦 = 𝑒 → ((𝑦(+g𝐺)𝑥) = 𝑥 ↔ (𝑒(+g𝐺)𝑥) = 𝑥))
98ovanraleqv 7279 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥) ↔ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
106, 9anbi12d 630 . . . . . . . . . . . 12 (𝑦 = 𝑒 → ((𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)) ↔ (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1110iotan0 6408 . . . . . . . . . . 11 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
12 rsp 3129 . . . . . . . . . . 11 (∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1311, 12simpl2im 503 . . . . . . . . . 10 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
14133expb 1118 . . . . . . . . 9 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1514expcom 413 . . . . . . . 8 ((𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
165, 15sylan2b 593 . . . . . . 7 ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1716impcom 407 . . . . . 6 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1817ralrimiv 3106 . . . . 5 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
1918ex 412 . . . 4 (𝑒𝐵 → ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2019reximia 3172 . . 3 (∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
2120anim2i 616 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
221, 2ismnddef 18302 . 2 (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2321, 22sylibr 233 1 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → 𝐺 ∈ Mnd)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wral 3063  wrex 3064  c0 4253  cio 6374  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  0gc0g 17067  Smgrpcsgrp 18289  Mndcmnd 18300
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-0g 17069  df-mnd 18301
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator