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

Theorem dfgrp2 18258
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 18234, 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 18257 . . 3 (𝐺 ∈ Grp → 𝐺 ∈ Smgrp)
2 grpmnd 18238 . . . . 5 (𝐺 ∈ Grp → 𝐺 ∈ Mnd)
3 dfgrp2.b . . . . . 6 𝐵 = (Base‘𝐺)
4 eqid 2739 . . . . . 6 (0g𝐺) = (0g𝐺)
53, 4mndidcl 18054 . . . . 5 (𝐺 ∈ Mnd → (0g𝐺) ∈ 𝐵)
62, 5syl 17 . . . 4 (𝐺 ∈ Grp → (0g𝐺) ∈ 𝐵)
7 oveq1 7189 . . . . . . . 8 (𝑛 = (0g𝐺) → (𝑛 + 𝑥) = ((0g𝐺) + 𝑥))
87eqeq1d 2741 . . . . . . 7 (𝑛 = (0g𝐺) → ((𝑛 + 𝑥) = 𝑥 ↔ ((0g𝐺) + 𝑥) = 𝑥))
9 eqeq2 2751 . . . . . . . 8 (𝑛 = (0g𝐺) → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑥) = (0g𝐺)))
109rexbidv 3208 . . . . . . 7 (𝑛 = (0g𝐺) → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
118, 10anbi12d 634 . . . . . 6 (𝑛 = (0g𝐺) → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1211ralbidv 3110 . . . . 5 (𝑛 = (0g𝐺) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
1312adantl 485 . . . 4 ((𝐺 ∈ Grp ∧ 𝑛 = (0g𝐺)) → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))))
14 dfgrp2.p . . . . . . . 8 + = (+g𝐺)
153, 14, 4mndlid 18059 . . . . . . 7 ((𝐺 ∈ Mnd ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
162, 15sylan 583 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((0g𝐺) + 𝑥) = 𝑥)
173, 14, 4grpinvex 18241 . . . . . 6 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺))
1816, 17jca 515 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
1918ralrimiva 3097 . . . 4 (𝐺 ∈ Grp → ∀𝑥𝐵 (((0g𝐺) + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = (0g𝐺)))
206, 13, 19rspcedvd 3532 . . 3 (𝐺 ∈ Grp → ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛))
211, 20jca 515 . 2 (𝐺 ∈ Grp → (𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
223a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐵 = (Base‘𝐺))
2314a1i 11 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → + = (+g𝐺))
24 sgrpmgm 18034 . . . . . . . 8 (𝐺 ∈ Smgrp → 𝐺 ∈ Mgm)
2524adantl 485 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐺 ∈ Mgm)
263, 14mgmcl 17983 . . . . . . 7 ((𝐺 ∈ Mgm ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
2725, 26syl3an1 1164 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵𝑏𝐵) → (𝑎 + 𝑏) ∈ 𝐵)
283, 14sgrpass 18035 . . . . . . 7 ((𝐺 ∈ Smgrp ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
2928adantll 714 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ (𝑎𝐵𝑏𝐵𝑐𝐵)) → ((𝑎 + 𝑏) + 𝑐) = (𝑎 + (𝑏 + 𝑐)))
30 simpll 767 . . . . . 6 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝑛𝐵)
31 oveq2 7190 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑛 + 𝑥) = (𝑛 + 𝑎))
32 id 22 . . . . . . . . . . . 12 (𝑥 = 𝑎𝑥 = 𝑎)
3331, 32eqeq12d 2755 . . . . . . . . . . 11 (𝑥 = 𝑎 → ((𝑛 + 𝑥) = 𝑥 ↔ (𝑛 + 𝑎) = 𝑎))
34 oveq2 7190 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑖 + 𝑥) = (𝑖 + 𝑎))
3534eqeq1d 2741 . . . . . . . . . . . 12 (𝑥 = 𝑎 → ((𝑖 + 𝑥) = 𝑛 ↔ (𝑖 + 𝑎) = 𝑛))
3635rexbidv 3208 . . . . . . . . . . 11 (𝑥 = 𝑎 → (∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛 ↔ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛))
3733, 36anbi12d 634 . . . . . . . . . 10 (𝑥 = 𝑎 → (((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) ↔ ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
3837rspcv 3524 . . . . . . . . 9 (𝑎𝐵 → (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → ((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛)))
39 simpl 486 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → (𝑛 + 𝑎) = 𝑎)
4038, 39syl6com 37 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4140ad2antlr 727 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → (𝑎𝐵 → (𝑛 + 𝑎) = 𝑎))
4241imp 410 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵) → (𝑛 + 𝑎) = 𝑎)
43 oveq1 7189 . . . . . . . . . . . . 13 (𝑖 = 𝑏 → (𝑖 + 𝑎) = (𝑏 + 𝑎))
4443eqeq1d 2741 . . . . . . . . . . . 12 (𝑖 = 𝑏 → ((𝑖 + 𝑎) = 𝑛 ↔ (𝑏 + 𝑎) = 𝑛))
4544cbvrexvw 3351 . . . . . . . . . . 11 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 ↔ ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4645biimpi 219 . . . . . . . . . 10 (∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4746adantl 485 . . . . . . . . 9 (((𝑛 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑛) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
4838, 47syl6com 37 . . . . . . . 8 (∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
4948ad2antlr 727 . . . . . . 7 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → (𝑎𝐵 → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛))
5049imp 410 . . . . . 6 ((((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) ∧ 𝑎𝐵) → ∃𝑏𝐵 (𝑏 + 𝑎) = 𝑛)
5122, 23, 27, 29, 30, 42, 50isgrpde 18254 . . . . 5 (((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) ∧ 𝐺 ∈ Smgrp) → 𝐺 ∈ Grp)
5251ex 416 . . . 4 ((𝑛𝐵 ∧ ∀𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → (𝐺 ∈ Smgrp → 𝐺 ∈ Grp))
5352rexlimiva 3192 . . 3 (∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛) → (𝐺 ∈ Smgrp → 𝐺 ∈ Grp))
5453impcom 411 . 2 ((𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)) → 𝐺 ∈ Grp)
5521, 54impbii 212 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑛𝐵𝑥𝐵 ((𝑛 + 𝑥) = 𝑥 ∧ ∃𝑖𝐵 (𝑖 + 𝑥) = 𝑛)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1088   = wceq 1542  wcel 2114  wral 3054  wrex 3055  cfv 6349  (class class class)co 7182  Basecbs 16598  +gcplusg 16680  0gc0g 16828  Mgmcmgm 17978  Smgrpcsgrp 18028  Mndcmnd 18039  Grpcgrp 18231
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2711  ax-sep 5177  ax-nul 5184  ax-pr 5306
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2541  df-eu 2571  df-clab 2718  df-cleq 2731  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-reu 3061  df-rmo 3062  df-rab 3063  df-v 3402  df-sbc 3686  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4222  df-if 4425  df-sn 4527  df-pr 4529  df-op 4533  df-uni 4807  df-br 5041  df-opab 5103  df-mpt 5121  df-id 5439  df-xp 5541  df-rel 5542  df-cnv 5543  df-co 5544  df-dm 5545  df-iota 6307  df-fun 6351  df-fv 6357  df-riota 7139  df-ov 7185  df-0g 16830  df-mgm 17980  df-sgrp 18029  df-mnd 18040  df-grp 18234
This theorem is referenced by:  dfgrp2e  18259  dfgrp3  18328
  Copyright terms: Public domain W3C validator