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

Theorem preq2b 4770
Description: Biconditional equality lemma for unordered pairs, deduction form. Two unordered pairs have the same first element iff the second elements are equal. (Contributed by AV, 18-Dec-2020.)
Hypotheses
Ref Expression
preq1b.a (𝜑𝐴𝑉)
preq1b.b (𝜑𝐵𝑊)
Assertion
Ref Expression
preq2b (𝜑 → ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ 𝐴 = 𝐵))

Proof of Theorem preq2b
StepHypRef Expression
1 prcom 4660 . . 3 {𝐶, 𝐴} = {𝐴, 𝐶}
2 prcom 4660 . . 3 {𝐶, 𝐵} = {𝐵, 𝐶}
31, 2eqeq12i 2833 . 2 ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ {𝐴, 𝐶} = {𝐵, 𝐶})
4 preq1b.a . . 3 (𝜑𝐴𝑉)
5 preq1b.b . . 3 (𝜑𝐵𝑊)
64, 5preq1b 4769 . 2 (𝜑 → ({𝐴, 𝐶} = {𝐵, 𝐶} ↔ 𝐴 = 𝐵))
73, 6syl5bb 284 1 (𝜑 → ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207   = wceq 1528  wcel 2105  {cpr 4559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-v 3494  df-un 3938  df-sn 4558  df-pr 4560
This theorem is referenced by:  umgr2v2enb1  27235  clsk1indlem4  40272
  Copyright terms: Public domain W3C validator