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

Theorem dfdif2 3958
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 3952 . 2 (𝐴𝐵) = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
2 df-rab 3434 . 2 {𝑥𝐴 ∣ ¬ 𝑥𝐵} = {𝑥 ∣ (𝑥𝐴 ∧ ¬ 𝑥𝐵)}
31, 2eqtr4i 2764 1 (𝐴𝐵) = {𝑥𝐴 ∣ ¬ 𝑥𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 397   = wceq 1542  wcel 2107  {cab 2710  {crab 3433  cdif 3946
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-9 2117  ax-ext 2704
This theorem depends on definitions:  df-bi 206  df-an 398  df-ex 1783  df-cleq 2725  df-rab 3434  df-dif 3952
This theorem is referenced by:  dfdif3  4115  difeq1  4116  difeq2  4117  nfdif  4126  difid  4371  ordintdif  6415  kmlem3  10147  incexc2  15784  cnambfre  36536  alephiso3  42310  sqrtcvallem1  42382
  Copyright terms: Public domain W3C validator