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

Theorem dfgrp3 18685
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 18614 . . 3 (𝐺 ∈ Grp → 𝐺 ∈ Smgrp)
2 dfgrp3.b . . . 4 𝐵 = (Base‘𝐺)
32grpbn0 18619 . . 3 (𝐺 ∈ Grp → 𝐵 ≠ ∅)
4 simpl 483 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝐺 ∈ Grp)
5 simpr 485 . . . . . . . 8 ((𝑥𝐵𝑦𝐵) → 𝑦𝐵)
65adantl 482 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝑦𝐵)
7 simpl 483 . . . . . . . 8 ((𝑥𝐵𝑦𝐵) → 𝑥𝐵)
87adantl 482 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → 𝑥𝐵)
9 eqid 2740 . . . . . . . 8 (-g𝐺) = (-g𝐺)
102, 9grpsubcl 18666 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑦𝐵𝑥𝐵) → (𝑦(-g𝐺)𝑥) ∈ 𝐵)
114, 6, 8, 10syl3anc 1370 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑦(-g𝐺)𝑥) ∈ 𝐵)
12 oveq1 7279 . . . . . . . 8 (𝑙 = (𝑦(-g𝐺)𝑥) → (𝑙 + 𝑥) = ((𝑦(-g𝐺)𝑥) + 𝑥))
1312eqeq1d 2742 . . . . . . 7 (𝑙 = (𝑦(-g𝐺)𝑥) → ((𝑙 + 𝑥) = 𝑦 ↔ ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦))
1413adantl 482 . . . . . 6 (((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑙 = (𝑦(-g𝐺)𝑥)) → ((𝑙 + 𝑥) = 𝑦 ↔ ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦))
15 dfgrp3.p . . . . . . . 8 + = (+g𝐺)
162, 15, 9grpnpcan 18678 . . . . . . 7 ((𝐺 ∈ Grp ∧ 𝑦𝐵𝑥𝐵) → ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦)
174, 6, 8, 16syl3anc 1370 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑦(-g𝐺)𝑥) + 𝑥) = 𝑦)
1811, 14, 17rspcedvd 3564 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦)
19 eqid 2740 . . . . . . . . 9 (invg𝐺) = (invg𝐺)
202, 19grpinvcl 18638 . . . . . . . 8 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((invg𝐺)‘𝑥) ∈ 𝐵)
2120adantrr 714 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((invg𝐺)‘𝑥) ∈ 𝐵)
222, 15grpcl 18596 . . . . . . 7 ((𝐺 ∈ Grp ∧ ((invg𝐺)‘𝑥) ∈ 𝐵𝑦𝐵) → (((invg𝐺)‘𝑥) + 𝑦) ∈ 𝐵)
234, 21, 6, 22syl3anc 1370 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (((invg𝐺)‘𝑥) + 𝑦) ∈ 𝐵)
24 oveq2 7280 . . . . . . . 8 (𝑟 = (((invg𝐺)‘𝑥) + 𝑦) → (𝑥 + 𝑟) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
2524eqeq1d 2742 . . . . . . 7 (𝑟 = (((invg𝐺)‘𝑥) + 𝑦) → ((𝑥 + 𝑟) = 𝑦 ↔ (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦))
2625adantl 482 . . . . . 6 (((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) ∧ 𝑟 = (((invg𝐺)‘𝑥) + 𝑦)) → ((𝑥 + 𝑟) = 𝑦 ↔ (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦))
27 eqid 2740 . . . . . . . . . 10 (0g𝐺) = (0g𝐺)
282, 15, 27, 19grprinv 18640 . . . . . . . . 9 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → (𝑥 + ((invg𝐺)‘𝑥)) = (0g𝐺))
2928adantrr 714 . . . . . . . 8 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + ((invg𝐺)‘𝑥)) = (0g𝐺))
3029oveq1d 7287 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = ((0g𝐺) + 𝑦))
312, 15grpass 18597 . . . . . . . 8 ((𝐺 ∈ Grp ∧ (𝑥𝐵 ∧ ((invg𝐺)‘𝑥) ∈ 𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
324, 8, 21, 6, 31syl13anc 1371 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((𝑥 + ((invg𝐺)‘𝑥)) + 𝑦) = (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)))
33 grpmnd 18595 . . . . . . . 8 (𝐺 ∈ Grp → 𝐺 ∈ Mnd)
342, 15, 27mndlid 18416 . . . . . . . 8 ((𝐺 ∈ Mnd ∧ 𝑦𝐵) → ((0g𝐺) + 𝑦) = 𝑦)
3533, 5, 34syl2an 596 . . . . . . 7 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ((0g𝐺) + 𝑦) = 𝑦)
3630, 32, 353eqtr3d 2788 . . . . . 6 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (𝑥 + (((invg𝐺)‘𝑥) + 𝑦)) = 𝑦)
3723, 26, 36rspcedvd 3564 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)
3818, 37jca 512 . . . 4 ((𝐺 ∈ Grp ∧ (𝑥𝐵𝑦𝐵)) → (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦))
3938ralrimivva 3117 . . 3 (𝐺 ∈ Grp → ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦))
401, 3, 393jca 1127 . 2 (𝐺 ∈ Grp → (𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)))
41 simp1 1135 . . 3 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → 𝐺 ∈ Smgrp)
422, 15dfgrp3lem 18684 . . 3 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → ∃𝑢𝐵𝑎𝐵 ((𝑢 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑢))
432, 15dfgrp2 18615 . . 3 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ ∃𝑢𝐵𝑎𝐵 ((𝑢 + 𝑎) = 𝑎 ∧ ∃𝑖𝐵 (𝑖 + 𝑎) = 𝑢)))
4441, 42, 43sylanbrc 583 . 2 ((𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)) → 𝐺 ∈ Grp)
4540, 44impbii 208 1 (𝐺 ∈ Grp ↔ (𝐺 ∈ Smgrp ∧ 𝐵 ≠ ∅ ∧ ∀𝑥𝐵𝑦𝐵 (∃𝑙𝐵 (𝑙 + 𝑥) = 𝑦 ∧ ∃𝑟𝐵 (𝑥 + 𝑟) = 𝑦)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396  w3a 1086   = wceq 1542  wcel 2110  wne 2945  wral 3066  wrex 3067  c0 4262  cfv 6432  (class class class)co 7272  Basecbs 16923  +gcplusg 16973  0gc0g 17161  Smgrpcsgrp 18385  Mndcmnd 18396  Grpcgrp 18588  invgcminusg 18589  -gcsg 18590
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 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7583
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-ral 3071  df-rex 3072  df-reu 3073  df-rmo 3074  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-id 5490  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-fv 6440  df-riota 7229  df-ov 7275  df-oprab 7276  df-mpo 7277  df-1st 7825  df-2nd 7826  df-0g 17163  df-mgm 18337  df-sgrp 18386  df-mnd 18397  df-grp 18591  df-minusg 18592  df-sbg 18593
This theorem is referenced by:  dfgrp3e  18686
  Copyright terms: Public domain W3C validator