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

Theorem dfgrp3 18589
Description: Alternate definition of a group as semigroup (with at least one element) which is also a quasigroup, i.e. a magma in which solutions 𝑥 and 𝑦 of the equations (𝑎 + 𝑥) = 𝑏 and (𝑥 + 𝑎) = 𝑏 exist. Theorem 3.2 of [Bruck] p. 28. (Contributed by AV, 28-Aug-2021.)
Hypotheses
Ref Expression
dfgrp3.b 𝐵 = (Base‘𝐺)
dfgrp3.p + = (+g𝐺)
Assertion
Ref Expression
dfgrp3 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)))
Distinct variable groups:   𝐵,𝑙,𝑟,𝑥,𝑦   𝐺,𝑙,𝑟,𝑥,𝑦   + ,𝑙,𝑟,𝑥,𝑦

Proof of Theorem dfgrp3
Dummy variables 𝑎 𝑖 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grpsgrp 18518 . . 3 (𝐺 ∈ Grp → 𝐺 ∈ Smgrp)
2 dfgrp3.b . . . 4 𝐵 = (Base‘𝐺)
32grpbn0 18523 . . 3 (𝐺 ∈ Grp → 𝐵 ≠ ∅)
4 simpl 482 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝐺 ∈ Grp)
5 simpr 484 . . . . . . . 8 ((𝑥𝐵𝑦𝐵) → 𝑦𝐵)
65adantl 481 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝑦𝐵)
7 simpl 482 . . . . . . . 8 ((𝑥𝐵𝑦𝐵) → 𝑥𝐵)
87adantl 481 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝑥𝐵)
9 eqid 2738 . . . . . . . 8 (-g𝐺) = (-g𝐺)
102, 9grpsubcl 18570 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑦𝐵𝑥𝐵) → (𝑦(-g𝐺)𝑥) ∈ 𝐵)
114, 6, 8, 10syl3anc 1369 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑦(-g𝐺)𝑥) ∈ 𝐵)
12 oveq1 7262 . . . . . . . 8 (𝑙 = (𝑦(-g𝐺)𝑥) → (𝑙 + 𝑥) = ((𝑦(-g𝐺)𝑥) + 𝑥))
1312eqeq1d 2740 . . . . . . 7 (𝑙 = (𝑦(-g𝐺)𝑥) → ((𝑙 + 𝑥) = 𝑦 ↔ ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦))
1413adantl 481 . . . . . 6 (((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑙 = (𝑦(-g𝐺)𝑥)) → ((𝑙 + 𝑥) = 𝑦 ↔ ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦))
15 dfgrp3.p . . . . . . . 8 + = (+g𝐺)
162, 15, 9grpnpcan 18582 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑦𝐵𝑥𝐵) → ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦)
174, 6, 8, 16syl3anc 1369 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦)
1811, 14, 17rspcedvd 3555 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦)
19 eqid 2738 . . . . . . . . 9 (invg𝐺) = (invg𝐺)
202, 19grpinvcl 18542 . . . . . . . 8 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((invg𝐺)‘𝑥) ∈ 𝐵)
2120adantrr 713 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((invg𝐺)‘𝑥) ∈ 𝐵)
222, 15grpcl 18500 . . . . . . 7 ((𝐺 ∈ Grp ∧ ((invg𝐺)‘𝑥) ∈ 𝐵𝑦𝐵) → (((invg𝐺)‘𝑥) + 𝑦) ∈ 𝐵)
234, 21, 6, 22syl3anc 1369 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (((invg𝐺)‘𝑥) + 𝑦) ∈ 𝐵)
24 oveq2 7263 . . . . . . . 8 (𝑟 = (((invg𝐺)‘𝑥) + 𝑦) → (𝑥 + 𝑟) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
2524eqeq1d 2740 . . . . . . 7 (𝑟 = (((invg𝐺)‘𝑥) + 𝑦) → ((𝑥 + 𝑟) = 𝑦 ↔ (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦))
2625adantl 481 . . . . . 6 (((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑟 = (((invg𝐺)‘𝑥) + 𝑦)) → ((𝑥 + 𝑟) = 𝑦 ↔ (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦))
27 eqid 2738 . . . . . . . . . 10 (0g𝐺) = (0g𝐺)
282, 15, 27, 19grprinv 18544 . . . . . . . . 9 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → (𝑥 + ((invg𝐺)‘𝑥)) = (0g𝐺))
2928adantrr 713 . . . . . . . 8 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + ((invg𝐺)‘𝑥)) = (0g𝐺))
3029oveq1d 7270 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = ((0g𝐺) + 𝑦))
312, 15grpass 18501 . . . . . . . 8 ((𝐺 ∈ Grp ∧ (𝑥𝐵 ∧ ((invg𝐺)‘𝑥) ∈ 𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
324, 8, 21, 6, 31syl13anc 1370 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
33 grpmnd 18499 . . . . . . . 8 (𝐺 ∈ Grp → 𝐺 ∈ Mnd)
342, 15, 27mndlid 18320 . . . . . . . 8 ((𝐺 ∈ Mnd ∧ 𝑦𝐵) → ((0g𝐺) + 𝑦) = 𝑦)
3533, 5, 34syl2an 595 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((0g𝐺) + 𝑦) = 𝑦)
3630, 32, 353eqtr3d 2786 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦)
3723, 26, 36rspcedvd 3555 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)
3818, 37jca 511 . . . 4 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦))
3938ralrimivva 3114 . . 3 (𝐺 ∈ Grp → ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦))
401, 3, 393jca 1126 . 2 (𝐺 ∈ Grp → (𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)))
41 simp1 1134 . . 3 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → 𝐺 ∈ Smgrp)
422, 15dfgrp3lem 18588 . . 3 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → ∃𝑢𝐵𝑎𝐵 ((𝑢 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑢))
432, 15dfgrp2 18519 . . 3 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑢𝐵𝑎𝐵 ((𝑢 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑢)))
4441, 42, 43sylanbrc 582 . 2 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → 𝐺 ∈ Grp)
4540, 44impbii 208 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wral 3063  wrex 3064  c0 4253  cfv 6418  (class class class)co 7255  Basecbs 16840  +gcplusg 16888  0gc0g 17067  Smgrpcsgrp 18289  Mndcmnd 18300  Grpcgrp 18492  invgcminusg 18493  -gcsg 18494
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-pow 5283  ax-pr 5347  ax-un 7566
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-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  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-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-grp 18495  df-minusg 18496  df-sbg 18497
This theorem is referenced by:  dfgrp3e  18590
  Copyright terms: Public domain W3C validator