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

Theorem eliunxp 5814
Description: Membership in a union of Cartesian products. Analogue of elxp 5674 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 5669 . . . . . 6 Rel ({𝑥} × 𝐵)
21rgenw 3081 . . . . 5 ∀𝑥 ∈ 𝐴 Rel ({𝑥} × 𝐵)
3 reliun 5794 . . . . 5 (Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ∀𝑥 ∈ 𝐴 Rel ({𝑥} × 𝐵))
42, 3mpbir 234 . . . 4 Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
5 elrel 5774 . . . 4 ((Rel ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 703 . . 3 (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
76pm4.71ri 570 . 2 (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ (∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
8 nfiu1 4986 . . . 4 Ⅎ𝑥∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
98nfel2 2941 . . 3 Ⅎ𝑥 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)
10919.41 2272 . 2 (∃𝑥(∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
11 19.41v 1982 . . . 4 (∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)) ↔ (∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
12 eleq1 2849 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↔ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)))
13 opeliunxp 5718 . . . . . . 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 2145  ∀wral 3077  {csn 4584  ⟨cop 4590  ∪ ciun 4951   × cxp 5649  Rel wrel 5656
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-iun 4953  df-opab 5168  df-xp 5657  df-rel 5658
This theorem is used by:  raliunxp  5816  dfmpt3  6665  mpomptx  7525  fsumcom2  15920  fprodcom2  16131  isfunc  18019  gsum2d2  20168  dprd2d2  20240  fsumvma  27522  2ndresdju  33225  mpomptxf  33254  gsumwrd2dccatlem  33620  poimirlem26  38532  dvnprodlem1  46900
  Copyright terms: Public domain W3C validator