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

Theorem difprsnss 4732
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 3436 . . . . 5 𝑥 ∈ V
21elpr 4584 . . . 4 (𝑥 ∈ {𝐴, 𝐵} ↔ (𝑥 = 𝐴𝑥 = 𝐵))
3 velsn 4577 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
43notbii 320 . . . 4 𝑥 ∈ {𝐴} ↔ ¬ 𝑥 = 𝐴)
5 biorf 934 . . . . 5 𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ (𝑥 = 𝐴𝑥 = 𝐵)))
65biimparc 480 . . . 4 (((𝑥 = 𝐴𝑥 = 𝐵) ∧ ¬ 𝑥 = 𝐴) → 𝑥 = 𝐵)
72, 4, 6syl2anb 598 . . 3 ((𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}) → 𝑥 = 𝐵)
8 eldif 3897 . . 3 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) ↔ (𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}))
9 velsn 4577 . . 3 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
107, 8, 93imtr4i 292 . 2 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) → 𝑥 ∈ {𝐵})
1110ssriv 3925 1 ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 396  wo 844   = wceq 1539  wcel 2106  cdif 3884  wss 3887  {csn 4561  {cpr 4563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-sn 4562  df-pr 4564
This theorem is referenced by:  en2other2  9765  pmtrprfv  19061  itg11  24855
  Copyright terms: Public domain W3C validator