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

Theorem xpun 5730
Description: The Cartesian product of two unions. (Contributed by NM, 12-Aug-2004.)
Assertion
Ref Expression
xpun ((𝐴 ∪ 𝐵) × (𝐶 ∪ 𝐷)) = (((𝐴 × 𝐶) ∪ (𝐴 × 𝐷)) ∪ ((𝐵 × 𝐶) ∪ (𝐵 × 𝐷)))

Proof of Theorem xpun
StepHypRef Expression
1 xpundi 5725 . 2 ((𝐴 ∪ 𝐵) × (𝐶 ∪ 𝐷)) = (((𝐴 ∪ 𝐵) × 𝐶) ∪ ((𝐴 ∪ 𝐵) × 𝐷))
2 xpundir 5726 . . 3 ((𝐴 ∪ 𝐵) × 𝐶) = ((𝐴 × 𝐶) ∪ (𝐵 × 𝐶))
3 xpundir 5726 . . 3 ((𝐴 ∪ 𝐵) × 𝐷) = ((𝐴 × 𝐷) ∪ (𝐵 × 𝐷))
42, 3uneq12i 4168 . 2 (((𝐴 ∪ 𝐵) × 𝐶) ∪ ((𝐴 ∪ 𝐵) × 𝐷)) = (((𝐴 × 𝐶) ∪ (𝐵 × 𝐶)) ∪ ((𝐴 × 𝐷) ∪ (𝐵 × 𝐷)))
5 un4 4176 . 2 (((𝐴 × 𝐶) ∪ (𝐵 × 𝐶)) ∪ ((𝐴 × 𝐷) ∪ (𝐵 × 𝐷))) = (((𝐴 × 𝐶) ∪ (𝐴 × 𝐷)) ∪ ((𝐵 × 𝐶) ∪ (𝐵 × 𝐷)))
61, 4, 53eqtri 2790 1 ((𝐴 ∪ 𝐵) × (𝐶 ∪ 𝐷)) = (((𝐴 × 𝐶) ∪ (𝐴 × 𝐷)) ∪ ((𝐵 × 𝐶) ∪ (𝐵 × 𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∪ cun 4152   × cxp 5654
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-un 4154  df-opab 5172  df-xp 5662
This theorem is used by:  ex-xp  31070
  Copyright terms: Public domain W3C validator