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

Theorem elxpi 5541
 Description: Membership in a Cartesian product. Uses fewer axioms than elxp 5542. (Contributed by NM, 4-Jul-1994.)
Assertion
Ref Expression
elxpi (𝐴 ∈ (𝐵 × 𝐶) → ∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐶,𝑦

Proof of Theorem elxpi
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq1 2802 . . . . 5 (𝑧 = 𝑤 → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑤 = ⟨𝑥, 𝑦⟩))
21anbi1d 632 . . . 4 (𝑧 = 𝑤 → ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))))
322exbidv 1925 . . 3 (𝑧 = 𝑤 → (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))))
4 eqeq1 2802 . . . . 5 (𝑤 = 𝐴 → (𝑤 = ⟨𝑥, 𝑦⟩ ↔ 𝐴 = ⟨𝑥, 𝑦⟩))
54anbi1d 632 . . . 4 (𝑤 = 𝐴 → ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) ↔ (𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))))
652exbidv 1925 . . 3 (𝑤 = 𝐴 → (∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)) ↔ ∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))))
7 df-xp 5525 . . . 4 (𝐵 × 𝐶) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦𝐶)}
8 df-opab 5093 . . . 4 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐵𝑦𝐶)} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))}
97, 8eqtri 2821 . . 3 (𝐵 × 𝐶) = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))}
103, 6, 9elab2gw 3613 . 2 (𝐴 ∈ (𝐵 × 𝐶) → (𝐴 ∈ (𝐵 × 𝐶) ↔ ∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶))))
1110ibi 270 1 (𝐴 ∈ (𝐵 × 𝐶) → ∃𝑥𝑦(𝐴 = ⟨𝑥, 𝑦⟩ ∧ (𝑥𝐵𝑦𝐶)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1538  ∃wex 1781   ∈ wcel 2111  {cab 2776  ⟨cop 4531  {copab 5092   × cxp 5517 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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-ext 2770 This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-opab 5093  df-xp 5525 This theorem is referenced by:  xpdifid  5992  opreuopreu  7718  djuunxp  9336  fmla0xp  32755  mnringmulrcld  40951  rrx2plordisom  45151
 Copyright terms: Public domain W3C validator