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

Theorem elprn2 4611
Description: A member of an unordered pair that is not the "second", must be the "first". (Contributed by Glauco Siliprandi, 11-Dec-2019.)
Assertion
Ref Expression
elprn2 ((𝐴 ∈ {𝐵, 𝐶} ∧ 𝐴𝐶) → 𝐴 = 𝐵)

Proof of Theorem elprn2
StepHypRef Expression
1 elpri 4606 . . 3 (𝐴 ∈ {𝐵, 𝐶} → (𝐴 = 𝐵𝐴 = 𝐶))
21adantr 484 . 2 ((𝐴 ∈ {𝐵, 𝐶} ∧ 𝐴𝐶) → (𝐴 = 𝐵𝐴 = 𝐶))
3 neneq 2963 . . 3 (𝐴𝐶 → ¬ 𝐴 = 𝐶)
43adantl 485 . 2 ((𝐴 ∈ {𝐵, 𝐶} ∧ 𝐴𝐶) → ¬ 𝐴 = 𝐶)
52, 4olcnd 888 1 ((𝐴 ∈ {𝐵, 𝐶} ∧ 𝐴𝐶) → 𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wo 858   = wceq 1560  wcel 2142  wne 2957  {cpr 4584
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-ext 2734
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-tru 1563  df-ex 1800  df-sb 2091  df-clab 2741  df-cleq 2754  df-clel 2837  df-ne 2958  df-v 3456  df-un 3909  df-sn 4583  df-pr 4585
This theorem is referenced by:  esplymhp  33865
  Copyright terms: Public domain W3C validator