Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eliunxp2 Structured version   Visualization version   GIF version

Theorem eliunxp2 49875
Description: Membership in a union of Cartesian products over its second component, analogous to eliunxp 5827. (Contributed by AV, 30-Mar-2019.)
Assertion
Ref Expression
eliunxp2 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑦,𝐶
Allowed substitution hints:   𝐴(𝑦)   𝐵(𝑦)

Proof of Theorem eliunxp2
StepHypRef Expression
1 relxp 5679 . . . . . . . 8 Rel (𝐴 × {𝑦})
21rgenw 3090 . . . . . . 7 ∀𝑦 ∈ 𝐵 Rel (𝐴 × {𝑦})
3 reliun 5806 . . . . . . 7 (Rel ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ ∀𝑦 ∈ 𝐵 Rel (𝐴 × {𝑦}))
42, 3mpbir 234 . . . . . 6 Rel ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})
5 elrel 5786 . . . . . 6 ((Rel ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 703 . . . . 5 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) → ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
7 excom 2206 . . . . 5 (∃𝑦∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥∃𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
86, 7sylibr 237 . . . 4 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) → ∃𝑦∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩)
98pm4.71ri 570 . . 3 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ (∃𝑦∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})))
10 nfiu1 4994 . . . . 5 Ⅎ𝑦∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})
1110nfel2 2950 . . . 4 Ⅎ𝑦 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})
121119.41 2279 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ (∃𝑦∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})))
13 19.41v 1986 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ (∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})))
14 eleq1 2858 . . . . . . . 8 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ ⟨𝑥, 𝑦⟩ ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})))
15 opeliun2xp 5729 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴))
1615biancomi 468 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵))
1714, 16bitrdi 290 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1817pm5.32i 585 . . . . . 6 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
1918exbii 1883 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
2013, 19bitr3i 280 . . . 4 ((∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
2120exbii 1883 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦})) ↔ ∃𝑦∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
229, 12, 213bitr2i 302 . 2 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ ∃𝑦∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
23 excom 2206 . 2 (∃𝑦∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
2422, 23bitri 278 1 (𝐶 ∈ ∪ 𝑦 ∈ 𝐵 (𝐴 × {𝑦}) ↔ ∃𝑥∃𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2151  ∀wral 3086  {csn 4590  ⟨cop 4843  ∪ ciun 4959   × cxp 5659  Rel wrel 5666
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
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 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-iun 4961  df-opab 5177  df-xp 5667  df-rel 5668
This theorem is used by:  mpomptx2  49876
  Copyright terms: Public domain W3C validator