ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  difin2 GIF version

Theorem difin2 3333
Description: Represent a set 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 3086 . . . . 5 (𝐴𝐶 → (𝑥𝐴𝑥𝐶))
21pm4.71d 390 . . . 4 (𝐴𝐶 → (𝑥𝐴 ↔ (𝑥𝐴𝑥𝐶)))
32anbi1d 460 . . 3 (𝐴𝐶 → ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵)))
4 eldif 3075 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
5 elin 3254 . . . 4 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ (𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴))
6 eldif 3075 . . . . 5 (𝑥 ∈ (𝐶𝐵) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐵))
76anbi1i 453 . . . 4 ((𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴))
8 ancom 264 . . . . 5 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
9 anass 398 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
108, 9bitr4i 186 . . . 4 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
115, 7, 103bitri 205 . . 3 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
123, 4, 113bitr4g 222 . 2 (𝐴𝐶 → (𝑥 ∈ (𝐴𝐵) ↔ 𝑥 ∈ ((𝐶𝐵) ∩ 𝐴)))
1312eqrdv 2135 1 (𝐴𝐶 → (𝐴𝐵) = ((𝐶𝐵) ∩ 𝐴))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103   = wceq 1331  wcel 1480  cdif 3063  cin 3065  wss 3066
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-v 2683  df-dif 3068  df-in 3072  df-ss 3079
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator