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

Theorem difxp2 6179
Description: Difference law for Cartesian product. (Contributed by Scott Fenton, 18-Feb-2013.) (Revised by Mario Carneiro, 26-Jun-2014.)
Assertion
Ref Expression
difxp2 (𝐴 × (𝐵 ∖ 𝐶)) = ((𝐴 × 𝐵) ∖ (𝐴 × 𝐶))

Proof of Theorem difxp2
StepHypRef Expression
1 difxp 6177 . 2 ((𝐴 × 𝐵) ∖ (𝐴 × 𝐶)) = (((𝐴 ∖ 𝐴) × 𝐵) ∪ (𝐴 × (𝐵 ∖ 𝐶)))
2 difid 4330 . . . . 5 (𝐴 ∖ 𝐴) = ∅
32xpeq1i 5687 . . . 4 ((𝐴 ∖ 𝐴) × 𝐵) = (∅ × 𝐵)
4 0xp 5761 . . . 4 (∅ × 𝐵) = ∅
53, 4eqtri 2792 . . 3 ((𝐴 ∖ 𝐴) × 𝐵) = ∅
65uneq1i 4168 . 2 (((𝐴 ∖ 𝐴) × 𝐵) ∪ (𝐴 × (𝐵 ∖ 𝐶))) = (∅ ∪ (𝐴 × (𝐵 ∖ 𝐶)))
7 uncom 4162 . . 3 (∅ ∪ (𝐴 × (𝐵 ∖ 𝐶))) = ((𝐴 × (𝐵 ∖ 𝐶)) ∪ ∅)
8 un0 4349 . . 3 ((𝐴 × (𝐵 ∖ 𝐶)) ∪ ∅) = (𝐴 × (𝐵 ∖ 𝐶))
97, 8eqtri 2792 . 2 (∅ ∪ (𝐴 × (𝐵 ∖ 𝐶))) = (𝐴 × (𝐵 ∖ 𝐶))
101, 6, 93eqtrri 2797 1 (𝐴 × (𝐵 ∖ 𝐶)) = ((𝐴 × 𝐵) ∖ (𝐴 × 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∖ cdif 4050   ∪ cun 4154  ∅c0 4283   × cxp 5659
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-opab 5177  df-xp 5667  df-rel 5668
This theorem is used by:  difxp2ss  33284  imadifxp  33359  sxbrsigalem2  35046
  Copyright terms: Public domain W3C validator