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

Theorem xpiindi 5830
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 5684 . . . . . 6 Rel (𝐶 × 𝐵)
21rgenw 3095 . . . . 5 ∀𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵)
3 r19.2z 4465 . . . . 5 ((𝐴 ≠ ∅ ∧ ∀𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵)) → ∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵))
42, 3mpan2 704 . . . 4 (𝐴 ≠ ∅ → ∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵))
5 reliin 5812 . . . 4 (∃𝑥 ∈ 𝐴 Rel (𝐶 × 𝐵) → Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
64, 5syl 18 . . 3 (𝐴 ≠ ∅ → Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵))
7 relxp 5684 . . 3 Rel (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵)
86, 7jctil 529 . 2 (𝐴 ≠ ∅ → (Rel (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ∧ Rel ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵)))
9 r19.28zv 4472 . . . . . 6 (𝐴 ≠ ∅ → (∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)))
109bicomd 226 . . . . 5 (𝐴 ≠ ∅ → ((𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵)))
11 eliin 4969 . . . . . . 7 (𝑧 ∈ V → (𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵 ↔ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵))
1211elv 3466 . . . . . 6 (𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵 ↔ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
1312anbi2i 635 . . . . 5 ((𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ ∀𝑥 ∈ 𝐴 𝑧 ∈ 𝐵))
14 opelxp 5702 . . . . . 6 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵))
1514ralbii 3123 . . . . 5 (∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ 𝐵))
1610, 13, 153bitr4g 317 . . . 4 (𝐴 ≠ ∅ → ((𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
17 opelxp 5702 . . . 4 (⟨𝑦, 𝑧⟩ ∈ (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ↔ (𝑦 ∈ 𝐶 ∧ 𝑧 ∈ ∩ 𝑥 ∈ 𝐴 𝐵))
18 opex 5447 . . . . 5 ⟨𝑦, 𝑧⟩ ∈ V
19 eliin 4969 . . . . 5 (⟨𝑦, 𝑧⟩ ∈ V → (⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵)))
2018, 19ax-mp 5 . . . 4 (⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵) ↔ ∀𝑥 ∈ 𝐴 ⟨𝑦, 𝑧⟩ ∈ (𝐶 × 𝐵))
2116, 17, 203bitr4g 317 . . 3 (𝐴 ≠ ∅ → (⟨𝑦, 𝑧⟩ ∈ (𝐶 × ∩ 𝑥 ∈ 𝐴 𝐵) ↔ ⟨𝑦, 𝑧⟩ ∈ ∩ 𝑥 ∈ 𝐴 (𝐶 × 𝐵)))
2221eqrelrdv2 5788 . 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 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101  Vcvv 3461  ∅c0 4288  ⟨cop 4848  ∩ ciin 4965   × cxp 5664  Rel wrel 5671
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-iin 4967  df-opab 5182  df-xp 5672  df-rel 5673
This theorem is used by:  xpriindi  5831
  Copyright terms: Public domain W3C validator