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

Theorem xpiindi 5822
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 5676 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 3084 . . . . 5 ∀𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4458 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 704 . . . 4 (𝐴 ≠ ∅ → ∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵))
5 reliin 5804 . . . 4 (∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵) → Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
64, 5syl 18 . . 3 (𝐴 ≠ ∅ → Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
7 relxp 5676 . . 3 Rel (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵)
86, 7jctil 529 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ∧ Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4465 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)))
109bicomd 226 . . . . 5 (𝐴 ≠ ∅ → ((𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵)))
11 eliin 4961 . . . . . . 7 (𝑧 ∈ V → (𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵 ↔ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵))
1211elv 3459 . . . . . 6 (𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵 ↔ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
1312anbi2i 635 . . . . 5 ((𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵))
14 opelxp 5694 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵))
1514ralbii 3112 . . . . 5 (∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵))
1610, 13, 153bitr4g 317 . . . 4 (𝐴 ≠ ∅ → ((𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
17 opelxp 5694 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵))
18 opex 5439 . . . . 5 ⟨𝑦, 𝑧⟩ ∈ V
19 eliin 4961 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2018, 19ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2116, 17, 203bitr4g 317 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵)))
2221eqrelrdv2 5780 . 2 (((Rel (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ∧ Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵)) ∧ 𝐴 ≠ ∅) → (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) = ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
238, 22mpancom 701 1 (𝐴 ≠ ∅ → (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) = ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  Vcvv 3454  ∅c0 4281  ⟨cop 4840  ∩ ciin 4957   × cxp 5656  Rel wrel 5663
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-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-iin 4959  df-opab 5174  df-xp 5664  df-rel 5665
This theorem is used by:  xpriindi  5823
  Copyright terms: Public domain W3C validator