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

Theorem dfgrp2e 19183
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 19182 . 2 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
4 ax-1 6 . . . . . . 7 (𝐺 ∈ V → (𝑛 ∈ 𝐵 → 𝐺 ∈ V))
5 fvprc 6882 . . . . . . . 8 (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅)
61eleq2i 2852 . . . . . . . . 9 (𝑛 ∈ 𝐵 ↔ 𝑛 ∈ (Base‘𝐺))
7 eleq2 2849 . . . . . . . . . 10 ((Base‘𝐺) = ∅ → (𝑛 ∈ (Base‘𝐺) ↔ 𝑛 ∈ ∅))
8 noel 4282 . . . . . . . . . . 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 3156 . . . 4 (∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛) → 𝐺 ∈ V)
161, 2issgrpv 18919 . . . 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 1569   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086  Vcvv 3450  ∅c0 4277  ‘cfv 6543  (class class class)co 7424  Basecbs 17396  +gcplusg 17437  Smgrpcsgrp 18916  Grpcgrp 19153
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6497  df-fun 6545  df-fv 6551  df-riota 7381  df-ov 7427  df-0g 17621  df-mgm 18825  df-sgrp 18917  df-mnd 18933  df-grp 19156
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator