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

Theorem difin2 3344
 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 3097 . . . . 5 (𝐴𝐶 → (𝑥𝐴𝑥𝐶))
21pm4.71d 391 . . . 4 (𝐴𝐶 → (𝑥𝐴 ↔ (𝑥𝐴𝑥𝐶)))
32anbi1d 461 . . 3 (𝐴𝐶 → ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵)))
4 eldif 3086 . . 3 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
5 elin 3265 . . . 4 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ (𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴))
6 eldif 3086 . . . . 5 (𝑥 ∈ (𝐶𝐵) ↔ (𝑥𝐶 ∧ ¬ 𝑥𝐵))
76anbi1i 454 . . . 4 ((𝑥 ∈ (𝐶𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴))
8 ancom 264 . . . . 5 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
9 anass 399 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ (𝑥𝐴 ∧ (𝑥𝐶 ∧ ¬ 𝑥𝐵)))
108, 9bitr4i 186 . . . 4 (((𝑥𝐶 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
115, 7, 103bitri 205 . . 3 (𝑥 ∈ ((𝐶𝐵) ∩ 𝐴) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
123, 4, 113bitr4g 222 . 2 (𝐴𝐶 → (𝑥 ∈ (𝐴𝐵) ↔ 𝑥 ∈ ((𝐶𝐵) ∩ 𝐴)))
1312eqrdv 2138 1 (𝐴𝐶 → (𝐴𝐵) = ((𝐶𝐵) ∩ 𝐴))
 Colors of variables: wff set class Syntax hints:  ¬ wn 3   → wi 4   ∧ wa 103   = wceq 1332   ∈ wcel 1481   ∖ cdif 3074   ∩ cin 3076   ⊆ wss 3077 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 604  ax-in2 605  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122 This theorem depends on definitions:  df-bi 116  df-tru 1335  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-v 2692  df-dif 3079  df-in 3083  df-ss 3090 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator