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

Theorem lidrideqd 18268
Description: If there is a left and right identity element for any binary operation (group operation) +, both identity elements are equal. Generalization of statement in [Lang] p. 3: it is sufficient that "e" is a left identity element and "e`" is a right identity element instead of both being (two-sided) identity elements. (Contributed by AV, 26-Dec-2023.)
Hypotheses
Ref Expression
lidrideqd.l (𝜑𝐿𝐵)
lidrideqd.r (𝜑𝑅𝐵)
lidrideqd.li (𝜑 → ∀𝑥𝐵 (𝐿 + 𝑥) = 𝑥)
lidrideqd.ri (𝜑 → ∀𝑥𝐵 (𝑥 + 𝑅) = 𝑥)
Assertion
Ref Expression
lidrideqd (𝜑𝐿 = 𝑅)
Distinct variable groups:   𝑥,𝐵   𝑥,𝐿   𝑥,𝑅   𝑥, +
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem lidrideqd
StepHypRef Expression
1 oveq1 7262 . . . 4 (𝑥 = 𝐿 → (𝑥 + 𝑅) = (𝐿 + 𝑅))
2 id 22 . . . 4 (𝑥 = 𝐿𝑥 = 𝐿)
31, 2eqeq12d 2754 . . 3 (𝑥 = 𝐿 → ((𝑥 + 𝑅) = 𝑥 ↔ (𝐿 + 𝑅) = 𝐿))
4 lidrideqd.ri . . 3 (𝜑 → ∀𝑥𝐵 (𝑥 + 𝑅) = 𝑥)
5 lidrideqd.l . . 3 (𝜑𝐿𝐵)
63, 4, 5rspcdva 3554 . 2 (𝜑 → (𝐿 + 𝑅) = 𝐿)
7 oveq2 7263 . . . 4 (𝑥 = 𝑅 → (𝐿 + 𝑥) = (𝐿 + 𝑅))
8 id 22 . . . 4 (𝑥 = 𝑅𝑥 = 𝑅)
97, 8eqeq12d 2754 . . 3 (𝑥 = 𝑅 → ((𝐿 + 𝑥) = 𝑥 ↔ (𝐿 + 𝑅) = 𝑅))
10 lidrideqd.li . . 3 (𝜑 → ∀𝑥𝐵 (𝐿 + 𝑥) = 𝑥)
11 lidrideqd.r . . 3 (𝜑𝑅𝐵)
129, 10, 11rspcdva 3554 . 2 (𝜑 → (𝐿 + 𝑅) = 𝑅)
136, 12eqtr3d 2780 1 (𝜑𝐿 = 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2108  wral 3063  (class class class)co 7255
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-iota 6376  df-fv 6426  df-ov 7258
This theorem is referenced by:  lidrididd  18269
  Copyright terms: Public domain W3C validator