Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  difres Structured version   Visualization version   GIF version

Theorem difres 33236
Description: Case when class difference in unaffected by restriction. (Contributed by Thierry Arnoux, 1-Jan-2020.)
Assertion
Ref Expression
difres (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ 𝐶))

Proof of Theorem difres
StepHypRef Expression
1 df-res 5662 . . 3 (𝐶 ↾ 𝐵) = (𝐶 ∩ (𝐵 × V))
21difeq2i 4060 . 2 (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ (𝐶 ∩ (𝐵 × V)))
3 difindi 4237 . . . 4 (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V)))
4 ssdif 4080 . . . . . . 7 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ((𝐵 × V) ∖ (𝐵 × V)))
5 difid 4324 . . . . . . 7 ((𝐵 × V) ∖ (𝐵 × V)) = ∅
64, 5sseqtrdi 3948 . . . . . 6 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ∅)
7 ss0 4351 . . . . . 6 ((𝐴 ∖ (𝐵 × V)) ⊆ ∅ → (𝐴 ∖ (𝐵 × V)) = ∅)
86, 7syl 18 . . . . 5 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) = ∅)
98uneq2d 4167 . . . 4 (𝐴 ⊆ (𝐵 × V) → ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
103, 9eqtrid 2807 . . 3 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
11 un0 4343 . . 3 ((𝐴 ∖ 𝐶) ∪ ∅) = (𝐴 ∖ 𝐶)
1210, 11eqtrdi 2811 . 2 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = (𝐴 ∖ 𝐶))
132, 12eqtrid 2807 1 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569  Vcvv 3450   ⊆ wss 3895   ∖ cdif 4045   ∩ cin 4089   ∪ cun 4149  ∅c0 4278   × cxp 5648   ↾ cres 5652
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-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  df-res 5662
This theorem is used by:  qtophaus  34510
  Copyright terms: Public domain W3C validator