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

Theorem isgrp 18878
Description: The predicate "is a group". (This theorem demonstrates the use of symbols as variable names, first proposed by FL in 2010.) (Contributed by NM, 17-Oct-2012.) (Revised by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
isgrp.b 𝐵 = (Base‘𝐺)
isgrp.p + = (+g𝐺)
isgrp.z 0 = (0g𝐺)
Assertion
Ref Expression
isgrp (𝐺 ∈ Grp ↔ (𝐺 ∈ Mnd ∧ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
Distinct variable groups:   𝑚,𝑎,𝐵   𝐺,𝑎,𝑚
Allowed substitution hints:   + (𝑚,𝑎)   0 (𝑚,𝑎)

Proof of Theorem isgrp
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6861 . . . 4 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
2 isgrp.b . . . 4 𝐵 = (Base‘𝐺)
31, 2eqtr4di 2783 . . 3 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
4 fveq2 6861 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
5 isgrp.p . . . . . . 7 + = (+g𝐺)
64, 5eqtr4di 2783 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
76oveqd 7407 . . . . 5 (𝑔 = 𝐺 → (𝑚(+g𝑔)𝑎) = (𝑚 + 𝑎))
8 fveq2 6861 . . . . . 6 (𝑔 = 𝐺 → (0g𝑔) = (0g𝐺))
9 isgrp.z . . . . . 6 0 = (0g𝐺)
108, 9eqtr4di 2783 . . . . 5 (𝑔 = 𝐺 → (0g𝑔) = 0 )
117, 10eqeq12d 2746 . . . 4 (𝑔 = 𝐺 → ((𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ (𝑚 + 𝑎) = 0 ))
123, 11rexeqbidv 3322 . . 3 (𝑔 = 𝐺 → (∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∃𝑚𝐵 (𝑚 + 𝑎) = 0 ))
133, 12raleqbidv 3321 . 2 (𝑔 = 𝐺 → (∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
14 df-grp 18875 . 2 Grp = {𝑔 ∈ Mnd ∣ ∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔)}
1513, 14elrab2 3665 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Mnd ∧ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395   = wceq 1540  wcel 2109  wral 3045  wrex 3054  cfv 6514  (class class class)co 7390  Basecbs 17186  +gcplusg 17227  0gc0g 17409  Mndcmnd 18668  Grpcgrp 18872
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 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-ext 2702
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2066  df-clab 2709  df-cleq 2722  df-clel 2804  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3920  df-un 3922  df-ss 3934  df-nul 4300  df-if 4492  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-br 5111  df-iota 6467  df-fv 6522  df-ov 7393  df-grp 18875
This theorem is referenced by:  grpmnd  18879  grpinvex  18882  grppropd  18890  isgrpd2e  18894  grp1  18986  ghmgrp  19005  primrootsunit1  42092  2zrngagrp  48241
  Copyright terms: Public domain W3C validator