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

Theorem difprsnss 4712
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 3412 . . . . 5 𝑥 ∈ V
21elpr 4564 . . . 4 (𝑥 ∈ {𝐴, 𝐵} ↔ (𝑥 = 𝐴𝑥 = 𝐵))
3 velsn 4557 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
43notbii 323 . . . 4 𝑥 ∈ {𝐴} ↔ ¬ 𝑥 = 𝐴)
5 biorf 937 . . . . 5 𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ (𝑥 = 𝐴𝑥 = 𝐵)))
65biimparc 483 . . . 4 (((𝑥 = 𝐴𝑥 = 𝐵) ∧ ¬ 𝑥 = 𝐴) → 𝑥 = 𝐵)
72, 4, 6syl2anb 601 . . 3 ((𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}) → 𝑥 = 𝐵)
8 eldif 3876 . . 3 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) ↔ (𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}))
9 velsn 4557 . . 3 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
107, 8, 93imtr4i 295 . 2 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) → 𝑥 ∈ {𝐵})
1110ssriv 3905 1 ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 399  wo 847   = wceq 1543  wcel 2110  cdif 3863  wss 3866  {csn 4541  {cpr 4543
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-sn 4542  df-pr 4544
This theorem is referenced by:  en2other2  9623  pmtrprfv  18845  itg11  24588
  Copyright terms: Public domain W3C validator