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 4317 . . . . 5 (𝐶𝐶) = ∅
32xpeq2i 5651 . . . 4 (𝐴 × (𝐶𝐶)) = (𝐴 × ∅)
4 xp0 5724 . . . 4 (𝐴 × ∅) = ∅
53, 4eqtri 2760 . . 3 (𝐴 × (𝐶𝐶)) = ∅
65uneq2i 4106 . 2 (((𝐴𝐵) × 𝐶) ∪ (𝐴 × (𝐶𝐶))) = (((𝐴𝐵) × 𝐶) ∪ ∅)
7 un0 4335 . 2 (((𝐴𝐵) × 𝐶) ∪ ∅) = ((𝐴𝐵) × 𝐶)
81, 6, 73eqtrri 2765 1 ((𝐴𝐵) × 𝐶) = ((𝐴 × 𝐶) ∖ (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  cdif 3887  cun 3888  c0 4274   × cxp 5622
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709  ax-sep 5231  ax-pr 5370
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rex 3063  df-rab 3391  df-v 3432  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4275  df-if 4468  df-sn 4569  df-pr 4571  df-op 4575  df-opab 5149  df-xp 5630  df-rel 5631
This theorem is referenced by:  resdifdi  6194  difxp1ss  32607  sxbrsigalem2  34446
  Copyright terms: Public domain W3C validator