Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eqelbid Structured version   Visualization version   GIF version

Theorem eqelbid 33071
Description: A variable elimination law for equality within a given set 𝐴. See equvel 2485. (Contributed by Thierry Arnoux, 20-Feb-2025.)
Hypotheses
Ref Expression
eqelbid.1 (𝜑 → 𝐵 ∈ 𝐴)
eqelbid.2 (𝜑 → 𝐶 ∈ 𝐴)
Assertion
Ref Expression
eqelbid (𝜑 → (∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶) ↔ 𝐵 = 𝐶))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝜑,𝑥

Proof of Theorem eqelbid
StepHypRef Expression
1 eqeq1 2764 . . . . 5 (𝑥 = 𝐵 → (𝑥 = 𝐵 ↔ 𝐵 = 𝐵))
2 eqeq1 2764 . . . . 5 (𝑥 = 𝐵 → (𝑥 = 𝐶 ↔ 𝐵 = 𝐶))
31, 2bibi12d 348 . . . 4 (𝑥 = 𝐵 → ((𝑥 = 𝐵 ↔ 𝑥 = 𝐶) ↔ (𝐵 = 𝐵 ↔ 𝐵 = 𝐶)))
4 eqid 2760 . . . . . 6 𝐵 = 𝐵
54tbt 372 . . . . 5 (𝐵 = 𝐶 ↔ (𝐵 = 𝐶 ↔ 𝐵 = 𝐵))
6 bicom 225 . . . . 5 ((𝐵 = 𝐶 ↔ 𝐵 = 𝐵) ↔ (𝐵 = 𝐵 ↔ 𝐵 = 𝐶))
75, 6bitri 278 . . . 4 (𝐵 = 𝐶 ↔ (𝐵 = 𝐵 ↔ 𝐵 = 𝐶))
83, 7bitr4di 292 . . 3 (𝑥 = 𝐵 → ((𝑥 = 𝐵 ↔ 𝑥 = 𝐶) ↔ 𝐵 = 𝐶))
9 simpr 490 . . 3 ((𝜑 ∧ ∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶)) → ∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶))
10 eqelbid.1 . . . 4 (𝜑 → 𝐵 ∈ 𝐴)
1110adantr 486 . . 3 ((𝜑 ∧ ∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶)) → 𝐵 ∈ 𝐴)
128, 9, 11rspcdva 3577 . 2 ((𝜑 ∧ ∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶)) → 𝐵 = 𝐶)
13 simplr 781 . . . 4 (((𝜑 ∧ 𝐵 = 𝐶) ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐶)
1413eqeq2d 2771 . . 3 (((𝜑 ∧ 𝐵 = 𝐶) ∧ 𝑥 ∈ 𝐴) → (𝑥 = 𝐵 ↔ 𝑥 = 𝐶))
1514ralrimiva 3154 . 2 ((𝜑 ∧ 𝐵 = 𝐶) → ∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶))
1612, 15impbida 813 1 (𝜑 → (∀𝑥 ∈ 𝐴 (𝑥 = 𝐵 ↔ 𝑥 = 𝐶) ↔ 𝐵 = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077
This theorem is used by:  ply1moneq  34120
  Copyright terms: Public domain W3C validator