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

Theorem xpundi 5622
Description: Distributive law for Cartesian product over union. Theorem 103 of [Suppes] p. 52. (Contributed by NM, 12-Aug-2004.)
Assertion
Ref Expression
xpundi (𝐴 × (𝐵𝐶)) = ((𝐴 × 𝐵) ∪ (𝐴 × 𝐶))

Proof of Theorem xpundi
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-xp 5563 . 2 (𝐴 × (𝐵𝐶)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝐵𝐶))}
2 df-xp 5563 . . . 4 (𝐴 × 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐵)}
3 df-xp 5563 . . . 4 (𝐴 × 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐶)}
42, 3uneq12i 4139 . . 3 ((𝐴 × 𝐵) ∪ (𝐴 × 𝐶)) = ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐵)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐶)})
5 elun 4127 . . . . . . 7 (𝑦 ∈ (𝐵𝐶) ↔ (𝑦𝐵𝑦𝐶))
65anbi2i 624 . . . . . 6 ((𝑥𝐴𝑦 ∈ (𝐵𝐶)) ↔ (𝑥𝐴 ∧ (𝑦𝐵𝑦𝐶)))
7 andi 1004 . . . . . 6 ((𝑥𝐴 ∧ (𝑦𝐵𝑦𝐶)) ↔ ((𝑥𝐴𝑦𝐵) ∨ (𝑥𝐴𝑦𝐶)))
86, 7bitri 277 . . . . 5 ((𝑥𝐴𝑦 ∈ (𝐵𝐶)) ↔ ((𝑥𝐴𝑦𝐵) ∨ (𝑥𝐴𝑦𝐶)))
98opabbii 5135 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝐵𝐶))} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐵) ∨ (𝑥𝐴𝑦𝐶))}
10 unopab 5147 . . . 4 ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐵)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐶)}) = {⟨𝑥, 𝑦⟩ ∣ ((𝑥𝐴𝑦𝐵) ∨ (𝑥𝐴𝑦𝐶))}
119, 10eqtr4i 2849 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝐵𝐶))} = ({⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐵)} ∪ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦𝐶)})
124, 11eqtr4i 2849 . 2 ((𝐴 × 𝐵) ∪ (𝐴 × 𝐶)) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝐵𝐶))}
131, 12eqtr4i 2849 1 (𝐴 × (𝐵𝐶)) = ((𝐴 × 𝐵) ∪ (𝐴 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 398  wo 843   = wceq 1537  wcel 2114  cun 3936  {copab 5130   × cxp 5555
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-v 3498  df-un 3943  df-opab 5131  df-xp 5563
This theorem is referenced by:  xpun  5627  djuassen  9606  xpdjuen  9607  ustund  22832  bj-2upln1upl  34338
  Copyright terms: Public domain W3C validator