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

Theorem opeliunxp2 5838
Description: Membership in a union of Cartesian products. (Contributed by Mario Carneiro, 14-Feb-2015.)
Hypothesis
Ref Expression
opeliunxp2.1 (𝑥 = 𝐶𝐵 = 𝐸)
Assertion
Ref Expression
opeliunxp2 (⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝐶𝐴𝐷𝐸))
Distinct variable groups:   𝑥,𝐶   𝑥,𝐷   𝑥,𝐸   𝑥,𝐴
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem opeliunxp2
StepHypRef Expression
1 df-br 5149 . . 3 (𝐶 𝑥𝐴 ({𝑥} × 𝐵)𝐷 ↔ ⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵))
2 relxp 5694 . . . . . 6 Rel ({𝑥} × 𝐵)
32rgenw 3065 . . . . 5 𝑥𝐴 Rel ({𝑥} × 𝐵)
4 reliun 5816 . . . . 5 (Rel 𝑥𝐴 ({𝑥} × 𝐵) ↔ ∀𝑥𝐴 Rel ({𝑥} × 𝐵))
53, 4mpbir 230 . . . 4 Rel 𝑥𝐴 ({𝑥} × 𝐵)
65brrelex1i 5732 . . 3 (𝐶 𝑥𝐴 ({𝑥} × 𝐵)𝐷𝐶 ∈ V)
71, 6sylbir 234 . 2 (⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) → 𝐶 ∈ V)
8 elex 3492 . . 3 (𝐶𝐴𝐶 ∈ V)
98adantr 481 . 2 ((𝐶𝐴𝐷𝐸) → 𝐶 ∈ V)
10 nfiu1 5031 . . . . 5 𝑥 𝑥𝐴 ({𝑥} × 𝐵)
1110nfel2 2921 . . . 4 𝑥𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵)
12 nfv 1917 . . . 4 𝑥(𝐶𝐴𝐷𝐸)
1311, 12nfbi 1906 . . 3 𝑥(⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝐶𝐴𝐷𝐸))
14 opeq1 4873 . . . . 5 (𝑥 = 𝐶 → ⟨𝑥, 𝐷⟩ = ⟨𝐶, 𝐷⟩)
1514eleq1d 2818 . . . 4 (𝑥 = 𝐶 → (⟨𝑥, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ ⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵)))
16 eleq1 2821 . . . . 5 (𝑥 = 𝐶 → (𝑥𝐴𝐶𝐴))
17 opeliunxp2.1 . . . . . 6 (𝑥 = 𝐶𝐵 = 𝐸)
1817eleq2d 2819 . . . . 5 (𝑥 = 𝐶 → (𝐷𝐵𝐷𝐸))
1916, 18anbi12d 631 . . . 4 (𝑥 = 𝐶 → ((𝑥𝐴𝐷𝐵) ↔ (𝐶𝐴𝐷𝐸)))
2015, 19bibi12d 345 . . 3 (𝑥 = 𝐶 → ((⟨𝑥, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝑥𝐴𝐷𝐵)) ↔ (⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝐶𝐴𝐷𝐸))))
21 opeliunxp 5743 . . 3 (⟨𝑥, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝑥𝐴𝐷𝐵))
2213, 20, 21vtoclg1f 3555 . 2 (𝐶 ∈ V → (⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝐶𝐴𝐷𝐸)))
237, 9, 22pm5.21nii 379 1 (⟨𝐶, 𝐷⟩ ∈ 𝑥𝐴 ({𝑥} × 𝐵) ↔ (𝐶𝐴𝐷𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  wral 3061  Vcvv 3474  {csn 4628  cop 4634   ciun 4997   class class class wbr 5148   × cxp 5674  Rel wrel 5681
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-iun 4999  df-br 5149  df-opab 5211  df-xp 5682  df-rel 5683
This theorem is referenced by:  mpoxopn0yelv  8197  mpoxopxnop0  8199  eldmcoa  18014  dmdprd  19867  ply1frcl  21836  cnextfres  23572  eldv  25414  perfdvf  25419  eltayl  25871  dfcnv2  31896  cvmliftlem1  34271  filnetlem3  35260
  Copyright terms: Public domain W3C validator