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

Theorem indifdir 3487
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 3412 . . . 4 (𝑥 ∈ (𝐴 ∩ 𝐶) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶))
2 elin 3412 . . . . 5 (𝑥 ∈ (𝐵 ∩ 𝐶) ↔ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
32notbii 678 . . . 4 (¬ 𝑥 ∈ (𝐵 ∩ 𝐶) ↔ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
41, 3anbi12i 464 . . 3 ((𝑥 ∈ (𝐴 ∩ 𝐶) ∧ ¬ 𝑥 ∈ (𝐵 ∩ 𝐶)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
5 eldif 3229 . . 3 (𝑥 ∈ ((𝐴 ∩ 𝐶) ∖ (𝐵 ∩ 𝐶)) ↔ (𝑥 ∈ (𝐴 ∩ 𝐶) ∧ ¬ 𝑥 ∈ (𝐵 ∩ 𝐶)))
6 elin 3412 . . . . 5 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ (𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ∈ 𝐶))
7 eldif 3229 . . . . . 6 (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵))
87anbi1i 462 . . . . 5 ((𝑥 ∈ (𝐴 ∖ 𝐵) ∧ 𝑥 ∈ 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐶))
96, 8bitri 184 . . . 4 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐶))
10 an32 568 . . . . 5 (((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ 𝑥 ∈ 𝐵))
11 simpl 109 . . . . . . . 8 ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → 𝑥 ∈ 𝐵)
1211con3i 641 . . . . . . 7 (¬ 𝑥 ∈ 𝐵 → ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶))
1312anim2i 342 . . . . . 6 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ 𝑥 ∈ 𝐵) → ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
14 simpl 109 . . . . . . 7 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) → (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶))
15 ax-in2 624 . . . . . . . . . . 11 (¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → ((𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → ⊥))
1615expcomd 1491 . . . . . . . . . 10 (¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶) → (𝑥 ∈ 𝐶 → (𝑥 ∈ 𝐵 → ⊥)))
1716impcom 125 . . . . . . . . 9 ((𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) → (𝑥 ∈ 𝐵 → ⊥))
18 dfnot 1420 . . . . . . . . 9 (¬ 𝑥 ∈ 𝐵 ↔ (𝑥 ∈ 𝐵 → ⊥))
1917, 18sylibr 134 . . . . . . . 8 ((𝑥 ∈ 𝐶 ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) → ¬ 𝑥 ∈ 𝐵)
2019adantll 480 . . . . . . 7 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) → ¬ 𝑥 ∈ 𝐵)
2114, 20jca 306 . . . . . 6 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)) → ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ 𝑥 ∈ 𝐵))
2213, 21impbii 126 . . . . 5 (((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ 𝑥 ∈ 𝐵) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
2310, 22bitri 184 . . . 4 (((𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵) ∧ 𝑥 ∈ 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
249, 23bitri 184 . . 3 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐶) ∧ ¬ (𝑥 ∈ 𝐵 ∧ 𝑥 ∈ 𝐶)))
254, 5, 243bitr4ri 213 . 2 (𝑥 ∈ ((𝐴 ∖ 𝐵) ∩ 𝐶) ↔ 𝑥 ∈ ((𝐴 ∩ 𝐶) ∖ (𝐵 ∩ 𝐶)))
2625eqriv 2235 1 ((𝐴 ∖ 𝐵) ∩ 𝐶) = ((𝐴 ∩ 𝐶) ∖ (𝐵 ∩ 𝐶))
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 104   = wceq 1402  ⊥wfal 1407   ∈ wcel 2209   ∖ cdif 3217   ∩ cin 3219
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-v 2823  df-dif 3222  df-in 3226
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator