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

Theorem opabid2 5727
Description: A relation expressed as an ordered pair abstraction. (Contributed by NM, 11-Dec-2006.)
Assertion
Ref Expression
opabid2 (Rel 𝐴 → {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} = 𝐴)
Distinct variable group:   𝑥,𝑦,𝐴

Proof of Theorem opabid2
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3426 . . . 4 𝑧 ∈ V
2 vex 3426 . . . 4 𝑤 ∈ V
3 opeq1 4801 . . . . 5 (𝑥 = 𝑧 → ⟨𝑥, 𝑦⟩ = ⟨𝑧, 𝑦⟩)
43eleq1d 2823 . . . 4 (𝑥 = 𝑧 → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑧, 𝑦⟩ ∈ 𝐴))
5 opeq2 4802 . . . . 5 (𝑦 = 𝑤 → ⟨𝑧, 𝑦⟩ = ⟨𝑧, 𝑤⟩)
65eleq1d 2823 . . . 4 (𝑦 = 𝑤 → (⟨𝑧, 𝑦⟩ ∈ 𝐴 ↔ ⟨𝑧, 𝑤⟩ ∈ 𝐴))
71, 2, 4, 6opelopab 5448 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} ↔ ⟨𝑧, 𝑤⟩ ∈ 𝐴)
87gen2 1800 . 2 𝑧𝑤(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} ↔ ⟨𝑧, 𝑤⟩ ∈ 𝐴)
9 relopabv 5720 . . 3 Rel {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴}
10 eqrel 5684 . . 3 ((Rel {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} ∧ Rel 𝐴) → ({⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} = 𝐴 ↔ ∀𝑧𝑤(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} ↔ ⟨𝑧, 𝑤⟩ ∈ 𝐴)))
119, 10mpan 686 . 2 (Rel 𝐴 → ({⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} = 𝐴 ↔ ∀𝑧𝑤(⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} ↔ ⟨𝑧, 𝑤⟩ ∈ 𝐴)))
128, 11mpbiri 257 1 (Rel 𝐴 → {⟨𝑥, 𝑦⟩ ∣ ⟨𝑥, 𝑦⟩ ∈ 𝐴} = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wal 1537   = wceq 1539  wcel 2108  cop 4564  {copab 5132  Rel wrel 5585
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-xp 5586  df-rel 5587
This theorem is referenced by:  opabbi2dv  5747
  Copyright terms: Public domain W3C validator