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

Theorem dfgrp2e 19252
Description: Alternate definition of a group as a set with a closed, associative operation, a left identity and a left inverse for each element. Alternate definition in [Lang] p. 7. (Contributed by NM, 10-Oct-2006.) (Revised by AV, 28-Aug-2021.)
Hypotheses
Ref Expression
dfgrp2.b 𝐵 = (Base‘𝐺)
dfgrp2.p + = (+g‘𝐺)
Assertion
Ref Expression
dfgrp2e (𝐺 ∈ Grp ↔ (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) ∈ 𝐵 ∧ ∀𝑧 ∈ 𝐵 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))) ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
Distinct variable groups:   𝐵,𝑖,𝑛,𝑥   𝑖,𝐺,𝑛,𝑥   + ,𝑖,𝑛,𝑥   𝑦,𝐵,𝑧,𝑥   𝑦,𝐺,𝑧   𝑦, + ,𝑧

Proof of Theorem dfgrp2e
StepHypRef Expression
1 dfgrp2.b . . 3 𝐵 = (Base‘𝐺)
2 dfgrp2.p . . 3 + = (+g‘𝐺)
31, 2dfgrp2 19251 . 2 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
4 ax-1 6 . . . . . . 7 (𝐺 ∈ V → (𝑛 ∈ 𝐵 → 𝐺 ∈ V))
5 fvprc 6926 . . . . . . . 8 (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅)
61eleq2i 2867 . . . . . . . . 9 (𝑛 ∈ 𝐵 ↔ 𝑛 ∈ (Base‘𝐺))
7 eleq2 2864 . . . . . . . . . 10 ((Base‘𝐺) = ∅ → (𝑛 ∈ (Base‘𝐺) ↔ 𝑛 ∈ ∅))
8 noel 4293 . . . . . . . . . . 11 ¬ 𝑛 ∈ ∅
98pm2.21i 120 . . . . . . . . . 10 (𝑛 ∈ ∅ → 𝐺 ∈ V)
107, 9biimtrdi 256 . . . . . . . . 9 ((Base‘𝐺) = ∅ → (𝑛 ∈ (Base‘𝐺) → 𝐺 ∈ V))
116, 10biimtrid 245 . . . . . . . 8 ((Base‘𝐺) = ∅ → (𝑛 ∈ 𝐵 → 𝐺 ∈ V))
125, 11syl 18 . . . . . . 7 (¬ 𝐺 ∈ V → (𝑛 ∈ 𝐵 → 𝐺 ∈ V))
134, 12pm2.61i 184 . . . . . 6 (𝑛 ∈ 𝐵 → 𝐺 ∈ V)
1413a1d 26 . . . . 5 (𝑛 ∈ 𝐵 → (∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛) → 𝐺 ∈ V))
1514rexlimiv 3171 . . . 4 (∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛) → 𝐺 ∈ V)
161, 2issgrpv 18988 . . . 4 (𝐺 ∈ V → (𝐺 ∈ Smgrp ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) ∈ 𝐵 ∧ ∀𝑧 ∈ 𝐵 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))))
1715, 16syl 18 . . 3 (∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛) → (𝐺 ∈ Smgrp ↔ ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) ∈ 𝐵 ∧ ∀𝑧 ∈ 𝐵 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))))
1817pm5.32ri 586 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)) ↔ (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) ∈ 𝐵 ∧ ∀𝑧 ∈ 𝐵 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))) ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
193, 18bitri 278 1 (𝐺 ∈ Grp ↔ (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐵 ((𝑥 + 𝑦) ∈ 𝐵 ∧ ∀𝑧 ∈ 𝐵 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))) ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  Vcvv 3461  ∅c0 4288  ‘cfv 6579  (class class class)co 7470  Basecbs 17455  +gcplusg 17496  Smgrpcsgrp 18985  Grpcgrp 19222
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-riota 7426  df-ov 7473  df-0g 17690  df-mgm 18894  df-sgrp 18986  df-mnd 19002  df-grp 19225
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator