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

Theorem dfgrp2e 19174
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 19173 . 2 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛)))
4 ax-1 6 . . . . . . 7 (𝐺 ∈ V → (𝑛 ∈ 𝐵 → 𝐺 ∈ V))
5 fvprc 6877 . . . . . . . 8 (¬ 𝐺 ∈ V → (Base‘𝐺) = ∅)
61eleq2i 2853 . . . . . . . . 9 (𝑛 ∈ 𝐵 ↔ 𝑛 ∈ (Base‘𝐺))
7 eleq2 2850 . . . . . . . . . 10 ((Base‘𝐺) = ∅ → (𝑛 ∈ (Base‘𝐺) ↔ 𝑛 ∈ ∅))
8 noel 4284 . . . . . . . . . . 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 3157 . . . 4 (∃𝑛 ∈ 𝐵 ∀𝑥 ∈ 𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖 ∈ 𝐵 (𝑖 + 𝑥) = 𝑛) → 𝐺 ∈ V)
161, 2issgrpv 18910 . . . 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 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  Vcvv 3451  ∅c0 4279  ‘cfv 6538  (class class class)co 7420  Basecbs 17387  +gcplusg 17428  Smgrpcsgrp 18907  Grpcgrp 19144
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6494  df-fun 6540  df-fv 6546  df-riota 7377  df-ov 7423  df-0g 17612  df-mgm 18816  df-sgrp 18908  df-mnd 18924  df-grp 19147
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator