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

Theorem difdifdirss 3452
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 3344 . . . . 5 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∖ 𝐵)
2 invdif 3323 . . . . 5 ((𝐴𝐶) ∩ (V ∖ 𝐵)) = ((𝐴𝐶) ∖ 𝐵)
31, 2eqtr4i 2164 . . . 4 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∩ (V ∖ 𝐵))
4 un0 3401 . . . 4 (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅) = ((𝐴𝐶) ∩ (V ∖ 𝐵))
53, 4eqtr4i 2164 . . 3 ((𝐴𝐵) ∖ 𝐶) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅)
6 indi 3328 . . . 4 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ((𝐴𝐶) ∩ 𝐶))
7 disjdif 3440 . . . . . 6 (𝐶 ∩ (𝐴𝐶)) = ∅
8 incom 3273 . . . . . 6 (𝐶 ∩ (𝐴𝐶)) = ((𝐴𝐶) ∩ 𝐶)
97, 8eqtr3i 2163 . . . . 5 ∅ = ((𝐴𝐶) ∩ 𝐶)
109uneq2i 3232 . . . 4 (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ((𝐴𝐶) ∩ 𝐶))
116, 10eqtr4i 2164 . . 3 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) = (((𝐴𝐶) ∩ (V ∖ 𝐵)) ∪ ∅)
125, 11eqtr4i 2164 . 2 ((𝐴𝐵) ∖ 𝐶) = ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶))
13 ddifss 3319 . . . . . 6 𝐶 ⊆ (V ∖ (V ∖ 𝐶))
14 unss2 3252 . . . . . 6 (𝐶 ⊆ (V ∖ (V ∖ 𝐶)) → ((V ∖ 𝐵) ∪ 𝐶) ⊆ ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))))
1513, 14ax-mp 5 . . . . 5 ((V ∖ 𝐵) ∪ 𝐶) ⊆ ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶)))
16 indmss 3340 . . . . . 6 ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))) ⊆ (V ∖ (𝐵 ∩ (V ∖ 𝐶)))
17 invdif 3323 . . . . . . 7 (𝐵 ∩ (V ∖ 𝐶)) = (𝐵𝐶)
1817difeq2i 3196 . . . . . 6 (V ∖ (𝐵 ∩ (V ∖ 𝐶))) = (V ∖ (𝐵𝐶))
1916, 18sseqtri 3136 . . . . 5 ((V ∖ 𝐵) ∪ (V ∖ (V ∖ 𝐶))) ⊆ (V ∖ (𝐵𝐶))
2015, 19sstri 3111 . . . 4 ((V ∖ 𝐵) ∪ 𝐶) ⊆ (V ∖ (𝐵𝐶))
21 sslin 3307 . . . 4 (((V ∖ 𝐵) ∪ 𝐶) ⊆ (V ∖ (𝐵𝐶)) → ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶))))
2220, 21ax-mp 5 . . 3 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶)))
23 invdif 3323 . . 3 ((𝐴𝐶) ∩ (V ∖ (𝐵𝐶))) = ((𝐴𝐶) ∖ (𝐵𝐶))
2422, 23sseqtri 3136 . 2 ((𝐴𝐶) ∩ ((V ∖ 𝐵) ∪ 𝐶)) ⊆ ((𝐴𝐶) ∖ (𝐵𝐶))
2512, 24eqsstri 3134 1 ((𝐴𝐵) ∖ 𝐶) ⊆ ((𝐴𝐶) ∖ (𝐵𝐶))
Colors of variables: wff set class
Syntax hints:  Vcvv 2689  cdif 3073  cun 3074  cin 3075  wss 3076  c0 3368
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-nf 1438  df-sb 1737  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rab 2426  df-v 2691  df-dif 3078  df-un 3080  df-in 3082  df-ss 3089  df-nul 3369
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator