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

Theorem rabxp 5593
Description: Membership in a class builder restricted to a Cartesian product. (Contributed by NM, 20-Feb-2014.)
Hypothesis
Ref Expression
rabxp.1 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
Assertion
Ref Expression
rabxp {𝑥 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ (𝑦𝐴𝑧𝐵𝜓)}
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝜑,𝑦,𝑧   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦,𝑧)

Proof of Theorem rabxp
StepHypRef Expression
1 elxp 5571 . . . . 5 (𝑥 ∈ (𝐴 × 𝐵) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)))
21anbi1i 625 . . . 4 ((𝑥 ∈ (𝐴 × 𝐵) ∧ 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑))
3 19.41vv 1950 . . . 4 (∃𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑) ↔ (∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑))
4 anass 471 . . . . . 6 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐴𝑧𝐵) ∧ 𝜑)))
5 rabxp.1 . . . . . . . . 9 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝜑𝜓))
65anbi2d 630 . . . . . . . 8 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦𝐴𝑧𝐵) ∧ 𝜑) ↔ ((𝑦𝐴𝑧𝐵) ∧ 𝜓)))
7 df-3an 1084 . . . . . . . 8 ((𝑦𝐴𝑧𝐵𝜓) ↔ ((𝑦𝐴𝑧𝐵) ∧ 𝜓))
86, 7syl6bbr 291 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → (((𝑦𝐴𝑧𝐵) ∧ 𝜑) ↔ (𝑦𝐴𝑧𝐵𝜓)))
98pm5.32i 577 . . . . . 6 ((𝑥 = ⟨𝑦, 𝑧⟩ ∧ ((𝑦𝐴𝑧𝐵) ∧ 𝜑)) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓)))
104, 9bitri 277 . . . . 5 (((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑) ↔ (𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓)))
11102exbii 1848 . . . 4 (∃𝑦𝑧((𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵)) ∧ 𝜑) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓)))
122, 3, 113bitr2i 301 . . 3 ((𝑥 ∈ (𝐴 × 𝐵) ∧ 𝜑) ↔ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓)))
1312abbii 2885 . 2 {𝑥 ∣ (𝑥 ∈ (𝐴 × 𝐵) ∧ 𝜑)} = {𝑥 ∣ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓))}
14 df-rab 3146 . 2 {𝑥 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∣ (𝑥 ∈ (𝐴 × 𝐵) ∧ 𝜑)}
15 df-opab 5122 . 2 {⟨𝑦, 𝑧⟩ ∣ (𝑦𝐴𝑧𝐵𝜓)} = {𝑥 ∣ ∃𝑦𝑧(𝑥 = ⟨𝑦, 𝑧⟩ ∧ (𝑦𝐴𝑧𝐵𝜓))}
1613, 14, 153eqtr4i 2853 1 {𝑥 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {⟨𝑦, 𝑧⟩ ∣ (𝑦𝐴𝑧𝐵𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1082   = wceq 1536  wex 1779  wcel 2113  {cab 2798  {crab 3141  cop 4566  {copab 5121   × cxp 5546
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5196  ax-nul 5203  ax-pr 5323
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-rab 3146  df-v 3493  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-sn 4561  df-pr 4563  df-op 4567  df-opab 5122  df-xp 5554
This theorem is referenced by:  cicer  17071  poimirlem26  34953  dib1dim  38334  diclspsn  38363  fgraphxp  39887
  Copyright terms: Public domain W3C validator