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

Theorem xpiindi 5179
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 5150 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 2908 . . . . 5 𝑥𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4012 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 703 . . . 4 (𝐴 ≠ ∅ → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
5 reliin 5163 . . . 4 (∃𝑥𝐴 Rel (𝐶 × 𝐵) → Rel 𝑥𝐴 (𝐶 × 𝐵))
64, 5syl 17 . . 3 (𝐴 ≠ ∅ → Rel 𝑥𝐴 (𝐶 × 𝐵))
7 relxp 5150 . . 3 Rel (𝐶 × 𝑥𝐴 𝐵)
86, 7jctil 558 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4018 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥𝐴 (𝑦𝐶𝑧𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵)))
109bicomd 212 . . . . 5 (𝐴 ≠ ∅ → ((𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵)))
11 vex 3176 . . . . . . 7 𝑧 ∈ V
12 eliin 4461 . . . . . . 7 (𝑧 ∈ V → (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵))
1311, 12ax-mp 5 . . . . . 6 (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵)
1413anbi2i 726 . . . . 5 ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵))
15 opelxp 5070 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦𝐶𝑧𝐵))
1615ralbii 2963 . . . . 5 (∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵))
1710, 14, 163bitr4g 302 . . . 4 (𝐴 ≠ ∅ → ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
18 opelxp 5070 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ (𝑦𝐶𝑧 𝑥𝐴 𝐵))
19 opex 4859 . . . . 5 𝑦, 𝑧⟩ ∈ V
20 eliin 4461 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2119, 20ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2217, 18, 213bitr4g 302 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵)))
2322eqrelrdv2 5142 . 2 (((Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)) ∧ 𝐴 ≠ ∅) → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
248, 23mpancom 700 1 (𝐴 ≠ ∅ → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wne 2780  wral 2896  wrex 2897  Vcvv 3173  c0 3874  cop 4131   ciin 4456   × cxp 5036  Rel wrel 5043
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-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  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-iin 4458  df-opab 4644  df-xp 5044  df-rel 5045
This theorem is referenced by:  xpriindi  5180
  Copyright terms: Public domain W3C validator