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

Theorem difdifdirss 3307
Description: Distributive law for class difference. In classical logic, as in Exercise 4.8 of [Stoll] p. 16, this would be equality rather than subset. (Contributed by Jim Kingdon, 4-Aug-2018.)
Assertion
Ref Expression
difdifdirss ((𝐴𝐵) ∖ 𝐶) ⊆ ((𝐴𝐶) ∖ (𝐵𝐶))

Proof of Theorem difdifdirss
StepHypRef Expression
1 dif32 3200 . . . . 5 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∖ 𝐵)
2 invdif 3179 . . . . 5 ((𝐴𝐶) ∩ (V ∖ 𝐵)) = ((𝐴𝐶) ∖ 𝐵)
31, 2eqtr4i 2063 . . . 4 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∩ (V ∖ 𝐵))
4 un0 3251 . . . 4 (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅) = ((𝐴𝐶) ∩ (V ∖ 𝐵))
53, 4eqtr4i 2063 . . 3 ((𝐴𝐵) ∖ 𝐶) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅)
6 indi 3184 . . . 4 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ((𝐴𝐶) ∩ 𝐶))
7 disjdif 3296 . . . . . 6 (𝐶 ∩ (𝐴𝐶)) = ∅
8 incom 3129 . . . . . 6 (𝐶 ∩ (𝐴𝐶)) = ((𝐴𝐶) ∩ 𝐶)
97, 8eqtr3i 2062 . . . . 5 ∅ = ((𝐴𝐶) ∩ 𝐶)
109uneq2i 3094 . . . 4 (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ((𝐴𝐶) ∩ 𝐶))
116, 10eqtr4i 2063 . . 3 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅)
125, 11eqtr4i 2063 . 2 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶))
13 ddifss 3175 . . . . . 6 𝐶 ⊆ (V ∖ (V ∖ 𝐶))
14 unss2 3114 . . . . . 6 (𝐶 ⊆ (V ∖ (V ∖ 𝐶)) → ((V ∖ 𝐵) ∪ 𝐶) ⊆ ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))))
1513, 14ax-mp 7 . . . . 5 ((V ∖ 𝐵) ∪ 𝐶) ⊆ ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶)))
16 indmss 3196 . . . . . 6 ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))) ⊆ (V ∖ (𝐵 ∩ (V ∖ 𝐶)))
17 invdif 3179 . . . . . . 7 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵𝐶)
1817difeq2i 3059 . . . . . 6 (V ∖ (𝐵 ∩ (V ∖ 𝐶))) = (V ∖ (𝐵𝐶))
1916, 18sseqtri 2977 . . . . 5 ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))) ⊆ (V ∖ (𝐵𝐶))
2015, 19sstri 2954 . . . 4 ((V ∖ 𝐵) ∪ 𝐶) ⊆ (V ∖ (𝐵𝐶))
21 sslin 3163 . . . 4 (((V ∖ 𝐵) ∪ 𝐶) ⊆ (V ∖ (𝐵𝐶)) → ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶))))
2220, 21ax-mp 7 . . 3 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶)))
23 invdif 3179 . . 3 ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶))) = ((𝐴𝐶) ∖ (𝐵𝐶))
2422, 23sseqtri 2977 . 2 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∖ (𝐵𝐶))
2512, 24eqsstri 2975 1 ((𝐴𝐵) ∖ 𝐶) ⊆ ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  Vcvv 2557  cdif 2914  cun 2915  cin 2916  wss 2917  c0 3224
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rab 2315  df-v 2559  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-nul 3225
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator