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

Theorem indifdir 3332
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 3259 . . . 4 (𝑥 ∈ (𝐴𝐶) ↔ (𝑥𝐴𝑥𝐶))
2 elin 3259 . . . . 5 (𝑥 ∈ (𝐵𝐶) ↔ (𝑥𝐵𝑥𝐶))
32notbii 657 . . . 4 𝑥 ∈ (𝐵𝐶) ↔ ¬ (𝑥𝐵𝑥𝐶))
41, 3anbi12i 455 . . 3 ((𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
5 eldif 3080 . . 3 (𝑥 ∈ ((𝐴𝐶) ∖ (𝐵𝐶)) ↔ (𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)))
6 elin 3259 . . . . 5 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴𝐵) ∧ 𝑥𝐶))
7 eldif 3080 . . . . . 6 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴 ∧ ¬ 𝑥𝐵))
87anbi1i 453 . . . . 5 ((𝑥 ∈ (𝐴𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶))
96, 8bitri 183 . . . 4 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ ((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶))
10 an32 551 . . . . 5 (((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
11 simpl 108 . . . . . . . 8 ((𝑥𝐵𝑥𝐶) → 𝑥𝐵)
1211con3i 621 . . . . . . 7 𝑥𝐵 → ¬ (𝑥𝐵𝑥𝐶))
1312anim2i 339 . . . . . 6 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) → ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
14 simpl 108 . . . . . . 7 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → (𝑥𝐴𝑥𝐶))
15 ax-in2 604 . . . . . . . . . . 11 (¬ (𝑥𝐵𝑥𝐶) → ((𝑥𝐵𝑥𝐶) → ⊥))
1615expcomd 1417 . . . . . . . . . 10 (¬ (𝑥𝐵𝑥𝐶) → (𝑥𝐶 → (𝑥𝐵 → ⊥)))
1716impcom 124 . . . . . . . . 9 ((𝑥𝐶 ∧ ¬ (𝑥𝐵𝑥𝐶)) → (𝑥𝐵 → ⊥))
18 dfnot 1349 . . . . . . . . 9 𝑥𝐵 ↔ (𝑥𝐵 → ⊥))
1917, 18sylibr 133 . . . . . . . 8 ((𝑥𝐶 ∧ ¬ (𝑥𝐵𝑥𝐶)) → ¬ 𝑥𝐵)
2019adantll 467 . . . . . . 7 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → ¬ 𝑥𝐵)
2114, 20jca 304 . . . . . 6 (((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)) → ((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵))
2213, 21impbii 125 . . . . 5 (((𝑥𝐴𝑥𝐶) ∧ ¬ 𝑥𝐵) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
2310, 22bitri 183 . . . 4 (((𝑥𝐴 ∧ ¬ 𝑥𝐵) ∧ 𝑥𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
249, 23bitri 183 . . 3 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
254, 5, 243bitr4ri 212 . 2 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ 𝑥 ∈ ((𝐴𝐶) ∖ (𝐵𝐶)))
2625eqriv 2136 1 ((𝐴𝐵) ∩ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103   = wceq 1331  wfal 1336  wcel 1480  cdif 3068  cin 3070
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 2121
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-v 2688  df-dif 3073  df-in 3077
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator