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

Theorem grprida 18836
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 7419 . . . . . 6 (𝑦 = 𝑛 → (𝑦 + 𝑥) = (𝑛 + 𝑥))
32eqeq1d 2763 . . . . 5 (𝑦 = 𝑛 → ((𝑦 + 𝑥) = 𝑂 ↔ (𝑛 + 𝑥) = 𝑂))
43cbvrexvw 3242 . . . 4 (∃𝑦 ∈ 𝐵 (𝑦 + 𝑥) = 𝑂 ↔ ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
51, 4sylib 221 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐵) → ∃𝑛 ∈ 𝐵 (𝑛 + 𝑥) = 𝑂)
6 grpinva.a . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵 ∧ 𝑧 ∈ 𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
76caovassg 7611 . . . . . . 7 ((𝜑 ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
87adantlr 728 . . . . . 6 (((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) ∧ (𝑢 ∈ 𝐵 ∧ 𝑣 ∈ 𝐵 ∧ 𝑤 ∈ 𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
9 simprl 783 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑥 ∈ 𝐵)
10 simprrl 793 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑛 ∈ 𝐵)
118, 9, 10, 9caovassd 7612 . . . . 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 18835 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + 𝑛) = 𝑂)
1716oveq1d 7427 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑂 + 𝑥))
1815oveq2d 7428 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + (𝑛 + 𝑥)) = (𝑥 + 𝑂))
1911, 17, 183eqtr3d 2804 . . . 4 ((𝜑 ∧ (𝑥 ∈ 𝐵 ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2019anassrs 473 . . 3 (((𝜑 ∧ 𝑥 ∈ 𝐵) ∧ (𝑛 ∈ 𝐵 ∧ (𝑛 + 𝑥) = 𝑂)) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
215, 20rexlimddv 3170 . 2 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2221, 14eqtr3d 2798 1 ((𝜑 ∧ 𝑥 ∈ 𝐵) → (𝑥 + 𝑂) = 𝑥)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  (class class class)co 7412
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-iota 6487  df-fv 6539  df-ov 7415
This theorem is used by:  isgrpde  19148
  Copyright terms: Public domain W3C validator