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

Theorem difjust 3542
Description: Soundness justification theorem for df-dif 3543. (Contributed by Rodolfo Medina, 27-Apr-2010.) (Proof shortened by Andrew Salmon, 9-Jul-2011.)
Assertion
Ref Expression
difjust {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)} = {𝑦 ∣ (𝑦𝐴 ∧ ¬ 𝑦𝐵)}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑦,𝐴   𝑦,𝐵

Proof of Theorem difjust
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eleq1 2676 . . . 4 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
2 eleq1 2676 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐵𝑧𝐵))
32notbid 307 . . . 4 (𝑥 = 𝑧 → (¬ 𝑥𝐵 ↔ ¬ 𝑧𝐵))
41, 3anbi12d 743 . . 3 (𝑥 = 𝑧 → ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ (𝑧𝐴 ∧ ¬ 𝑧𝐵)))
54cbvabv 2734 . 2 {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)} = {𝑧 ∣ (𝑧𝐴 ∧ ¬ 𝑧𝐵)}
6 eleq1 2676 . . . 4 (𝑧 = 𝑦 → (𝑧𝐴𝑦𝐴))
7 eleq1 2676 . . . . 5 (𝑧 = 𝑦 → (𝑧𝐵𝑦𝐵))
87notbid 307 . . . 4 (𝑧 = 𝑦 → (¬ 𝑧𝐵 ↔ ¬ 𝑦𝐵))
96, 8anbi12d 743 . . 3 (𝑧 = 𝑦 → ((𝑧𝐴 ∧ ¬ 𝑧𝐵) ↔ (𝑦𝐴 ∧ ¬ 𝑦𝐵)))
109cbvabv 2734 . 2 {𝑧 ∣ (𝑧𝐴 ∧ ¬ 𝑧𝐵)} = {𝑦 ∣ (𝑦𝐴 ∧ ¬ 𝑦𝐵)}
115, 10eqtri 2632 1 {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)} = {𝑦 ∣ (𝑦𝐴 ∧ ¬ 𝑦𝐵)}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383   = wceq 1475  wcel 1977  {cab 2596
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator