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

Theorem eliunxp 5821
Description: Membership in a union of Cartesian products. Analogue of elxp 5679 for nonconstant 𝐵(𝑥). (Contributed by Mario Carneiro, 29-Dec-2014.)
Assertion
Ref Expression
eliunxp (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑦,𝐶
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem eliunxp
StepHypRef Expression
1 relxp 5674 . . . . . 6 Rel ({𝑥} × 𝐵)
21rgenw 3084 . . . . 5 ∀𝑥 ∈ 𝐴 Rel ({𝑥} × 𝐵)
3 reliun 5800 . . . . 5 (Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ∀𝑥 ∈ 𝐴 Rel ({𝑥} × 𝐵))
42, 3mpbir 234 . . . 4 Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
5 elrel 5780 . . . 4 ((Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 703 . . 3 (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
76pm4.71ri 570 . 2 (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ (∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
8 nfiu1 4989 . . . 4 Ⅎ𝑥∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
98nfel2 2944 . . 3 Ⅎ𝑥 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
10919.41 2275 . 2 (∃𝑥(∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
11 19.41v 1984 . . . 4 (∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
12 eleq1 2852 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
13 opeliunxp 5723 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵))
1412, 13bitrdi 290 . . . . . 6 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1514pm5.32i 585 . . . . 5 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1615exbii 1881 . . . 4 (∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1711, 16bitr3i 280 . . 3 ((∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1817exbii 1881 . 2 (∃𝑥(∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
197, 10, 183bitr2i 302 1 (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  {csn 4588  ⟨cop 4838  ∪ ciun 4954   × cxp 5654  Rel wrel 5661
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-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-pr 5396
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-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  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 4839  df-iun 4956  df-opab 5172  df-xp 5662  df-rel 5663
This theorem is used by:  raliunxp  5823  dfmpt3  6698  mpomptx  7559  fsumcom2  15972  fprodcom2  16183  isfunc  18071  gsum2d2  20221  dprd2d2  20293  fsumvma  27573  2ndresdju  33318  mpomptxf  33346  gsumwrd2dccatlem  33714  poimirlem26  38769  dvnprodlem1  47171
  Copyright terms: Public domain W3C validator