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

Theorem difin2 4263
Description: Represent a class difference as an intersection with a larger difference. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
difin2 (𝐴𝐶 → (𝐴𝐵) = ((𝐶𝐵) ∩ 𝐴))

Proof of Theorem difin2
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ssel 3958 . . . . 5 (𝐴𝐶 → (𝑥𝐴𝑥𝐶))
21pm4.71d 562 . . . 4 (𝐴𝐶 → (𝑥𝐴 ↔ (𝑥𝐴𝑥𝐶)))
32anbi1d 629 . . 3 (𝐴𝐶 → ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵)))
4 eldif 3943 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
5 elin 4166 . . . 4 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ (𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴))
6 eldif 3943 . . . . 5 (𝑥 ∈ (𝐶𝐵) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐵))
76anbi1i 623 . . . 4 ((𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴))
8 ancom 461 . . . . 5 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
9 anass 469 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
108, 9bitr4i 279 . . . 4 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
115, 7, 103bitri 298 . . 3 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
123, 4, 113bitr4g 315 . 2 (𝐴𝐶 → (𝑥 ∈ (𝐴𝐵) ↔ 𝑥 ∈ ((𝐶𝐵) ∩ 𝐴)))
1312eqrdv 2816 1 (𝐴𝐶 → (𝐴𝐵) = ((𝐶𝐵) ∩ 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1528  wcel 2105  cdif 3930  cin 3932  wss 3933
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 2790
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 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-v 3494  df-dif 3936  df-in 3940  df-ss 3949
This theorem is referenced by:  gsumdifsnd  19010  issubdrg  19489  restcld  21708  limcnlp  24403  symgcom2  30655  difelsiga  31291  sigapildsyslem  31319  ldgenpisyslem1  31321  difelcarsg2  31470  ballotlemfp1  31648  asindmre  34858  caragendifcl  42673  gsumdifsndf  43965
  Copyright terms: Public domain W3C validator