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

Theorem grprida 18923
Description: Deduce right identity from left inverse and left identity in an associative structure (such as a group). (Contributed by NM, 10-Aug-2013.) (Proof shortened by Mario Carneiro, 6-Jan-2015.)
Hypotheses
Ref Expression
grpinva.c ((𝜑 ∧ 𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
grpinva.o (𝜑 → 𝑂 ∈ 𝐵)
grpinva.i ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑂 + 𝑥) = 𝑥)
grpinva.a ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
grpinva.r ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐵 (𝑦 + 𝑥) = 𝑂)
Assertion
Ref Expression
grprida ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 𝑂) = 𝑥)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝑂,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥, + ,𝑦,𝑧

Proof of Theorem grprida
Dummy variables 𝑢 𝑛 𝑣 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grpinva.r . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑦 ∈ 𝐵 (𝑦 + 𝑥) = 𝑂)
2 oveq1 7468 . . . . . 6 (𝑦 = 𝑛 → (𝑦 + 𝑥) = (𝑛 + 𝑥))
32eqeq1d 2771 . . . . 5 (𝑦 = 𝑛 → ((𝑦 + 𝑥) = 𝑂 ↔ (𝑛 + 𝑥) = 𝑂))
43cbvrexvw 3248 . . . 4 (∃𝑦 ∈ 𝐵 (𝑦 + 𝑥) = 𝑂 ↔ ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
51, 4sylib 221 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
6 grpinva.a . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
76caovassg 7661 . . . . . . 7 ((𝜑 ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
87adantlr 728 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
9 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑥 ∈ 𝐵)
10 simprrl 793 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑛 ∈ 𝐵)
118, 9, 10, 9caovassd 7662 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑥 + (𝑛 + 𝑥)))
12 grpinva.c . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
13 grpinva.o . . . . . . 7 (𝜑 → 𝑂 ∈ 𝐵)
14 grpinva.i . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑂 + 𝑥) = 𝑥)
15 simprrr 794 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑛 + 𝑥) = 𝑂)
1612, 13, 14, 6, 1, 9, 10, 15grpinva 18922 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + 𝑛) = 𝑂)
1716oveq1d 7476 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑂 + 𝑥))
1815oveq2d 7477 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + (𝑛 + 𝑥)) = (𝑥 + 𝑂))
1911, 17, 183eqtr3d 2812 . . . 4 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2019anassrs 473 . . 3 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂)) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
215, 20rexlimddv 3179 . 2 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2221, 14eqtr3d 2806 1 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 𝑂) = 𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2151  ∃wrex 3096  (class class class)co 7461
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-iota 6527  df-fv 6581  df-ov 7464
This theorem is used by:  isgrpde  19235
  Copyright terms: Public domain W3C validator