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

Theorem difprsnss 4767
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 3460 . . . . 5 𝑥 ∈ V
21elpr 4611 . . . 4 (𝑥 ∈ {𝐴, 𝐵} ↔ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵))
3 velsn 4602 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
43notbii 323 . . . 4 (¬ 𝑥 ∈ {𝐴} ↔ ¬ 𝑥 = 𝐴)
5 biorf 950 . . . . 5 (¬ 𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ (𝑥 = 𝐴 ∨ 𝑥 = 𝐵)))
65biimparc 485 . . . 4 (((𝑥 = 𝐴 ∨ 𝑥 = 𝐵) ∧ ¬ 𝑥 = 𝐴) → 𝑥 = 𝐵)
72, 4, 6syl2anb 610 . . 3 ((𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}) → 𝑥 = 𝐵)
8 eldif 4054 . . 3 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) ↔ (𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}))
9 velsn 4602 . . 3 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
107, 8, 93imtr4i 295 . 2 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) → 𝑥 ∈ {𝐵})
1110ssriv 3919 1 ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2151   ⊆ wss 3902   ∖ cdif 4050  {csn 4590  {cpr 4592
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 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-v 3458  df-ss 3903  df-dif 4052  df-un 4156  df-sn 4591  df-pr 4593
This theorem is used by:  en2other2  10138  ex-chn1  18881  pmtrprfv  19740  itg11  26112
  Copyright terms: Public domain W3C validator