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

Proof of Theorem eliunxp2
StepHypRef Expression
1 relxp 5150 . . . . . . . 8 Rel (𝐴 × {𝑦})
21rgenw 2908 . . . . . . 7 𝑦𝐵 Rel (𝐴 × {𝑦})
3 reliun 5162 . . . . . . 7 (Rel 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∀𝑦𝐵 Rel (𝐴 × {𝑦}))
42, 3mpbir 220 . . . . . 6 Rel 𝑦𝐵 (𝐴 × {𝑦})
5 elrel 5145 . . . . . 6 ((Rel 𝑦𝐵 (𝐴 × {𝑦}) ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
64, 5mpan 702 . . . . 5 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) → ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
7 excom 2029 . . . . 5 (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ↔ ∃𝑥𝑦 𝐶 = ⟨𝑥, 𝑦⟩)
86, 7sylibr 223 . . . 4 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) → ∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩)
98pm4.71ri 663 . . 3 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
10 nfiu1 4486 . . . . 5 𝑦 𝑦𝐵 (𝐴 × {𝑦})
1110nfel2 2767 . . . 4 𝑦 𝐶 𝑦𝐵 (𝐴 × {𝑦})
121119.41 2090 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (∃𝑦𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
13 19.41v 1901 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})))
14 eleq1 2676 . . . . . . . 8 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦})))
15 opeliun2xp 41904 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑦𝐵𝑥𝐴))
16 ancom 465 . . . . . . . . 9 ((𝑦𝐵𝑥𝐴) ↔ (𝑥𝐴𝑦𝐵))
1715, 16bitri 263 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑥𝐴𝑦𝐵))
1814, 17syl6bb 275 . . . . . . 7 (𝐶 = ⟨𝑥, 𝑦⟩ → (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ (𝑥𝐴𝑦𝐵)))
1918pm5.32i 667 . . . . . 6 ((𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ (𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2019exbii 1764 . . . . 5 (∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2113, 20bitr3i 265 . . . 4 ((∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2221exbii 1764 . . 3 (∃𝑦(∃𝑥 𝐶 = ⟨𝑥, 𝑦⟩ ∧ 𝐶 𝑦𝐵 (𝐴 × {𝑦})) ↔ ∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
239, 12, 223bitr2i 287 . 2 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
24 excom 2029 . 2 (∃𝑦𝑥(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
2523, 24bitri 263 1 (𝐶 𝑦𝐵 (𝐴 × {𝑦}) ↔ ∃𝑥𝑦(𝐶 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐴𝑦𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383   = wceq 1475  wex 1695  wcel 1977  wral 2896  {csn 4125  cop 4131   ciun 4455   × cxp 5036  Rel wrel 5043
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-iun 4457  df-opab 4644  df-xp 5044  df-rel 5045
This theorem is referenced by:  mpt2mptx2  41906
  Copyright terms: Public domain W3C validator