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

Theorem difin2 4266
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 3961 . . . . 5 (𝐴𝐶 → (𝑥𝐴𝑥𝐶))
21pm4.71d 564 . . . 4 (𝐴𝐶 → (𝑥𝐴 ↔ (𝑥𝐴𝑥𝐶)))
32anbi1d 631 . . 3 (𝐴𝐶 → ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵)))
4 eldif 3946 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
5 elin 4169 . . . 4 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ (𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴))
6 eldif 3946 . . . . 5 (𝑥 ∈ (𝐶𝐵) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐵))
76anbi1i 625 . . . 4 ((𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴))
8 ancom 463 . . . . 5 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
9 anass 471 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
108, 9bitr4i 280 . . . 4 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
115, 7, 103bitri 299 . . 3 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
123, 4, 113bitr4g 316 . 2 (𝐴𝐶 → (𝑥 ∈ (𝐴𝐵) ↔ 𝑥 ∈ ((𝐶𝐵) ∩ 𝐴)))
1312eqrdv 2819 1 (𝐴𝐶 → (𝐴𝐵) = ((𝐶𝐵) ∩ 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1537  wcel 2114  cdif 3933  cin 3935  wss 3936
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3496  df-dif 3939  df-in 3943  df-ss 3952
This theorem is referenced by:  gsumdifsnd  19081  issubdrg  19560  restcld  21780  limcnlp  24476  symgcom2  30728  difelsiga  31392  sigapildsyslem  31420  ldgenpisyslem1  31422  difelcarsg2  31571  ballotlemfp1  31749  asindmre  34992  caragendifcl  42816  gsumdifsndf  44108
  Copyright terms: Public domain W3C validator