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

Theorem preq2b 4848
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 4736 . . 3 {𝐶, 𝐴} = {𝐴, 𝐶}
2 prcom 4736 . . 3 {𝐶, 𝐵} = {𝐵, 𝐶}
31, 2eqeq12i 2749 . 2 ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ {𝐴, 𝐶} = {𝐵, 𝐶})
4 preq1b.a . . 3 (𝜑𝐴𝑉)
5 preq1b.b . . 3 (𝜑𝐵𝑊)
64, 5preq1b 4847 . 2 (𝜑 → ({𝐴, 𝐶} = {𝐵, 𝐶} ↔ 𝐴 = 𝐵))
73, 6bitrid 283 1 (𝜑 → ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1540  wcel 2105  {cpr 4630
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-tru 1543  df-ex 1781  df-sb 2067  df-clab 2709  df-cleq 2723  df-clel 2809  df-v 3475  df-un 3953  df-sn 4629  df-pr 4631
This theorem is referenced by:  umgr2v2enb1  29217  clsk1indlem4  43260
  Copyright terms: Public domain W3C validator