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

Theorem indifdir 3378
Description: Distribute intersection over difference. (Contributed by Scott Fenton, 14-Apr-2011.)
Assertion
Ref Expression
indifdir ((𝐴𝐵) ∩ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))

Proof of Theorem indifdir
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elin 3305 . . . 4 (𝑥 ∈ (𝐴𝐶) ↔ (𝑥𝐴𝑥𝐶))
2 elin 3305 . . . . 5 (𝑥 ∈ (𝐵𝐶) ↔ (𝑥𝐵𝑥𝐶))
32notbii 658 . . . 4 𝑥 ∈ (𝐵𝐶) ↔ ¬ (𝑥𝐵𝑥𝐶))
41, 3anbi12i 456 . . 3 ((𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
5 eldif 3125 . . 3 (𝑥 ∈ ((𝐴𝐶) ∖ (𝐵𝐶)) ↔ (𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)))
6 elin 3305 . . . . 5 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴𝐵) ∧ 𝑥𝐶))
7 eldif 3125 . . . . . 6 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
87anbi1i 454 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶))
96, 8bitri 183 . . . 4 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶))
10 an32 552 . . . . 5 (((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
11 simpl 108 . . . . . . . 8 ((𝑥𝐵𝑥𝐶) → 𝑥𝐵)
1211con3i 622 . . . . . . 7 𝑥𝐵 → ¬ (𝑥𝐵𝑥𝐶))
1312anim2i 340 . . . . . 6 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) → ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
14 simpl 108 . . . . . . 7 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → (𝑥𝐴𝑥𝐶))
15 ax-in2 605 . . . . . . . . . . 11 (¬ (𝑥𝐵𝑥𝐶) → ((𝑥𝐵𝑥𝐶) → ⊥))
1615expcomd 1429 . . . . . . . . . 10 (¬ (𝑥𝐵𝑥𝐶) → (𝑥𝐶 → (𝑥𝐵 → ⊥)))
1716impcom 124 . . . . . . . . 9 ((𝑥𝐶 ∧ ¬ (𝑥𝐵𝑥𝐶)) → (𝑥𝐵 → ⊥))
18 dfnot 1361 . . . . . . . . 9 𝑥𝐵 ↔ (𝑥𝐵 → ⊥))
1917, 18sylibr 133 . . . . . . . 8 ((𝑥𝐶 ∧ ¬ (𝑥𝐵𝑥𝐶)) → ¬ 𝑥𝐵)
2019adantll 468 . . . . . . 7 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → ¬ 𝑥𝐵)
2114, 20jca 304 . . . . . 6 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
2213, 21impbii 125 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
2310, 22bitri 183 . . . 4 (((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
249, 23bitri 183 . . 3 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
254, 5, 243bitr4ri 212 . 2 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ 𝑥 ∈ ((𝐴𝐶) ∖ (𝐵𝐶)))
2625eqriv 2162 1 ((𝐴𝐵) ∩ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103   = wceq 1343  wfal 1348  wcel 2136  cdif 3113  cin 3115
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-v 2728  df-dif 3118  df-in 3122
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator