MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  psdmullem Structured version   Visualization version   GIF version

Theorem psdmullem 22466
Description: Lemma for psdmul 22467. Transitive law for union of class difference. (Contributed by SN, 5-May-2025.)
Hypotheses
Ref Expression
psdmullem.cb (𝜑 → 𝐶 ⊆ 𝐵)
psdmullem.ba (𝜑 → 𝐵 ⊆ 𝐴)
Assertion
Ref Expression
psdmullem (𝜑 → ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐶)) = (𝐴 ∖ 𝐶))

Proof of Theorem psdmullem
StepHypRef Expression
1 undif3 4246 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐶)) = (((𝐴 ∖ 𝐵) ∪ 𝐵) ∖ (𝐶 ∖ (𝐴 ∖ 𝐵)))
2 psdmullem.ba . . . 4 (𝜑 → 𝐵 ⊆ 𝐴)
3 undifr 4439 . . . 4 (𝐵 ⊆ 𝐴 ↔ ((𝐴 ∖ 𝐵) ∪ 𝐵) = 𝐴)
42, 3sylib 221 . . 3 (𝜑 → ((𝐴 ∖ 𝐵) ∪ 𝐵) = 𝐴)
5 difdif2 4242 . . . 4 (𝐶 ∖ (𝐴 ∖ 𝐵)) = ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵))
6 psdmullem.cb . . . . . . . 8 (𝜑 → 𝐶 ⊆ 𝐵)
76, 2sstrd 3941 . . . . . . 7 (𝜑 → 𝐶 ⊆ 𝐴)
8 ssdif0 4314 . . . . . . 7 (𝐶 ⊆ 𝐴 ↔ (𝐶 ∖ 𝐴) = ∅)
97, 8sylib 221 . . . . . 6 (𝜑 → (𝐶 ∖ 𝐴) = ∅)
10 dfss2 3917 . . . . . . 7 (𝐶 ⊆ 𝐵 ↔ (𝐶 ∩ 𝐵) = 𝐶)
116, 10sylib 221 . . . . . 6 (𝜑 → (𝐶 ∩ 𝐵) = 𝐶)
129, 11uneq12d 4116 . . . . 5 (𝜑 → ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵)) = (∅ ∪ 𝐶))
13 0un 4346 . . . . 5 (∅ ∪ 𝐶) = 𝐶
1412, 13eqtrdi 2812 . . . 4 (𝜑 → ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵)) = 𝐶)
155, 14eqtrid 2808 . . 3 (𝜑 → (𝐶 ∖ (𝐴 ∖ 𝐵)) = 𝐶)
164, 15difeq12d 4075 . 2 (𝜑 → (((𝐴 ∖ 𝐵) ∪ 𝐵) ∖ (𝐶 ∖ (𝐴 ∖ 𝐵))) = (𝐴 ∖ 𝐶))
171, 16eqtrid 2808 1 (𝜑 → ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐶)) = (𝐴 ∖ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∖ cdif 3896   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280
This theorem is used by:  psdmul  22467
  Copyright terms: Public domain W3C validator