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

Theorem indifdir 3337
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 3264 . . . 4 (𝑥 ∈ (𝐴𝐶) ↔ (𝑥𝐴𝑥𝐶))
2 elin 3264 . . . . 5 (𝑥 ∈ (𝐵𝐶) ↔ (𝑥𝐵𝑥𝐶))
32notbii 658 . . . 4 𝑥 ∈ (𝐵𝐶) ↔ ¬ (𝑥𝐵𝑥𝐶))
41, 3anbi12i 456 . . 3 ((𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)) ↔ ((𝑥𝐴𝑥𝐶) ∧ ¬ (𝑥𝐵𝑥𝐶)))
5 eldif 3085 . . 3 (𝑥 ∈ ((𝐴𝐶) ∖ (𝐵𝐶)) ↔ (𝑥 ∈ (𝐴𝐶) ∧ ¬ 𝑥 ∈ (𝐵𝐶)))
6 elin 3264 . . . . 5 (𝑥 ∈ ((𝐴𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴𝐵) ∧ 𝑥𝐶))
7 eldif 3085 . . . . . 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 1418 . . . . . . . . . 10 (¬ (𝑥𝐵𝑥𝐶) → (𝑥𝐶 → (𝑥𝐵 → ⊥)))
1716impcom 124 . . . . . . . . 9 ((𝑥𝐶 ∧ ¬ (𝑥𝐵𝑥𝐶)) → (𝑥𝐵 → ⊥))
18 dfnot 1350 . . . . . . . . 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 2137 1 ((𝐴𝐵) ∩ 𝐶) = ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103   = wceq 1332  wfal 1337  wcel 1481  cdif 3073  cin 3075
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-fal 1338  df-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-v 2691  df-dif 3078  df-in 3082
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator