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

Theorem mptcnv 5965
Description: The converse of a mapping function. (Contributed by Thierry Arnoux, 16-Jan-2017.)
Hypothesis
Ref Expression
mptcnv.1 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑦𝐶𝑥 = 𝐷)))
Assertion
Ref Expression
mptcnv (𝜑(𝑥𝐴𝐵) = (𝑦𝐶𝐷))
Distinct variable groups:   𝑥,𝑦,𝜑   𝑥,𝐶   𝑥,𝐷   𝑦,𝐴   𝑦,𝐵
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑦)   𝐷(𝑦)

Proof of Theorem mptcnv
StepHypRef Expression
1 mptcnv.1 . . 3 (𝜑 → ((𝑥𝐴𝑦 = 𝐵) ↔ (𝑦𝐶𝑥 = 𝐷)))
21opabbidv 5096 . 2 (𝜑 → {⟨𝑦, 𝑥⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐶𝑥 = 𝐷)})
3 df-mpt 5111 . . . 4 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
43cnveqi 5709 . . 3 (𝑥𝐴𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
5 cnvopab 5964 . . 3 {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 = 𝐵)} = {⟨𝑦, 𝑥⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
64, 5eqtri 2821 . 2 (𝑥𝐴𝐵) = {⟨𝑦, 𝑥⟩ ∣ (𝑥𝐴𝑦 = 𝐵)}
7 df-mpt 5111 . 2 (𝑦𝐶𝐷) = {⟨𝑦, 𝑥⟩ ∣ (𝑦𝐶𝑥 = 𝐷)}
82, 6, 73eqtr4g 2858 1 (𝜑(𝑥𝐴𝐵) = (𝑦𝐶𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  {copab 5092  cmpt 5110  ccnv 5518
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-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-mpt 5111  df-xp 5525  df-rel 5526  df-cnv 5527
This theorem is referenced by:  nvocnv  7016  mptfzshft  15125  fprodrev  15323  pt1hmeo  22411  ballotlemrinv  31901  dssmapnvod  40721
  Copyright terms: Public domain W3C validator