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

Theorem xpiundir 5097
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 3198 . . . . 5 (∃𝑥𝐴𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
2 df-rex 2902 . . . . . 6 (∃𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
32rexbii 3023 . . . . 5 (∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥𝐴𝑦(𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
4 eliun 4460 . . . . . . . 8 (𝑦 𝑥𝐴 𝐵 ↔ ∃𝑥𝐴 𝑦𝐵)
54anbi1i 727 . . . . . . 7 ((𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥𝐴 𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
6 r19.41v 3070 . . . . . . 7 (∃𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥𝐴 𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
75, 6bitr4i 266 . . . . . 6 ((𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
87exbii 1764 . . . . 5 (∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦𝑥𝐴 (𝑦𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
91, 3, 83bitr4ri 292 . . . 4 (∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
10 df-rex 2902 . . . 4 (∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦 𝑥𝐴 𝐵 ∧ ∃𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
11 elxp2 5056 . . . . 5 (𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
1211rexbii 3023 . . . 4 (∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑥𝐴𝑦𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
139, 10, 123bitr4i 291 . . 3 (∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶))
14 elxp2 5056 . . 3 (𝑧 ∈ ( 𝑥𝐴 𝐵 × 𝐶) ↔ ∃𝑦 𝑥𝐴 𝐵𝑤𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
15 eliun 4460 . . 3 (𝑧 𝑥𝐴 (𝐵 × 𝐶) ↔ ∃𝑥𝐴 𝑧 ∈ (𝐵 × 𝐶))
1613, 14, 153bitr4i 291 . 2 (𝑧 ∈ ( 𝑥𝐴 𝐵 × 𝐶) ↔ 𝑧 𝑥𝐴 (𝐵 × 𝐶))
1716eqriv 2607 1 ( 𝑥𝐴 𝐵 × 𝐶) = 𝑥𝐴 (𝐵 × 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wa 383   = wceq 1475  wex 1695  wcel 1977  wrex 2897  cop 4131   ciun 4455   × cxp 5036
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-iun 4457  df-opab 4644  df-xp 5044
This theorem is referenced by:  iunxpconst  5098  resiun2  5338  txbasval  21219  txtube  21253  txcmplem1  21254  ovoliunlem1  23077
  Copyright terms: Public domain W3C validator