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

Theorem sgrpidmnd 17912
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 18098 and pwmndid 18097), 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 2820 . . . . . . . . . 10 (+g𝐺) = (+g𝐺)
3 sgrpidmnd.0 . . . . . . . . . 10 0 = (0g𝐺)
41, 2, 3grpidval 17867 . . . . . . . . 9 0 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))
54eqeq2i 2833 . . . . . . . 8 (𝑒 = 0𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))
6 eleq1w 2894 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (𝑦𝐵𝑒𝐵))
7 oveq1 7160 . . . . . . . . . . . . . . 15 (𝑦 = 𝑒 → (𝑦(+g𝐺)𝑥) = (𝑒(+g𝐺)𝑥))
87eqeq1d 2822 . . . . . . . . . . . . . 14 (𝑦 = 𝑒 → ((𝑦(+g𝐺)𝑥) = 𝑥 ↔ (𝑒(+g𝐺)𝑥) = 𝑥))
98ovanraleqv 7177 . . . . . . . . . . . . 13 (𝑦 = 𝑒 → (∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥) ↔ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
106, 9anbi12d 632 . . . . . . . . . . . 12 (𝑦 = 𝑒 → ((𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)) ↔ (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1110iotan0 6342 . . . . . . . . . . 11 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 ∧ ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
12 rsp 3204 . . . . . . . . . . 11 (∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1311, 12simpl2im 506 . . . . . . . . . 10 ((𝑒𝐵𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
14133expb 1115 . . . . . . . . 9 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥))))) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1514expcom 416 . . . . . . . 8 ((𝑒 ≠ ∅ ∧ 𝑒 = (℩𝑦(𝑦𝐵 ∧ ∀𝑥𝐵 ((𝑦(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑦) = 𝑥)))) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
165, 15sylan2b 595 . . . . . . 7 ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → (𝑒𝐵 → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))))
1716impcom 410 . . . . . 6 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝑥𝐵 → ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
1817ralrimiv 3180 . . . . 5 ((𝑒𝐵 ∧ (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
1918ex 415 . . . 4 (𝑒𝐵 → ((𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∀𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2019reximia 3241 . . 3 (∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 ) → ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥))
2120anim2i 618 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
221, 2ismnddef 17909 . 2 (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑥𝐵 ((𝑒(+g𝐺)𝑥) = 𝑥 ∧ (𝑥(+g𝐺)𝑒) = 𝑥)))
2321, 22sylibr 236 1 ((𝐺 ∈ Smgrp ∧ ∃𝑒𝐵 (𝑒 ≠ ∅ ∧ 𝑒 = 0 )) → 𝐺 ∈ Mnd)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1082   = wceq 1536  wcel 2113  wne 3015  wral 3137  wrex 3138  c0 4288  cio 6309  cfv 6352  (class class class)co 7153  Basecbs 16479  +gcplusg 16561  0gc0g 16709  Smgrpcsgrp 17896  Mndcmnd 17907
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5200  ax-nul 5207  ax-pow 5263  ax-pr 5327
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3495  df-sbc 3771  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4465  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4836  df-br 5064  df-opab 5126  df-mpt 5144  df-id 5457  df-xp 5558  df-rel 5559  df-cnv 5560  df-co 5561  df-dm 5562  df-iota 6311  df-fun 6354  df-fv 6360  df-ov 7156  df-0g 16711  df-mnd 17908
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator