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

Theorem isgrp 18881
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 6842 . . . 4 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
2 isgrp.b . . . 4 𝐵 = (Base‘𝐺)
31, 2eqtr4di 2790 . . 3 (𝑔 = 𝐺 → (Base‘𝑔) = 𝐵)
4 fveq2 6842 . . . . . . 7 (𝑔 = 𝐺 → (+g𝑔) = (+g𝐺))
5 isgrp.p . . . . . . 7 + = (+g𝐺)
64, 5eqtr4di 2790 . . . . . 6 (𝑔 = 𝐺 → (+g𝑔) = + )
76oveqd 7385 . . . . 5 (𝑔 = 𝐺 → (𝑚(+g𝑔)𝑎) = (𝑚 + 𝑎))
8 fveq2 6842 . . . . . 6 (𝑔 = 𝐺 → (0g𝑔) = (0g𝐺))
9 isgrp.z . . . . . 6 0 = (0g𝐺)
108, 9eqtr4di 2790 . . . . 5 (𝑔 = 𝐺 → (0g𝑔) = 0 )
117, 10eqeq12d 2753 . . . 4 (𝑔 = 𝐺 → ((𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ (𝑚 + 𝑎) = 0 ))
123, 11rexeqbidv 3319 . . 3 (𝑔 = 𝐺 → (∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∃𝑚𝐵 (𝑚 + 𝑎) = 0 ))
133, 12raleqbidv 3318 . 2 (𝑔 = 𝐺 → (∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔) ↔ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
14 df-grp 18878 . 2 Grp = {𝑔 ∈ Mnd ∣ ∀𝑎 ∈ (Base‘𝑔)∃𝑚 ∈ (Base‘𝑔)(𝑚(+g𝑔)𝑎) = (0g𝑔)}
1513, 14elrab2 3651 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Mnd ∧ ∀𝑎𝐵𝑚𝐵 (𝑚 + 𝑎) = 0 ))
Colors of variables: wff setvar class
Syntax hints:  wb 206  wa 395   = wceq 1542  wcel 2114  wral 3052  wrex 3062  cfv 6500  (class class class)co 7368  Basecbs 17148  +gcplusg 17189  0gc0g 17371  Mndcmnd 18671  Grpcgrp 18875
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rex 3063  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-iota 6456  df-fv 6508  df-ov 7371  df-grp 18878
This theorem is referenced by:  grpmnd  18882  grpinvex  18885  grppropd  18893  isgrpd2e  18897  grp1  18989  ghmgrp  19008  primrootsunit1  42461  2zrngagrp  48603
  Copyright terms: Public domain W3C validator