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

Theorem nelpri 4615
Description: If an element doesn't match the items in an unordered pair, it is not in the unordered pair. (Contributed by David A. Wheeler, 10-May-2015.)
Hypotheses
Ref Expression
nelpri.1 𝐴 ≠ 𝐵
nelpri.2 𝐴 ≠ 𝐶
Assertion
Ref Expression
nelpri ¬ 𝐴 ∈ {𝐵, 𝐶}

Proof of Theorem nelpri
StepHypRef Expression
1 nelpri.1 . 2 𝐴 ≠ 𝐵
2 nelpri.2 . 2 𝐴 ≠ 𝐶
3 neanior 3048 . . 3 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶) ↔ ¬ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))
4 elpri 4607 . . . 4 (𝐴 ∈ {𝐵, 𝐶} → (𝐴 = 𝐵 ∨ 𝐴 = 𝐶))
54con3i 155 . . 3 (¬ (𝐴 = 𝐵 ∨ 𝐴 = 𝐶) → ¬ 𝐴 ∈ {𝐵, 𝐶})
63, 5sylbi 220 . 2 ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶) → ¬ 𝐴 ∈ {𝐵, 𝐶})
71, 2, 6mp2an 705 1 ¬ 𝐴 ∈ {𝐵, 𝐶}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  {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-ne 2956  df-v 3452  df-un 4151  df-sn 4584  df-pr 4586
This theorem is used by:  prneli  4616  ex-dif  31024  ex-in  31026  ex-pss  31029  ex-res  31042  ex-hash  31054
  Copyright terms: Public domain W3C validator