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 33187
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 5663 . . 3 (𝐶 ↾ 𝐵) = (𝐶 ∩ (𝐵 × V))
21difeq2i 4071 . 2 (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ (𝐶 ∩ (𝐵 × V)))
3 difindi 4238 . . . 4 (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V)))
4 ssdif 4091 . . . . . . 7 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ((𝐵 × V) ∖ (𝐵 × V)))
5 difid 4325 . . . . . . 7 ((𝐵 × V) ∖ (𝐵 × V)) = ∅
64, 5sseqtrdi 3971 . . . . . 6 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ∅)
7 ss0 4352 . . . . . 6 ((𝐴 ∖ (𝐵 × V)) ⊆ ∅ → (𝐴 ∖ (𝐵 × V)) = ∅)
86, 7syl 18 . . . . 5 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) = ∅)
98uneq2d 4115 . . . 4 (𝐴 ⊆ (𝐵 × V) → ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
103, 9eqtrid 2808 . . 3 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
11 un0 4344 . . 3 ((𝐴 ∖ 𝐶) ∪ ∅) = (𝐴 ∖ 𝐶)
1210, 11eqtrdi 2812 . 2 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = (𝐴 ∖ 𝐶))
132, 12eqtrid 2808 1 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570  Vcvv 3451   ∖ cdif 3896   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279   × cxp 5649   ↾ cres 5653
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-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  df-res 5663
This theorem is used by:  qtophaus  34461
  Copyright terms: Public domain W3C validator