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

Theorem grpidinv 17522
 Description: A group has a left and right identity element, and every member has a left and right inverse. (Contributed by NM, 14-Oct-2006.) (Revised by AV, 1-Sep-2021.)
Hypotheses
Ref Expression
grpidinv.b 𝐵 = (Base‘𝐺)
grpidinv.p + = (+g𝐺)
Assertion
Ref Expression
grpidinv (𝐺 ∈ Grp → ∃𝑢𝐵𝑥𝐵 (((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢)))
Distinct variable groups:   𝑢,𝐺,𝑥,𝑦   𝑢,𝐵,𝑦   𝑢, + ,𝑦
Allowed substitution hints:   𝐵(𝑥)   + (𝑥)

Proof of Theorem grpidinv
StepHypRef Expression
1 grpidinv.b . . 3 𝐵 = (Base‘𝐺)
2 eqid 2651 . . 3 (0g𝐺) = (0g𝐺)
31, 2grpidcl 17497 . 2 (𝐺 ∈ Grp → (0g𝐺) ∈ 𝐵)
4 oveq1 6697 . . . . . . 7 (𝑢 = (0g𝐺) → (𝑢 + 𝑥) = ((0g𝐺) + 𝑥))
54eqeq1d 2653 . . . . . 6 (𝑢 = (0g𝐺) → ((𝑢 + 𝑥) = 𝑥 ↔ ((0g𝐺) + 𝑥) = 𝑥))
6 oveq2 6698 . . . . . . 7 (𝑢 = (0g𝐺) → (𝑥 + 𝑢) = (𝑥 + (0g𝐺)))
76eqeq1d 2653 . . . . . 6 (𝑢 = (0g𝐺) → ((𝑥 + 𝑢) = 𝑥 ↔ (𝑥 + (0g𝐺)) = 𝑥))
85, 7anbi12d 747 . . . . 5 (𝑢 = (0g𝐺) → (((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ↔ (((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥)))
9 eqeq2 2662 . . . . . . 7 (𝑢 = (0g𝐺) → ((𝑦 + 𝑥) = 𝑢 ↔ (𝑦 + 𝑥) = (0g𝐺)))
10 eqeq2 2662 . . . . . . 7 (𝑢 = (0g𝐺) → ((𝑥 + 𝑦) = 𝑢 ↔ (𝑥 + 𝑦) = (0g𝐺)))
119, 10anbi12d 747 . . . . . 6 (𝑢 = (0g𝐺) → (((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢) ↔ ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺))))
1211rexbidv 3081 . . . . 5 (𝑢 = (0g𝐺) → (∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢) ↔ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺))))
138, 12anbi12d 747 . . . 4 (𝑢 = (0g𝐺) → ((((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢)) ↔ ((((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺)))))
1413ralbidv 3015 . . 3 (𝑢 = (0g𝐺) → (∀𝑥𝐵 (((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢)) ↔ ∀𝑥𝐵 ((((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺)))))
1514adantl 481 . 2 ((𝐺 ∈ Grp ∧ 𝑢 = (0g𝐺)) → (∀𝑥𝐵 (((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢)) ↔ ∀𝑥𝐵 ((((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺)))))
16 grpidinv.p . . . 4 + = (+g𝐺)
171, 16, 2grpidinv2 17521 . . 3 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺))))
1817ralrimiva 2995 . 2 (𝐺 ∈ Grp → ∀𝑥𝐵 ((((0g𝐺) + 𝑥) = 𝑥 ∧ (𝑥 + (0g𝐺)) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = (0g𝐺) ∧ (𝑥 + 𝑦) = (0g𝐺))))
193, 15, 18rspcedvd 3348 1 (𝐺 ∈ Grp → ∃𝑢𝐵𝑥𝐵 (((𝑢 + 𝑥) = 𝑥 ∧ (𝑥 + 𝑢) = 𝑥) ∧ ∃𝑦𝐵 ((𝑦 + 𝑥) = 𝑢 ∧ (𝑥 + 𝑦) = 𝑢)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 196   ∧ wa 383   = wceq 1523   ∈ wcel 2030  ∀wral 2941  ∃wrex 2942  ‘cfv 5926  (class class class)co 6690  Basecbs 15904  +gcplusg 15988  0gc0g 16147  Grpcgrp 17469 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-0g 16149  df-mgm 17289  df-sgrp 17331  df-mnd 17342  df-grp 17472  df-minusg 17473 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator