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 32791
Description: A variable elimination law for equality within a given set 𝐴. See equvel 2495. (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 2774 . . . . 5 (𝑥 = 𝐵 → (𝑥 = 𝐵𝐵 = 𝐵))
2 eqeq1 2774 . . . . 5 (𝑥 = 𝐵 → (𝑥 = 𝐶𝐵 = 𝐶))
31, 2bibi12d 348 . . . 4 (𝑥 = 𝐵 → ((𝑥 = 𝐵𝑥 = 𝐶) ↔ (𝐵 = 𝐵𝐵 = 𝐶)))
4 eqid 2770 . . . . . 6 𝐵 = 𝐵
54tbt 372 . . . . 5 (𝐵 = 𝐶 ↔ (𝐵 = 𝐶𝐵 = 𝐵))
6 bicom 225 . . . . 5 ((𝐵 = 𝐶𝐵 = 𝐵) ↔ (𝐵 = 𝐵𝐵 = 𝐶))
75, 6bitri 278 . . . 4 (𝐵 = 𝐶 ↔ (𝐵 = 𝐵𝐵 = 𝐶))
83, 7bitr4di 292 . . 3 (𝑥 = 𝐵 → ((𝑥 = 𝐵𝑥 = 𝐶) ↔ 𝐵 = 𝐶))
9 simpr 489 . . 3 ((𝜑 ∧ ∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶)) → ∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶))
10 eqelbid.1 . . . 4 (𝜑𝐵𝐴)
1110adantr 485 . . 3 ((𝜑 ∧ ∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶)) → 𝐵𝐴)
128, 9, 11rspcdva 3590 . 2 ((𝜑 ∧ ∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶)) → 𝐵 = 𝐶)
13 simplr 780 . . . 4 (((𝜑𝐵 = 𝐶) ∧ 𝑥𝐴) → 𝐵 = 𝐶)
1413eqeq2d 2781 . . 3 (((𝜑𝐵 = 𝐶) ∧ 𝑥𝐴) → (𝑥 = 𝐵𝑥 = 𝐶))
1514ralrimiva 3164 . 2 ((𝜑𝐵 = 𝐶) → ∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶))
1612, 15impbida 812 1 (𝜑 → (∀𝑥𝐴 (𝑥 = 𝐵𝑥 = 𝐶) ↔ 𝐵 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 400   = wceq 1568  wcel 2150  wral 3086
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2152  ax-9 2160  ax-ext 2742
This theorem depends on definitions:  df-bi 210  df-an 401  df-tru 1571  df-ex 1808  df-sb 2099  df-clab 2749  df-cleq 2762  df-clel 2845  df-ral 3087
This theorem is referenced by:  ply1moneq  33848
  Copyright terms: Public domain W3C validator