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

Theorem xpiundir 5727
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 3293 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑦(𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦∃𝑥 ∈ 𝐴 (𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
2 df-rex 3091 . . . . . 6 (∃𝑦 ∈ 𝐵 ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
32rexbii 3113 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥 ∈ 𝐴 ∃𝑦(𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
4 eliun 4958 . . . . . . . 8 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵)
54anbi1i 636 . . . . . . 7 ((𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
6 r19.41v 3196 . . . . . . 7 (∃𝑥 ∈ 𝐴 (𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ (∃𝑥 ∈ 𝐴 𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
75, 6bitr4i 281 . . . . . 6 ((𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥 ∈ 𝐴 (𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
87exbii 1881 . . . . 5 (∃𝑦(𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑦∃𝑥 ∈ 𝐴 (𝑦 ∈ 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
91, 3, 83bitr4ri 307 . . . 4 (∃𝑦(𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
10 df-rex 3091 . . . 4 (∃𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑦(𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩))
11 elxp2 5679 . . . . 5 (𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑦 ∈ 𝐵 ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
1211rexbii 3113 . . . 4 (∃𝑥 ∈ 𝐴 𝑧 ∈ (𝐵 × 𝐶) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
139, 10, 123bitr4i 306 . . 3 (∃𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩ ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ (𝐵 × 𝐶))
14 elxp2 5679 . . 3 (𝑧 ∈ (∪ 𝑥 ∈ 𝐴 𝐵 × 𝐶) ↔ ∃𝑦 ∈ ∪ 𝑥 ∈ 𝐴 𝐵∃𝑤 ∈ 𝐶 𝑧 = ⟨𝑦, 𝑤⟩)
15 eliun 4958 . . 3 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 (𝐵 × 𝐶) ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ (𝐵 × 𝐶))
1613, 14, 153bitr4i 306 . 2 (𝑧 ∈ (∪ 𝑥 ∈ 𝐴 𝐵 × 𝐶) ↔ 𝑧 ∈ ∪ 𝑥 ∈ 𝐴 (𝐵 × 𝐶))
1716eqriv 2760 1 (∪ 𝑥 ∈ 𝐴 𝐵 × 𝐶) = ∪ 𝑥 ∈ 𝐴 (𝐵 × 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∃wrex 3090  ⟨cop 4838  ∪ ciun 4954   × cxp 5653
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-11 2197  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-in 4094  df-un 4154  df-sn 4589  df-pr 4591  df-op 4839  df-iun 4956  df-opab 5171  df-xp 5661
This theorem is used by:  iunxpconst  5728  resiun2  6001  txbasval  23952  txtube  23986  txcmplem1  23987  ovoliunlem1  25850  1enumen  35804
  Copyright terms: Public domain W3C validator