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

Theorem dfdif2 3915
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 3909 . 2 (𝐴𝐵) = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
2 df-rab 3419 . 2 {𝑥𝐴 ∣ ¬ 𝑥𝐵} = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
31, 2eqtr4i 2791 1 (𝐴𝐵) = {𝑥𝐴 ∣ ¬ 𝑥𝐵}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wa 401   = wceq 1570  wcel 2146  {cab 2743  {crab 3418  cdif 3903
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-9 2156  ax-ext 2737
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-cleq 2757  df-rab 3419  df-dif 3909
This theorem is used by:  dfdif3  4073  difeq1  4074  difeq2  4075  difid  4332  ordintdif  6416  kmlem3  10152  incexc2  15915  cnambfre  38376  alephiso3  44343  sqrtcvallem1  44415
  Copyright terms: Public domain W3C validator