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

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

Proof of Theorem xpiundir
Dummy variables 𝑦 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 rexcom4 3212 . . . . 5 (∃𝑥𝐴𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
2 df-rex 3112 . . . . . 6 (∃𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
32rexbii 3210 . . . . 5 (∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥𝐴𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
4 eliun 4885 . . . . . . . 8 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
54anbi1i 626 . . . . . . 7 ((𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥𝐴 𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
6 r19.41v 3300 . . . . . . 7 (∃𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥𝐴 𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
75, 6bitr4i 281 . . . . . 6 ((𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
87exbii 1849 . . . . 5 (∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
91, 3, 83bitr4ri 307 . . . 4 (∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
10 df-rex 3112 . . . 4 (∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
11 elxp2 5543 . . . . 5 (𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
1211rexbii 3210 . . . 4 (∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
139, 10, 123bitr4i 306 . . 3 (∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶))
14 elxp2 5543 . . 3 (𝑧 ∈ ( 𝑥𝐴 𝐵 × 𝐶) ↔ ∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
15 eliun 4885 . . 3 (𝑧 𝑥𝐴 (𝐵 × 𝐶) ↔ ∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶))
1613, 14, 153bitr4i 306 . 2 (𝑧 ∈ ( 𝑥𝐴 𝐵 × 𝐶) ↔ 𝑧 𝑥𝐴 (𝐵 × 𝐶))
1716eqriv 2795 1 ( 𝑥𝐴 𝐵 × 𝐶) = 𝑥𝐴 (𝐵 × 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1538  wex 1781  wcel 2111  wrex 3107  cop 4531   ciun 4881   × cxp 5517
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-iun 4883  df-opab 5093  df-xp 5525
This theorem is referenced by:  iunxpconst  5588  resiun2  5839  txbasval  22211  txtube  22245  txcmplem1  22246  ovoliunlem1  24106
  Copyright terms: Public domain W3C validator