ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ismnddef GIF version

Theorem ismnddef 13790
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 basfn 13469 . . . 4 Base Fn V
2 vex 2824 . . . 4 𝑔 ∈ V
3 funfvex 5715 . . . . 5 ((Fun Base ∧ 𝑔 ∈ dom Base) → (Base‘𝑔) ∈ V)
43funfni 5486 . . . 4 ((Base Fn V ∧ 𝑔 ∈ V) → (Base‘𝑔) ∈ V)
51, 2, 4mp2an 430 . . 3 (Base‘𝑔) ∈ V
6 plusgslid 13525 . . . . 5 (+g = Slot (+g‘ndx) ∧ (+g‘ndx) ∈ ℕ)
76slotex 13437 . . . 4 (𝑔 ∈ V → (+g‘𝑔) ∈ V)
87elv 2825 . . 3 (+g‘𝑔) ∈ V
9 fveq2 5698 . . . . . . 7 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
10 ismnddef.b . . . . . . 7 𝐵 = (Base‘𝐺)
119, 10eqtr4di 2289 . . . . . 6 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
1211eqeq2d 2250 . . . . 5 (𝑔 = 𝐺 → (𝑏 = (Base‘𝑔) ↔ 𝑏 = 𝐵))
13 fveq2 5698 . . . . . . 7 (𝑔 = 𝐺 → (+g‘𝑔) = (+g‘𝐺))
14 ismnddef.p . . . . . . 7 + = (+g‘𝐺)
1513, 14eqtr4di 2289 . . . . . 6 (𝑔 = 𝐺 → (+g‘𝑔) = + )
1615eqeq2d 2250 . . . . 5 (𝑔 = 𝐺 → (𝑝 = (+g‘𝑔) ↔ 𝑝 = + ))
1712, 16anbi12d 477 . . . 4 (𝑔 = 𝐺 → ((𝑏 = (Base‘𝑔) ∧ 𝑝 = (+g‘𝑔)) ↔ (𝑏 = 𝐵 ∧ 𝑝 = + )))
18 simpl 109 . . . . 5 ((𝑏 = 𝐵 ∧ 𝑝 = + ) → 𝑏 = 𝐵)
19 oveq 6094 . . . . . . . . 9 (𝑝 = + → (𝑒𝑝𝑎) = (𝑒 + 𝑎))
2019eqeq1d 2247 . . . . . . . 8 (𝑝 = + → ((𝑒𝑝𝑎) = 𝑎 ↔ (𝑒 + 𝑎) = 𝑎))
21 oveq 6094 . . . . . . . . 9 (𝑝 = + → (𝑎𝑝𝑒) = (𝑎 + 𝑒))
2221eqeq1d 2247 . . . . . . . 8 (𝑝 = + → ((𝑎𝑝𝑒) = 𝑎 ↔ (𝑎 + 𝑒) = 𝑎))
2320, 22anbi12d 477 . . . . . . 7 (𝑝 = + → (((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2423adantl 277 . . . . . 6 ((𝑏 = 𝐵 ∧ 𝑝 = + ) → (((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2518, 24raleqbidv 2765 . . . . 5 ((𝑏 = 𝐵 ∧ 𝑝 = + ) → (∀𝑎 ∈ 𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2618, 25rexeqbidv 2766 . . . 4 ((𝑏 = 𝐵 ∧ 𝑝 = + ) → (∃𝑒 ∈ 𝑏 ∀𝑎 ∈ 𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
2717, 26biimtrdi 163 . . 3 (𝑔 = 𝐺 → ((𝑏 = (Base‘𝑔) ∧ 𝑝 = (+g‘𝑔)) → (∃𝑒 ∈ 𝑏 ∀𝑎 ∈ 𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎))))
285, 8, 27sbc2iedv 3124 . 2 (𝑔 = 𝐺 → ([(Base‘𝑔) / 𝑏][(+g‘𝑔) / 𝑝]∃𝑒 ∈ 𝑏 ∀𝑎 ∈ 𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎) ↔ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
29 df-mnd 13789 . 2 Mnd = {𝑔 ∈ Smgrp ∣ [(Base‘𝑔) / 𝑏][(+g‘𝑔) / 𝑝]∃𝑒 ∈ 𝑏 ∀𝑎 ∈ 𝑏 ((𝑒𝑝𝑎) = 𝑎 ∧ (𝑎𝑝𝑒) = 𝑎)}
3028, 29elrab2 2985 1 (𝐺 ∈ Mnd ↔ (𝐺 ∈ Smgrp ∧ ∃𝑒 ∈ 𝐵 ∀𝑎 ∈ 𝐵 ((𝑒 + 𝑎) = 𝑎 ∧ (𝑎 + 𝑒) = 𝑎)))
Colors of variables:    wff set class
This proof depends on syntax axioms:   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  ∀wral 2528  ∃wrex 2529  Vcvv 2821  [wsbc 3051   Fn wfn 5375  ‘cfv 5380  (class class class)co 6088  Basecbs 13410  +gcplusg 13490  Smgrpcsgrp 13775  Mndcmnd 13788
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-cnex 8276  ax-resscn 8277  ax-1re 8279  ax-addrcl 8282
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-rab 2537  df-v 2823  df-sbc 3052  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-iota 5340  df-fun 5382  df-fn 5383  df-fv 5388  df-ov 6091  df-inn 9314  df-2 9372  df-ndx 13413  df-slot 13414  df-base 13416  df-plusg 13503  df-mnd 13789
This theorem is used by:  ismnd  13791  sgrpidmndm  13792  mndsgrp  13793  mnd1  13821
  Copyright terms: Public domain W3C validator