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

Theorem xpiindi 5701
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 5568 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 3150 . . . . 5 𝑥𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4440 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 689 . . . 4 (𝐴 ≠ ∅ → ∃𝑥𝐴 Rel (𝐶 × 𝐵))
5 reliin 5685 . . . 4 (∃𝑥𝐴 Rel (𝐶 × 𝐵) → Rel 𝑥𝐴 (𝐶 × 𝐵))
64, 5syl 17 . . 3 (𝐴 ≠ ∅ → Rel 𝑥𝐴 (𝐶 × 𝐵))
7 relxp 5568 . . 3 Rel (𝐶 × 𝑥𝐴 𝐵)
86, 7jctil 522 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4446 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥𝐴 (𝑦𝐶𝑧𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵)))
109bicomd 225 . . . . 5 (𝐴 ≠ ∅ → ((𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵)))
11 eliin 4917 . . . . . . 7 (𝑧 ∈ V → (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵))
1211elv 3500 . . . . . 6 (𝑧 𝑥𝐴 𝐵 ↔ ∀𝑥𝐴 𝑧𝐵)
1312anbi2i 624 . . . . 5 ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ (𝑦𝐶 ∧ ∀𝑥𝐴 𝑧𝐵))
14 opelxp 5586 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦𝐶𝑧𝐵))
1514ralbii 3165 . . . . 5 (∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥𝐴 (𝑦𝐶𝑧𝐵))
1610, 13, 153bitr4g 316 . . . 4 (𝐴 ≠ ∅ → ((𝑦𝐶𝑧 𝑥𝐴 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
17 opelxp 5586 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ (𝑦𝐶𝑧 𝑥𝐴 𝐵))
18 opex 5349 . . . . 5 𝑦, 𝑧⟩ ∈ V
19 eliin 4917 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2018, 19ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵) ↔ ∀𝑥𝐴𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2116, 17, 203bitr4g 316 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝑥𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ 𝑥𝐴 (𝐶 × 𝐵)))
2221eqrelrdv2 5663 . 2 (((Rel (𝐶 × 𝑥𝐴 𝐵) ∧ Rel 𝑥𝐴 (𝐶 × 𝐵)) ∧ 𝐴 ≠ ∅) → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
238, 22mpancom 686 1 (𝐴 ≠ ∅ → (𝐶 × 𝑥𝐴 𝐵) = 𝑥𝐴 (𝐶 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  wne 3016  wral 3138  wrex 3139  Vcvv 3495  c0 4291  cop 4567   ciin 4913   × cxp 5548  Rel wrel 5555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-iin 4915  df-opab 5122  df-xp 5556  df-rel 5557
This theorem is referenced by:  xpriindi  5702
  Copyright terms: Public domain W3C validator