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 33432
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 5678 . . 3 (𝐶 ↾ 𝐵) = (𝐶 ∩ (𝐵 × V))
21difeq2i 4070 . 2 (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ (𝐶 ∩ (𝐵 × V)))
3 difindi 4247 . . . 4 (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V)))
4 ssdif 4090 . . . . . . 7 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ((𝐵 × V) ∖ (𝐵 × V)))
5 difid 4335 . . . . . . 7 ((𝐵 × V) ∖ (𝐵 × V)) = ∅
64, 5sseqtrdi 3960 . . . . . 6 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ∅)
7 ss0 4362 . . . . . 6 ((𝐴 ∖ (𝐵 × V)) ⊆ ∅ → (𝐴 ∖ (𝐵 × V)) = ∅)
86, 7syl 18 . . . . 5 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) = ∅)
98uneq2d 4177 . . . 4 (𝐴 ⊆ (𝐵 × V) → ((𝐴 ∖ 𝐶) ∪ (𝐴 ∖ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
103, 9eqtrid 2821 . . 3 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴 ∖ 𝐶) ∪ ∅))
11 un0 4354 . . 3 ((𝐴 ∖ 𝐶) ∪ ∅) = (𝐴 ∖ 𝐶)
1210, 11eqtrdi 2825 . 2 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = (𝐴 ∖ 𝐶))
132, 12eqtrid 2821 1 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ↾ 𝐵)) = (𝐴 ∖ 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572  Vcvv 3461   ⊆ wss 3907   ∖ cdif 4055   ∩ cin 4099   ∪ cun 4159  ∅c0 4288   × cxp 5664   ↾ cres 5668
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-res 5678
This theorem is used by:  qtophaus  34670
  Copyright terms: Public domain W3C validator