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

Theorem preq2b 4806
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 4692 . . 3 {𝐶, 𝐴} = {𝐴, 𝐶}
2 prcom 4692 . . 3 {𝐶, 𝐵} = {𝐵, 𝐶}
31, 2eqeq12i 2778 . 2 ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ {𝐴, 𝐶} = {𝐵, 𝐶})
4 preq1b.a . . 3 (𝜑 → 𝐴 ∈ 𝑉)
5 preq1b.b . . 3 (𝜑 → 𝐵 ∈ 𝑊)
64, 5preq1b 4805 . 2 (𝜑 → ({𝐴, 𝐶} = {𝐵, 𝐶} ↔ 𝐴 = 𝐵))
73, 6bitrid 286 1 (𝜑 → ({𝐶, 𝐴} = {𝐶, 𝐵} ↔ 𝐴 = 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1569   ∈ wcel 2144  {cpr 4585
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-v 3452  df-un 4151  df-sn 4584  df-pr 4586
This theorem is used by:  umgr2v2enb1  30107  clsk1indlem4  45086  usgrexmpl2nb0  49171  usgrexmpl2nb1  49172  usgrexmpl2nb2  49173  usgrexmpl2nb3  49174  usgrexmpl2nb4  49175  usgrexmpl2nb5  49176
  Copyright terms: Public domain W3C validator