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

Theorem grprida 18885
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 7450 . . . . . 6 (𝑦 = 𝑛 → (𝑦 + 𝑥) = (𝑛 + 𝑥))
32eqeq1d 2765 . . . . 5 (𝑦 = 𝑛 → ((𝑦 + 𝑥) = 𝑂 ↔ (𝑛 + 𝑥) = 𝑂))
43cbvrexvw 3245 . . . 4 (∃𝑦 ∈ 𝐵 (𝑦 + 𝑥) = 𝑂 ↔ ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
51, 4sylib 221 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
6 grpinva.a . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
76caovassg 7643 . . . . . . 7 ((𝜑 ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
87adantlr 728 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
9 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑥 ∈ 𝐵)
10 simprrl 793 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑛 ∈ 𝐵)
118, 9, 10, 9caovassd 7644 . . . . 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 18884 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + 𝑛) = 𝑂)
1716oveq1d 7458 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑂 + 𝑥))
1815oveq2d 7459 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + (𝑛 + 𝑥)) = (𝑥 + 𝑂))
1911, 17, 183eqtr3d 2806 . . . 4 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2019anassrs 473 . . 3 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂)) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
215, 20rexlimddv 3173 . 2 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2221, 14eqtr3d 2800 1 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 𝑂) = 𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  ∃wrex 3090  (class class class)co 7443
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-iota 6512  df-fv 6566  df-ov 7446
This theorem is used by:  isgrpde  19197
  Copyright terms: Public domain W3C validator