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

Theorem psdmullem 22491
Description: Lemma for psdmul 22492. 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 4245 . 2 ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐶)) = (((𝐴 ∖ 𝐵) ∪ 𝐵) ∖ (𝐶 ∖ (𝐴 ∖ 𝐵)))
2 psdmullem.ba . . . 4 (𝜑 → 𝐵 ⊆ 𝐴)
3 undifr 4438 . . . 4 (𝐵 ⊆ 𝐴 ↔ ((𝐴 ∖ 𝐵) ∪ 𝐵) = 𝐴)
42, 3sylib 221 . . 3 (𝜑 → ((𝐴 ∖ 𝐵) ∪ 𝐵) = 𝐴)
5 difdif2 4241 . . . 4 (𝐶 ∖ (𝐴 ∖ 𝐵)) = ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵))
6 psdmullem.cb . . . . . . . 8 (𝜑 → 𝐶 ⊆ 𝐵)
76, 2sstrd 3918 . . . . . . 7 (𝜑 → 𝐶 ⊆ 𝐴)
8 ssdif0 4313 . . . . . . 7 (𝐶 ⊆ 𝐴 ↔ (𝐶 ∖ 𝐴) = ∅)
97, 8sylib 221 . . . . . 6 (𝜑 → (𝐶 ∖ 𝐴) = ∅)
10 dfss2 4094 . . . . . . 7 (𝐶 ⊆ 𝐵 ↔ (𝐶 ∩ 𝐵) = 𝐶)
116, 10sylib 221 . . . . . 6 (𝜑 → (𝐶 ∩ 𝐵) = 𝐶)
129, 11uneq12d 4168 . . . . 5 (𝜑 → ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵)) = (∅ ∪ 𝐶))
13 0un 4345 . . . . 5 (∅ ∪ 𝐶) = 𝐶
1412, 13eqtrdi 2811 . . . 4 (𝜑 → ((𝐶 ∖ 𝐴) ∪ (𝐶 ∩ 𝐵)) = 𝐶)
155, 14eqtrid 2807 . . 3 (𝜑 → (𝐶 ∖ (𝐴 ∖ 𝐵)) = 𝐶)
164, 15difeq12d 4064 . 2 (𝜑 → (((𝐴 ∖ 𝐵) ∪ 𝐵) ∖ (𝐶 ∖ (𝐴 ∖ 𝐵))) = (𝐴 ∖ 𝐶))
171, 16eqtrid 2807 1 (𝜑 → ((𝐴 ∖ 𝐵) ∪ (𝐵 ∖ 𝐶)) = (𝐴 ∖ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ⊆ wss 3895   ∖ cdif 4045   ∩ cin 4089   ∪ cun 4149  ∅c0 4278
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279
This theorem is used by:  psdmul  22492
  Copyright terms: Public domain W3C validator