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

Theorem nelpri 4616
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 3055 . . 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 1572   ∈ wcel 2150   ≠ wne 2962  {cpr 4589
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-v 3455  df-un 4153  df-sn 4588  df-pr 4590
This theorem is used by:  prneli  4617  cnfldfun  21746  ex-dif  31083  ex-in  31085  ex-pss  31088  ex-res  31101  ex-hash  31113
  Copyright terms: Public domain W3C validator