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

Theorem difdif 4106
Description: Double class difference. Exercise 11 of [TakeutiZaring] p. 22. (Contributed by NM, 17-May-1998.)
Assertion
Ref Expression
difdif (𝐴 ∖ (𝐵𝐴)) = 𝐴

Proof of Theorem difdif
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 pm4.45im 823 . . 3 (𝑥𝐴 ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐴)))
2 iman 402 . . . . 5 ((𝑥𝐵𝑥𝐴) ↔ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
3 eldif 3945 . . . . 5 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
42, 3xchbinxr 336 . . . 4 ((𝑥𝐵𝑥𝐴) ↔ ¬ 𝑥 ∈ (𝐵𝐴))
54anbi2i 622 . . 3 ((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐴)) ↔ (𝑥𝐴 ∧ ¬ 𝑥 ∈ (𝐵𝐴)))
61, 5bitr2i 277 . 2 ((𝑥𝐴 ∧ ¬ 𝑥 ∈ (𝐵𝐴)) ↔ 𝑥𝐴)
76difeqri 4100 1 (𝐴 ∖ (𝐵𝐴)) = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1528  wcel 2105  cdif 3932
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2793
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3497  df-dif 3938
This theorem is referenced by:  dif0  4331  undifabs  4424
  Copyright terms: Public domain W3C validator