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

Theorem cnvopab 6144
Description: The converse of a class abstraction of ordered pairs. (Contributed by NM, 11-Dec-2003.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) Avoid ax-10 2129, ax-12 2166. (Revised by SN, 7-Jun-2025.)
Assertion
Ref Expression
cnvopab {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑦, 𝑥⟩ ∣ 𝜑}
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem cnvopab
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relcnv 6109 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ 𝜑}
2 relopabv 5823 . 2 Rel {⟨𝑦, 𝑥⟩ ∣ 𝜑}
3 elopab 5529 . . . 4 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ∃𝑥𝑦(⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
4 excom 2151 . . . 4 (∃𝑥𝑦(⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦𝑥(⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑))
5 ancom 459 . . . . . . 7 ((𝑤 = 𝑥𝑧 = 𝑦) ↔ (𝑧 = 𝑦𝑤 = 𝑥))
6 vex 3465 . . . . . . . 8 𝑤 ∈ V
7 vex 3465 . . . . . . . 8 𝑧 ∈ V
86, 7opth 5478 . . . . . . 7 (⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝑤 = 𝑥𝑧 = 𝑦))
97, 6opth 5478 . . . . . . 7 (⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩ ↔ (𝑧 = 𝑦𝑤 = 𝑥))
105, 8, 93bitr4i 302 . . . . . 6 (⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩)
1110anbi1i 622 . . . . 5 ((⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ (⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩ ∧ 𝜑))
12112exbii 1843 . . . 4 (∃𝑦𝑥(⟨𝑤, 𝑧⟩ = ⟨𝑥, 𝑦⟩ ∧ 𝜑) ↔ ∃𝑦𝑥(⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩ ∧ 𝜑))
133, 4, 123bitri 296 . . 3 (⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ∃𝑦𝑥(⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩ ∧ 𝜑))
147, 6opelcnv 5884 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑤, 𝑧⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑})
15 elopab 5529 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑦, 𝑥⟩ ∣ 𝜑} ↔ ∃𝑦𝑥(⟨𝑧, 𝑤⟩ = ⟨𝑦, 𝑥⟩ ∧ 𝜑))
1613, 14, 153bitr4i 302 . 2 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑦, 𝑥⟩ ∣ 𝜑})
171, 2, 16eqrelriiv 5792 1 {⟨𝑥, 𝑦⟩ ∣ 𝜑} = {⟨𝑦, 𝑥⟩ ∣ 𝜑}
Colors of variables: wff setvar class
Syntax hints:  wa 394   = wceq 1533  wex 1773  wcel 2098  cop 4636  {copab 5211  ccnv 5677
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-11 2146  ax-ext 2696  ax-sep 5300  ax-nul 5307  ax-pr 5429
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-sb 2060  df-clab 2703  df-cleq 2717  df-clel 2802  df-rab 3419  df-v 3463  df-dif 3947  df-un 3949  df-ss 3961  df-nul 4323  df-if 4531  df-sn 4631  df-pr 4633  df-op 4637  df-br 5150  df-opab 5212  df-xp 5684  df-rel 5685  df-cnv 5686
This theorem is referenced by:  mptcnv  6146  cnvxp  6163  mptpreima  6244  f1ocnvd  7672  cnvoprab  8065  mapsncnv  8912  cnvepnep  9633  compsscnv  10396  dfiso2  17758  xkocnv  23762  lgsquadlem3  27360  axcontlem2  28848  cnvadj  31774  f1o3d  32493  cnvoprabOLD  32584  xrninxp  37994  prjspeclsp  42171  fsovrfovd  43581
  Copyright terms: Public domain W3C validator