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

Theorem xpiindi 5257
Description: Distributive law for Cartesian product over indexed intersection. (Contributed by Mario Carneiro, 21-Mar-2015.)
Assertion
Ref Expression
xpiindi (𝐴 ≠ ∅ → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem xpiindi
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5227 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 2924 . . . . 5 𝑥𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4060 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 707 . . . 4 (𝐴 ≠ ∅ → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
5 reliin 5240 . . . 4 (∃𝑥𝐴 Rel (𝐶 × 𝐵) → Rel 𝑥𝐴 (𝐶 × 𝐵))
64, 5syl 17 . . 3 (𝐴 ≠ ∅ → Rel 𝑥𝐴 (𝐶 × 𝐵))
7 relxp 5227 . . 3 Rel (𝐶 × 𝑥𝐴 𝐵)
86, 7jctil 560 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4066 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥𝐴 (𝑦𝐶𝑧𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵)))
109bicomd 213 . . . . 5 (𝐴 ≠ ∅ → ((𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵)))
11 vex 3203 . . . . . . 7 𝑧 ∈ V
12 eliin 4525 . . . . . . 7 (𝑧 ∈ V → (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵))
1311, 12ax-mp 5 . . . . . 6 (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵)
1413anbi2i 730 . . . . 5 ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵))
15 opelxp 5146 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦𝐶𝑧𝐵))
1615ralbii 2980 . . . . 5 (∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵))
1710, 14, 163bitr4g 303 . . . 4 (𝐴 ≠ ∅ → ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
18 opelxp 5146 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ (𝑦𝐶𝑧 𝑥𝐴 𝐵))
19 opex 4932 . . . . 5 𝑦, 𝑧⟩ ∈ V
20 eliin 4525 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2119, 20ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2217, 18, 213bitr4g 303 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵)))
2322eqrelrdv2 5219 . 2 (((Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)) ∧ 𝐴 ≠ ∅) → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
248, 23mpancom 703 1 (𝐴 ≠ ∅ → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wcel 1990  wne 2794  wral 2912  wrex 2913  Vcvv 3200  c0 3915  cop 4183   ciin 4521   × cxp 5112  Rel wrel 5119
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-iin 4523  df-opab 4713  df-xp 5120  df-rel 5121
This theorem is referenced by:  xpriindi  5258
  Copyright terms: Public domain W3C validator