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

Theorem xpiundi 5615
Description: Distributive law for Cartesian product over indexed union. (Contributed by Mario Carneiro, 27-Apr-2014.)
Assertion
Ref Expression
xpiundi (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵)
Distinct variable group:   𝑥,𝐶
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem xpiundi
Dummy variables 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rexcom 3352 . . . 4 (∃𝑤𝐶𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑥𝐴𝑤𝐶𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩)
2 eliun 4914 . . . . . . . 8 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
32anbi1i 623 . . . . . . 7 ((𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩) ↔ (∃𝑥𝐴 𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
43exbii 1839 . . . . . 6 (∃𝑦(𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩) ↔ ∃𝑦(∃𝑥𝐴 𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
5 df-rex 3141 . . . . . 6 (∃𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑦(𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩))
6 df-rex 3141 . . . . . . . 8 (∃𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑦(𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
76rexbii 3244 . . . . . . 7 (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑥𝐴𝑦(𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
8 rexcom4 3246 . . . . . . 7 (∃𝑥𝐴𝑦(𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩) ↔ ∃𝑦𝑥𝐴 (𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
9 r19.41v 3344 . . . . . . . 8 (∃𝑥𝐴 (𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩) ↔ (∃𝑥𝐴 𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
109exbii 1839 . . . . . . 7 (∃𝑦𝑥𝐴 (𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩) ↔ ∃𝑦(∃𝑥𝐴 𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
117, 8, 103bitri 298 . . . . . 6 (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑦(∃𝑥𝐴 𝑦𝐵𝑧 = ⟨𝑤, 𝑦⟩))
124, 5, 113bitr4i 304 . . . . 5 (∃𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩)
1312rexbii 3244 . . . 4 (∃𝑤𝐶𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑤𝐶𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩)
14 elxp2 5572 . . . . 5 (𝑧 ∈ (𝐶 × 𝐵) ↔ ∃𝑤𝐶𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩)
1514rexbii 3244 . . . 4 (∃𝑥𝐴 𝑧 ∈ (𝐶 × 𝐵) ↔ ∃𝑥𝐴𝑤𝐶𝑦𝐵 𝑧 = ⟨𝑤, 𝑦⟩)
161, 13, 153bitr4i 304 . . 3 (∃𝑤𝐶𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩ ↔ ∃𝑥𝐴 𝑧 ∈ (𝐶 × 𝐵))
17 elxp2 5572 . . 3 (𝑧 ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ ∃𝑤𝐶𝑦 𝑥𝐴 𝐵𝑧 = ⟨𝑤, 𝑦⟩)
18 eliun 4914 . . 3 (𝑧 𝑥𝐴 (𝐶 × 𝐵) ↔ ∃𝑥𝐴 𝑧 ∈ (𝐶 × 𝐵))
1916, 17, 183bitr4i 304 . 2 (𝑧 ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ 𝑧 𝑥𝐴 (𝐶 × 𝐵))
2019eqriv 2815 1 (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1528  wex 1771  wcel 2105  wrex 3136  cop 4563   ciun 4910   × cxp 5546
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-iun 4912  df-opab 5120  df-xp 5554
This theorem is referenced by:  xpexgALT  7671  txbasval  22142  txcmplem2  22178  xkoinjcn  22223  cvmlift2lem12  32458
  Copyright terms: Public domain W3C validator