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

Theorem difeqri 4025
Description: Inference from membership to difference. (Contributed by NM, 17-May-1998.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Hypothesis
Ref Expression
difeqri.1 ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ 𝑥𝐶)
Assertion
Ref Expression
difeqri (𝐴𝐵) = 𝐶
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶

Proof of Theorem difeqri
StepHypRef Expression
1 eldif 3863 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
2 difeqri.1 . . 3 ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ 𝑥𝐶)
31, 2bitri 278 . 2 (𝑥 ∈ (𝐴𝐵) ↔ 𝑥𝐶)
43eqriv 2733 1 (𝐴𝐵) = 𝐶
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 209  wa 399   = wceq 1543  wcel 2112  cdif 3850
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1546  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-v 3400  df-dif 3856
This theorem is referenced by:  difdif  4031  ddif  4037  dfss4  4159  difin  4162  difab  4201
  Copyright terms: Public domain W3C validator