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

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

Proof of Theorem difxp1
StepHypRef Expression
1 difxp 6122 . 2 ((𝐴 × 𝐶) ∖ (𝐵 × 𝐶)) = (((𝐴𝐵) × 𝐶) ∪ (𝐴 × (𝐶𝐶)))
2 difid 4328 . . . . 5 (𝐶𝐶) = ∅
32xpeq2i 5651 . . . 4 (𝐴 × (𝐶𝐶)) = (𝐴 × ∅)
4 xp0 5724 . . . 4 (𝐴 × ∅) = ∅
53, 4eqtri 2759 . . 3 (𝐴 × (𝐶𝐶)) = ∅
65uneq2i 4117 . 2 (((𝐴𝐵) × 𝐶) ∪ (𝐴 × (𝐶𝐶))) = (((𝐴𝐵) × 𝐶) ∪ ∅)
7 un0 4346 . 2 (((𝐴𝐵) × 𝐶) ∪ ∅) = ((𝐴𝐵) × 𝐶)
81, 6, 73eqtrri 2764 1 ((𝐴𝐵) × 𝐶) = ((𝐴 × 𝐶) ∖ (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  cdif 3898  cun 3899  c0 4285   × cxp 5622
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-ext 2708  ax-sep 5241  ax-nul 5251  ax-pr 5377
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-sb 2068  df-clab 2715  df-cleq 2728  df-clel 2811  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-dif 3904  df-un 3906  df-ss 3918  df-nul 4286  df-if 4480  df-sn 4581  df-pr 4583  df-op 4587  df-opab 5161  df-xp 5630  df-rel 5631
This theorem is referenced by:  resdifdi  6194  difxp1ss  32597  sxbrsigalem2  34443
  Copyright terms: Public domain W3C validator