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

Theorem dfgrp2 18519
Description: Alternate definition of a group as semigroup with a left identity and a left inverse for each element. This "definition" is weaker than df-grp 18495, based on the definition of a monoid which provides a left and a right identity. (Contributed by AV, 28-Aug-2021.)
Hypotheses
Ref Expression
dfgrp2.b 𝐵 = (Base‘𝐺)
dfgrp2.p + = (+g𝐺)
Assertion
Ref Expression
dfgrp2 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
Distinct variable groups:   𝐵,𝑖,𝑛,𝑥   𝑖,𝐺,𝑛,𝑥   + ,𝑖,𝑛,𝑥

Proof of Theorem dfgrp2
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grpsgrp 18518 . . 3 (𝐺 ∈ Grp → 𝐺 ∈ Smgrp)
2 grpmnd 18499 . . . . 5 (𝐺 ∈ Grp → 𝐺 ∈ Mnd)
3 dfgrp2.b . . . . . 6 𝐵 = (Base‘𝐺)
4 eqid 2738 . . . . . 6 (0g𝐺) = (0g𝐺)
53, 4mndidcl 18315 . . . . 5 (𝐺 ∈ Mnd → (0g𝐺) ∈ 𝐵)
62, 5syl 17 . . . 4 (𝐺 ∈ Grp → (0g𝐺) ∈ 𝐵)
7 oveq1 7262 . . . . . . . 8 (𝑛 = (0g𝐺) → (𝑛 + 𝑥) = ((0g𝐺) + 𝑥))
87eqeq1d 2740 . . . . . . 7 (𝑛 = (0g𝐺) → ((𝑛 + 𝑥) = 𝑥 ↔ ((0g𝐺) + 𝑥) = 𝑥))
9 eqeq2 2750 . . . . . . . 8 (𝑛 = (0g𝐺) → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑥) = (0g𝐺)))
109rexbidv 3225 . . . . . . 7 (𝑛 = (0g𝐺) → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
118, 10anbi12d 630 . . . . . 6 (𝑛 = (0g𝐺) → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1211ralbidv 3120 . . . . 5 (𝑛 = (0g𝐺) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1312adantl 481 . . . 4 ((𝐺 ∈ Grp ∧ 𝑛 = (0g𝐺)) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
14 dfgrp2.p . . . . . . . 8 + = (+g𝐺)
153, 14, 4mndlid 18320 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
162, 15sylan 579 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
173, 14, 4grpinvex 18502 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))
1816, 17jca 511 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
1918ralrimiva 3107 . . . 4 (𝐺 ∈ Grp → ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
206, 13, 19rspcedvd 3555 . . 3 (𝐺 ∈ Grp → ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛))
211, 20jca 511 . 2 (𝐺 ∈ Grp → (𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
223a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐵 = (Base‘𝐺))
2314a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → + = (+g𝐺))
24 sgrpmgm 18295 . . . . . . . 8 (𝐺 ∈ Smgrp → 𝐺 ∈ Mgm)
2524adantl 481 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐺 ∈ Mgm)
263, 14mgmcl 18244 . . . . . . 7 ((𝐺 ∈ Mgm ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
2725, 26syl3an1 1161 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
283, 14sgrpass 18296 . . . . . . 7 ((𝐺 ∈ Smgrp ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
2928adantll 710 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
30 simpll 763 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝑛𝐵)
31 oveq2 7263 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑛 + 𝑥) = (𝑛 + 𝑎))
32 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑎𝑥 = 𝑎)
3331, 32eqeq12d 2754 . . . . . . . . . . 11 (𝑥 = 𝑎 → ((𝑛 + 𝑥) = 𝑥 ↔ (𝑛 + 𝑎) = 𝑎))
34 oveq2 7263 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑖 + 𝑥) = (𝑖 + 𝑎))
3534eqeq1d 2740 . . . . . . . . . . . 12 (𝑥 = 𝑎 → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑎) = 𝑛))
3635rexbidv 3225 . . . . . . . . . . 11 (𝑥 = 𝑎 → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛))
3733, 36anbi12d 630 . . . . . . . . . 10 (𝑥 = 𝑎 → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
3837rspcv 3547 . . . . . . . . 9 (𝑎𝐵 → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
39 simpl 482 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → (𝑛 + 𝑎) = 𝑎)
4038, 39syl6com 37 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4140ad2antlr 723 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4241imp 406 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵) → (𝑛 + 𝑎) = 𝑎)
43 oveq1 7262 . . . . . . . . . . . . 13 (𝑖 = 𝑏 → (𝑖 + 𝑎) = (𝑏 + 𝑎))
4443eqeq1d 2740 . . . . . . . . . . . 12 (𝑖 = 𝑏 → ((𝑖 + 𝑎) = 𝑛 ↔ (𝑏 + 𝑎) = 𝑛))
4544cbvrexvw 3373 . . . . . . . . . . 11 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 ↔ ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4645biimpi 215 . . . . . . . . . 10 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4746adantl 481 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4838, 47syl6com 37 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
4948ad2antlr 723 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
5049imp 406 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
5122, 23, 27, 29, 30, 42, 50isgrpde 18515 . . . . 5 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐺 ∈ Grp)
5251ex 412 . . . 4 ((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → (𝐺 ∈ Smgrp → 𝐺 ∈ Grp))
5352rexlimiva 3209 . . 3 (∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝐺 ∈ Smgrp → 𝐺 ∈ Grp))
5453impcom 407 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → 𝐺 ∈ Grp)
5521, 54impbii 208 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  0gc0g 17067  Mgmcmgm 18239  Smgrpcsgrp 18289  Mndcmnd 18300  Grpcgrp 18492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-riota 7212  df-ov 7258  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-grp 18495
This theorem is referenced by:  dfgrp2e  18520  dfgrp3  18589
  Copyright terms: Public domain W3C validator