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

Theorem dfgrp2 17270
 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 17248, 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 ↔ (𝐺 ∈ SGrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
Distinct variable groups:   𝐵,𝑖,𝑛,𝑥   𝑖,𝐺,𝑛,𝑥   + ,𝑖,𝑛,𝑥

Proof of Theorem dfgrp2
Dummy variables 𝑎 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grpsgrp 17269 . . 3 (𝐺 ∈ Grp → 𝐺 ∈ SGrp)
2 grpmnd 17252 . . . . 5 (𝐺 ∈ Grp → 𝐺 ∈ Mnd)
3 dfgrp2.b . . . . . 6 𝐵 = (Base‘𝐺)
4 eqid 2610 . . . . . 6 (0g𝐺) = (0g𝐺)
53, 4mndidcl 17131 . . . . 5 (𝐺 ∈ Mnd → (0g𝐺) ∈ 𝐵)
62, 5syl 17 . . . 4 (𝐺 ∈ Grp → (0g𝐺) ∈ 𝐵)
7 oveq1 6556 . . . . . . . 8 (𝑛 = (0g𝐺) → (𝑛 + 𝑥) = ((0g𝐺) + 𝑥))
87eqeq1d 2612 . . . . . . 7 (𝑛 = (0g𝐺) → ((𝑛 + 𝑥) = 𝑥 ↔ ((0g𝐺) + 𝑥) = 𝑥))
9 eqeq2 2621 . . . . . . . 8 (𝑛 = (0g𝐺) → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑥) = (0g𝐺)))
109rexbidv 3034 . . . . . . 7 (𝑛 = (0g𝐺) → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
118, 10anbi12d 743 . . . . . 6 (𝑛 = (0g𝐺) → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1211ralbidv 2969 . . . . 5 (𝑛 = (0g𝐺) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1312adantl 481 . . . 4 ((𝐺 ∈ Grp ∧ 𝑛 = (0g𝐺)) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
14 dfgrp2.p . . . . . . . 8 + = (+g𝐺)
153, 14, 4mndlid 17134 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
162, 15sylan 487 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
173, 14, 4grpinvex 17255 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))
1816, 17jca 553 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
1918ralrimiva 2949 . . . 4 (𝐺 ∈ Grp → ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
206, 13, 19rspcedvd 3289 . . 3 (𝐺 ∈ Grp → ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛))
211, 20jca 553 . 2 (𝐺 ∈ Grp → (𝐺 ∈ SGrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
223a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → 𝐵 = (Base‘𝐺))
2314a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → + = (+g𝐺))
24 sgrpmgm 17112 . . . . . . . 8 (𝐺 ∈ SGrp → 𝐺 ∈ Mgm)
2524adantl 481 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → 𝐺 ∈ Mgm)
263, 14mgmcl 17068 . . . . . . 7 ((𝐺 ∈ Mgm ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
2725, 26syl3an1 1351 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
283, 14sgrpass 17113 . . . . . . 7 ((𝐺 ∈ SGrp ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
2928adantll 746 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
30 simpll 786 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → 𝑛𝐵)
31 oveq2 6557 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑛 + 𝑥) = (𝑛 + 𝑎))
32 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑎𝑥 = 𝑎)
3331, 32eqeq12d 2625 . . . . . . . . . . 11 (𝑥 = 𝑎 → ((𝑛 + 𝑥) = 𝑥 ↔ (𝑛 + 𝑎) = 𝑎))
34 oveq2 6557 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑖 + 𝑥) = (𝑖 + 𝑎))
3534eqeq1d 2612 . . . . . . . . . . . 12 (𝑥 = 𝑎 → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑎) = 𝑛))
3635rexbidv 3034 . . . . . . . . . . 11 (𝑥 = 𝑎 → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛))
3733, 36anbi12d 743 . . . . . . . . . 10 (𝑥 = 𝑎 → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
3837rspcv 3278 . . . . . . . . 9 (𝑎𝐵 → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
39 simpl 472 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → (𝑛 + 𝑎) = 𝑎)
4038, 39syl6com 36 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4140ad2antlr 759 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4241imp 444 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) ∧ 𝑎𝐵) → (𝑛 + 𝑎) = 𝑎)
43 oveq1 6556 . . . . . . . . . . . . 13 (𝑖 = 𝑏 → (𝑖 + 𝑎) = (𝑏 + 𝑎))
4443eqeq1d 2612 . . . . . . . . . . . 12 (𝑖 = 𝑏 → ((𝑖 + 𝑎) = 𝑛 ↔ (𝑏 + 𝑎) = 𝑛))
4544cbvrexv 3148 . . . . . . . . . . 11 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 ↔ ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4645biimpi 205 . . . . . . . . . 10 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4746adantl 481 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4838, 47syl6com 36 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
4948ad2antlr 759 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
5049imp 444 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) ∧ 𝑎𝐵) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
5122, 23, 27, 29, 30, 42, 50isgrpde 17266 . . . . 5 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ SGrp) → 𝐺 ∈ Grp)
5251ex 449 . . . 4 ((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → (𝐺 ∈ SGrp → 𝐺 ∈ Grp))
5352rexlimiva 3010 . . 3 (∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝐺 ∈ SGrp → 𝐺 ∈ Grp))
5453impcom 445 . 2 ((𝐺 ∈ SGrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → 𝐺 ∈ Grp)
5521, 54impbii 198 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ SGrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ∀wral 2896  ∃wrex 2897  ‘cfv 5804  (class class class)co 6549  Basecbs 15695  +gcplusg 15768  0gc0g 15923  Mgmcmgm 17063  SGrpcsgrp 17106  Mndcmnd 17117  Grpcgrp 17245 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-iota 5768  df-fun 5806  df-fv 5812  df-riota 6511  df-ov 6552  df-0g 15925  df-mgm 17065  df-sgrp 17107  df-mnd 17118  df-grp 17248 This theorem is referenced by:  dfgrp2e  17271  dfgrp3  17337
 Copyright terms: Public domain W3C validator