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

Theorem difdif 3698
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 583 . . 3 (𝑥𝐴 ↔ (𝑥𝐴 ∧ (𝑥𝐵𝑥𝐴)))
2 iman 439 . . . . 5 ((𝑥𝐵𝑥𝐴) ↔ ¬ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
3 eldif 3550 . . . . 5 (𝑥 ∈ (𝐵𝐴) ↔ (𝑥𝐵 ∧ ¬ 𝑥𝐴))
42, 3xchbinxr 324 . . . 4 ((𝑥𝐵𝑥𝐴) ↔ ¬ 𝑥 ∈ (𝐵𝐴))
54anbi2i 726 . . 3 ((𝑥𝐴 ∧ (𝑥𝐵𝑥𝐴)) ↔ (𝑥𝐴 ∧ ¬ 𝑥 ∈ (𝐵𝐴)))
61, 5bitr2i 264 . 2 ((𝑥𝐴 ∧ ¬ 𝑥 ∈ (𝐵𝐴)) ↔ 𝑥𝐴)
76difeqri 3692 1 (𝐴 ∖ (𝐵𝐴)) = 𝐴
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1475  wcel 1977  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-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-v 3175  df-dif 3543
This theorem is referenced by:  dif0  3904  undifabs  3997
  Copyright terms: Public domain W3C validator