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

Theorem ismnddef 17916
Description: The predicate "is a monoid", corresponding 1-to-1 to the definition. (Contributed by FL, 2-Nov-2009.) (Revised by AV, 1-Feb-2020.)
Hypotheses
Ref Expression
ismnddef.b 𝐵 = (Base‘𝐺)
ismnddef.p + = (+g𝐺)
Assertion
Ref Expression
ismnddef (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
Distinct variable groups:   𝐵,𝑎,𝑒   + ,𝑎,𝑒
Allowed substitution hints:   𝐺(𝑒,𝑎)

Proof of Theorem ismnddef
Dummy variables 𝑏 𝑔 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvex 6686 . . 3 (Base‘𝑔) ∈ V
2 fvex 6686 . . 3 (+g𝑔) ∈ V
3 fveq2 6673 . . . . . . 7 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
4 ismnddef.b . . . . . . 7 𝐵 = (Base‘𝐺)
53, 4syl6eqr 2877 . . . . . 6 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
65eqeq2d 2835 . . . . 5 (𝑔 = 𝐺 → (𝑏 = (Base‘𝑔) ↔ 𝑏 = 𝐵))
7 fveq2 6673 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
8 ismnddef.p . . . . . . 7 + = (+g𝐺)
97, 8syl6eqr 2877 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
109eqeq2d 2835 . . . . 5 (𝑔 = 𝐺 → (𝑝 = (+g𝑔) ↔ 𝑝 = + ))
116, 10anbi12d 632 . . . 4 (𝑔 = 𝐺 → ((𝑏 = (Base‘𝑔) ∧ 𝑝 = (+g𝑔)) ↔ (𝑏 = 𝐵𝑝 = + )))
12 simpl 485 . . . . 5 ((𝑏 = 𝐵𝑝 = + ) → 𝑏 = 𝐵)
13 oveq 7165 . . . . . . . . 9 (𝑝 = + → (𝑒𝑝𝑎) = (𝑒 + 𝑎))
1413eqeq1d 2826 . . . . . . . 8 (𝑝 = + → ((𝑒𝑝𝑎) = 𝑎 ↔ (𝑒 + 𝑎) = 𝑎))
15 oveq 7165 . . . . . . . . 9 (𝑝 = + → (𝑎𝑝𝑒) = (𝑎 + 𝑒))
1615eqeq1d 2826 . . . . . . . 8 (𝑝 = + → ((𝑎𝑝𝑒) = 𝑎 ↔ (𝑎 + 𝑒) = 𝑎))
1714, 16anbi12d 632 . . . . . . 7 (𝑝 = + → (((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
1817adantl 484 . . . . . 6 ((𝑏 = 𝐵𝑝 = + ) → (((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
1912, 18raleqbidv 3404 . . . . 5 ((𝑏 = 𝐵𝑝 = + ) → (∀𝑎𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∀𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2012, 19rexeqbidv 3405 . . . 4 ((𝑏 = 𝐵𝑝 = + ) → (∃𝑒𝑏𝑎𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒𝐵𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2111, 20syl6bi 255 . . 3 (𝑔 = 𝐺 → ((𝑏 = (Base‘𝑔) ∧ 𝑝 = (+g𝑔)) → (∃𝑒𝑏𝑎𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒𝐵𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))))
221, 2, 21sbc2iedv 3854 . 2 (𝑔 = 𝐺 → ([(Base‘𝑔) / 𝑏][(+g𝑔) / 𝑝]𝑒𝑏𝑎𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒𝐵𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
23 df-mnd 17915 . 2 Mnd = {𝑔 ∈ Smgrp ∣ [(Base‘𝑔) / 𝑏][(+g𝑔) / 𝑝]𝑒𝑏𝑎𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎)}
2422, 23elrab2 3686 1 (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒𝐵𝑎𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1536  wcel 2113  wral 3141  wrex 3142  [wsbc 3775  cfv 6358  (class class class)co 7159  Basecbs 16486  +gcplusg 16568  Smgrpcsgrp 17903  Mndcmnd 17914
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 2796  ax-nul 5213
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-iota 6317  df-fv 6366  df-ov 7162  df-mnd 17915
This theorem is referenced by:  ismnd  17917  isnmnd  17918  sgrpidmnd  17919  mndsgrp  17920  mnd1  17955  efmndmnd  18057  smndex1mnd  18078  isringrng  44159  2zrngamnd  44219
  Copyright terms: Public domain W3C validator