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

Theorem eliunxp 5710
Description: Membership in a union of Cartesian products. Analogue of elxp 5580 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 5575 . . . . . 6 Rel ({𝑥} × 𝐵)
21rgenw 3152 . . . . 5 𝑥𝐴 Rel ({𝑥} × 𝐵)
3 reliun 5691 . . . . 5 (Rel 𝑥𝐴 ({𝑥} × 𝐵) ↔ ∀𝑥𝐴 Rel ({𝑥} × 𝐵))
42, 3mpbir 233 . . . 4 Rel 𝑥𝐴 ({𝑥} × 𝐵)
5 elrel 5673 . . . 4 ((Rel 𝑥𝐴 ({𝑥} × 𝐵) ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 688 . . 3 (𝐶 𝑥𝐴 ({𝑥} × 𝐵) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
76pm4.71ri 563 . 2 (𝐶 𝑥𝐴 ({𝑥} × 𝐵) ↔ (∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)))
8 nfiu1 4955 . . . 4 𝑥 𝑥𝐴 ({𝑥} × 𝐵)
98nfel2 2998 . . 3 𝑥 𝐶 𝑥𝐴 ({𝑥} × 𝐵)
10919.41 2237 . 2 (∃𝑥(∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)))
11 19.41v 1950 . . . 4 (∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)))
12 eleq1 2902 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑥𝐴 ({𝑥} × 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵)))
13 opeliunxp 5621 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝑥𝐴𝑦𝐵))
1412, 13syl6bb 289 . . . . . 6 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝑥𝐴𝑦𝐵)))
1514pm5.32i 577 . . . . 5 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
1615exbii 1848 . . . 4 (∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
1711, 16bitr3i 279 . . 3 ((∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
1817exbii 1848 . 2 (∃𝑥(∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑥𝐴 ({𝑥} × 𝐵)) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
197, 10, 183bitr2i 301 1 (𝐶 𝑥𝐴 ({𝑥} × 𝐵) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  wex 1780  wcel 2114  wral 3140  {csn 4569  cop 4575   ciun 4921   × 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-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  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-iun 4923  df-opab 5131  df-xp 5563  df-rel 5564
This theorem is referenced by:  raliunxp  5712  dfmpt3  6484  mpomptx  7267  fsumcom2  15131  fprodcom2  15340  isfunc  17136  gsum2d2  19096  dprd2d2  19168  fsumvma  25791  mpomptxf  30427  poimirlem26  34920  dvnprodlem1  42238
  Copyright terms: Public domain W3C validator