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

Theorem dfdif2 3549
Description: Alternate definition of class difference. (Contributed by NM, 25-Mar-2004.)
Assertion
Ref Expression
dfdif2 (𝐴𝐵) = {𝑥𝐴 ∣ ¬ 𝑥𝐵}
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem dfdif2
StepHypRef Expression
1 df-dif 3543 . 2 (𝐴𝐵) = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
2 df-rab 2905 . 2 {𝑥𝐴 ∣ ¬ 𝑥𝐵} = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
31, 2eqtr4i 2635 1 (𝐴𝐵) = {𝑥𝐴 ∣ ¬ 𝑥𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383   = wceq 1475  wcel 1977  {cab 2596  {crab 2900  cdif 3537
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-ext 2590
This theorem depends on definitions:  df-bi 196  df-cleq 2603  df-rab 2905  df-dif 3543
This theorem is referenced by:  difeq1  3683  difeq2  3684  nfdif  3693  difidALT  3903  ordintdif  5691  kmlem3  8857  incexc2  14409  cnambfre  32628
  Copyright terms: Public domain W3C validator