ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  grpridd GIF version

Theorem grpridd 5975
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
grprinvlem.c ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
grprinvlem.o (𝜑𝑂𝐵)
grprinvlem.i ((𝜑𝑥𝐵) → (𝑂 + 𝑥) = 𝑥)
grprinvlem.a ((𝜑 ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
grprinvlem.n ((𝜑𝑥𝐵) → ∃𝑦𝐵 (𝑦 + 𝑥) = 𝑂)
Assertion
Ref Expression
grpridd ((𝜑𝑥𝐵) → (𝑥 + 𝑂) = 𝑥)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐵   𝑥,𝑂,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥, + ,𝑦,𝑧

Proof of Theorem grpridd
Dummy variables 𝑢 𝑛 𝑣 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 grprinvlem.n . . . 4 ((𝜑𝑥𝐵) → ∃𝑦𝐵 (𝑦 + 𝑥) = 𝑂)
2 oveq1 5789 . . . . . 6 (𝑦 = 𝑛 → (𝑦 + 𝑥) = (𝑛 + 𝑥))
32eqeq1d 2149 . . . . 5 (𝑦 = 𝑛 → ((𝑦 + 𝑥) = 𝑂 ↔ (𝑛 + 𝑥) = 𝑂))
43cbvrexv 2658 . . . 4 (∃𝑦𝐵 (𝑦 + 𝑥) = 𝑂 ↔ ∃𝑛𝐵 (𝑛 + 𝑥) = 𝑂)
51, 4sylib 121 . . 3 ((𝜑𝑥𝐵) → ∃𝑛𝐵 (𝑛 + 𝑥) = 𝑂)
6 grprinvlem.a . . . . . . . 8 ((𝜑 ∧ (𝑥𝐵𝑦𝐵𝑧𝐵)) → ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)))
76caovassg 5937 . . . . . . 7 ((𝜑 ∧ (𝑢𝐵𝑣𝐵𝑤𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
87adantlr 469 . . . . . 6 (((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) ∧ (𝑢𝐵𝑣𝐵𝑤𝐵)) → ((𝑢 + 𝑣) + 𝑤) = (𝑢 + (𝑣 + 𝑤)))
9 simprl 521 . . . . . 6 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑥𝐵)
10 simprrl 529 . . . . . 6 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → 𝑛𝐵)
118, 9, 10, 9caovassd 5938 . . . . 5 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑥 + (𝑛 + 𝑥)))
12 grprinvlem.c . . . . . . 7 ((𝜑𝑥𝐵𝑦𝐵) → (𝑥 + 𝑦) ∈ 𝐵)
13 grprinvlem.o . . . . . . 7 (𝜑𝑂𝐵)
14 grprinvlem.i . . . . . . 7 ((𝜑𝑥𝐵) → (𝑂 + 𝑥) = 𝑥)
15 simprrr 530 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑛 + 𝑥) = 𝑂)
1612, 13, 14, 6, 1, 9, 10, 15grprinvd 5974 . . . . . 6 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + 𝑛) = 𝑂)
1716oveq1d 5797 . . . . 5 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → ((𝑥 + 𝑛) + 𝑥) = (𝑂 + 𝑥))
1815oveq2d 5798 . . . . 5 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑥 + (𝑛 + 𝑥)) = (𝑥 + 𝑂))
1911, 17, 183eqtr3d 2181 . . . 4 ((𝜑 ∧ (𝑥𝐵 ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂))) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2019anassrs 398 . . 3 (((𝜑𝑥𝐵) ∧ (𝑛𝐵 ∧ (𝑛 + 𝑥) = 𝑂)) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
215, 20rexlimddv 2557 . 2 ((𝜑𝑥𝐵) → (𝑂 + 𝑥) = (𝑥 + 𝑂))
2221, 14eqtr3d 2175 1 ((𝜑𝑥𝐵) → (𝑥 + 𝑂) = 𝑥)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 963   = wceq 1332  wcel 1481  wrex 2418  (class class class)co 5782
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-un 3080  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-br 3938  df-iota 5096  df-fv 5139  df-ov 5785
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator