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 30939
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 5601 . . 3 (𝐶𝐵) = (𝐶 ∩ (𝐵 × V))
21difeq2i 4054 . 2 (𝐴 ∖ (𝐶𝐵)) = (𝐴 ∖ (𝐶 ∩ (𝐵 × V)))
3 difindi 4215 . . . 4 (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴𝐶) ∪ (𝐴 ∖ (𝐵 × V)))
4 ssdif 4074 . . . . . . 7 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ((𝐵 × V) ∖ (𝐵 × V)))
5 difid 4304 . . . . . . 7 ((𝐵 × V) ∖ (𝐵 × V)) = ∅
64, 5sseqtrdi 3971 . . . . . 6 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) ⊆ ∅)
7 ss0 4332 . . . . . 6 ((𝐴 ∖ (𝐵 × V)) ⊆ ∅ → (𝐴 ∖ (𝐵 × V)) = ∅)
86, 7syl 17 . . . . 5 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐵 × V)) = ∅)
98uneq2d 4097 . . . 4 (𝐴 ⊆ (𝐵 × V) → ((𝐴𝐶) ∪ (𝐴 ∖ (𝐵 × V))) = ((𝐴𝐶) ∪ ∅))
103, 9eqtrid 2790 . . 3 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = ((𝐴𝐶) ∪ ∅))
11 un0 4324 . . 3 ((𝐴𝐶) ∪ ∅) = (𝐴𝐶)
1210, 11eqtrdi 2794 . 2 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶 ∩ (𝐵 × V))) = (𝐴𝐶))
132, 12eqtrid 2790 1 (𝐴 ⊆ (𝐵 × V) → (𝐴 ∖ (𝐶𝐵)) = (𝐴𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  Vcvv 3432  cdif 3884  cun 3885  cin 3886  wss 3887  c0 4256   × cxp 5587  cres 5591
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-res 5601
This theorem is referenced by:  qtophaus  31786
  Copyright terms: Public domain W3C validator