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

Theorem difprsnss 4729
Description: Removal of a singleton from an unordered pair. (Contributed by NM, 16-Mar-2006.) (Proof shortened by Andrew Salmon, 29-Jun-2011.)
Assertion
Ref Expression
difprsnss ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}

Proof of Theorem difprsnss
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 vex 3426 . . . . 5 𝑥 ∈ V
21elpr 4581 . . . 4 (𝑥 ∈ {𝐴, 𝐵} ↔ (𝑥 = 𝐴𝑥 = 𝐵))
3 velsn 4574 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
43notbii 319 . . . 4 𝑥 ∈ {𝐴} ↔ ¬ 𝑥 = 𝐴)
5 biorf 933 . . . . 5 𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ (𝑥 = 𝐴𝑥 = 𝐵)))
65biimparc 479 . . . 4 (((𝑥 = 𝐴𝑥 = 𝐵) ∧ ¬ 𝑥 = 𝐴) → 𝑥 = 𝐵)
72, 4, 6syl2anb 597 . . 3 ((𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}) → 𝑥 = 𝐵)
8 eldif 3893 . . 3 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) ↔ (𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}))
9 velsn 4574 . . 3 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
107, 8, 93imtr4i 291 . 2 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) → 𝑥 ∈ {𝐵})
1110ssriv 3921 1 ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395  wo 843   = wceq 1539  wcel 2108  cdif 3880  wss 3883  {csn 4558  {cpr 4560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-sn 4559  df-pr 4561
This theorem is referenced by:  en2other2  9696  pmtrprfv  18976  itg11  24760
  Copyright terms: Public domain W3C validator