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

Theorem xpiindi 5708
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 5575 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 3152 . . . . 5 𝑥𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4442 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 689 . . . 4 (𝐴 ≠ ∅ → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
5 reliin 5692 . . . 4 (∃𝑥𝐴 Rel (𝐶 × 𝐵) → Rel 𝑥𝐴 (𝐶 × 𝐵))
64, 5syl 17 . . 3 (𝐴 ≠ ∅ → Rel 𝑥𝐴 (𝐶 × 𝐵))
7 relxp 5575 . . 3 Rel (𝐶 × 𝑥𝐴 𝐵)
86, 7jctil 522 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4448 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥𝐴 (𝑦𝐶𝑧𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵)))
109bicomd 225 . . . . 5 (𝐴 ≠ ∅ → ((𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵)))
11 eliin 4926 . . . . . . 7 (𝑧 ∈ V → (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵))
1211elv 3501 . . . . . 6 (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵)
1312anbi2i 624 . . . . 5 ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵))
14 opelxp 5593 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦𝐶𝑧𝐵))
1514ralbii 3167 . . . . 5 (∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵))
1610, 13, 153bitr4g 316 . . . 4 (𝐴 ≠ ∅ → ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
17 opelxp 5593 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ (𝑦𝐶𝑧 𝑥𝐴 𝐵))
18 opex 5358 . . . . 5 𝑦, 𝑧⟩ ∈ V
19 eliin 4926 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2018, 19ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2116, 17, 203bitr4g 316 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵)))
2221eqrelrdv2 5670 . 2 (((Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)) ∧ 𝐴 ≠ ∅) → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
238, 22mpancom 686 1 (𝐴 ≠ ∅ → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114  wne 3018  wral 3140  wrex 3141  Vcvv 3496  c0 4293  cop 4575   ciin 4922   × cxp 5555  Rel wrel 5562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-iin 4924  df-opab 5131  df-xp 5563  df-rel 5564
This theorem is referenced by:  xpriindi  5709
  Copyright terms: Public domain W3C validator