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 44389
Description: Membership in a union of Cartesian products over its second component, analogous to eliunxp 5710. (Contributed by AV, 30-Mar-2019.)
Assertion
Ref Expression
eliunxp2 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝑦,𝐶
Allowed substitution hints:   𝐴(𝑦)   𝐵(𝑦)

Proof of Theorem eliunxp2
StepHypRef Expression
1 relxp 5575 . . . . . . . 8 Rel (𝐴 × {𝑦})
21rgenw 3152 . . . . . . 7 𝑦𝐵 Rel (𝐴 × {𝑦})
3 reliun 5691 . . . . . . 7 (Rel 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∀𝑦𝐵 Rel (𝐴 × {𝑦}))
42, 3mpbir 233 . . . . . 6 Rel 𝑦𝐵 (𝐴 × {𝑦})
5 elrel 5673 . . . . . 6 ((Rel 𝑦𝐵 (𝐴 × {𝑦}) ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 688 . . . . 5 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
7 excom 2169 . . . . 5 (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
86, 7sylibr 236 . . . 4 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) → ∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩)
98pm4.71ri 563 . . 3 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
10 nfiu1 4955 . . . . 5 𝑦 𝑦𝐵 (𝐴 × {𝑦})
1110nfel2 2998 . . . 4 𝑦 𝐶 𝑦𝐵 (𝐴 × {𝑦})
121119.41 2237 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
13 19.41v 1950 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
14 eleq1 2902 . . . . . . . 8 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦})))
15 opeliun2xp 44388 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑦𝐵𝑥𝐴))
1615biancomi 465 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑥𝐴𝑦𝐵))
1714, 16syl6bb 289 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑥𝐴𝑦𝐵)))
1817pm5.32i 577 . . . . . 6 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
1918exbii 1848 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2013, 19bitr3i 279 . . . 4 ((∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2120exbii 1848 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
229, 12, 213bitr2i 301 . 2 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
23 excom 2169 . 2 (∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2422, 23bitri 277 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:  mpomptx2  44390
  Copyright terms: Public domain W3C validator