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

Theorem isgrp 19037
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 6888 . . . 4 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
2 isgrp.b . . . 4 𝐵 = (Base‘𝐺)
31, 2eqtr4di 2819 . . 3 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
4 fveq2 6888 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
5 isgrp.p . . . . . . 7 + = (+g𝐺)
64, 5eqtr4di 2819 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
76oveqd 7440 . . . . 5 (𝑔 = 𝐺 → (𝑚(+g𝑔)𝑎) = (𝑚 + 𝑎))
8 fveq2 6888 . . . . . 6 (𝑔 = 𝐺 → (0g𝑔) = (0g𝐺))
9 isgrp.z . . . . . 6 0 = (0g𝐺)
108, 9eqtr4di 2819 . . . . 5 (𝑔 = 𝐺 → (0g𝑔) = 0 )
117, 10eqeq12d 2782 . . . 4 (𝑔 = 𝐺 → ((𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ (𝑚 + 𝑎) = 0 ))
123, 11rexeqbidv 3342 . . 3 (𝑔 = 𝐺 → (∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∃𝑚𝐵 (𝑚 + 𝑎) = 0 ))
133, 12raleqbidv 3341 . 2 (𝑔 = 𝐺 → (∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
14 df-grp 19034 . 2 Grp = {𝑔 ∈ Mnd ∣ ∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔)}
1513, 14elrab2 3657 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Mnd ∧ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401   = wceq 1570  wcel 2146  wral 3082  wrex 3092  cfv 6543  (class class class)co 7423  Basecbs 17294  +gcplusg 17335  0gc0g 17517  Mndcmnd 18821  Grpcgrp 19031
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2745  df-cleq 2758  df-clel 2841  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-ss 3925  df-nul 4290  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-iota 6499  df-fv 6551  df-ov 7426  df-grp 19034
This theorem is used by:  grpmnd  19038  grpinvex  19041  grppropd  19049  isgrpd2e  19053  grp1  19144  ghmgrp  19163  primrootsunit1  42905  2zrngagrp  49055
  Copyright terms: Public domain W3C validator