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

Theorem difprsnss 4725
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 3497 . . . . 5 𝑥 ∈ V
21elpr 4583 . . . 4 (𝑥 ∈ {𝐴, 𝐵} ↔ (𝑥 = 𝐴𝑥 = 𝐵))
3 velsn 4576 . . . . 5 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
43notbii 322 . . . 4 𝑥 ∈ {𝐴} ↔ ¬ 𝑥 = 𝐴)
5 biorf 933 . . . . 5 𝑥 = 𝐴 → (𝑥 = 𝐵 ↔ (𝑥 = 𝐴𝑥 = 𝐵)))
65biimparc 482 . . . 4 (((𝑥 = 𝐴𝑥 = 𝐵) ∧ ¬ 𝑥 = 𝐴) → 𝑥 = 𝐵)
72, 4, 6syl2anb 599 . . 3 ((𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}) → 𝑥 = 𝐵)
8 eldif 3945 . . 3 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) ↔ (𝑥 ∈ {𝐴, 𝐵} ∧ ¬ 𝑥 ∈ {𝐴}))
9 velsn 4576 . . 3 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
107, 8, 93imtr4i 294 . 2 (𝑥 ∈ ({𝐴, 𝐵} ∖ {𝐴}) → 𝑥 ∈ {𝐵})
1110ssriv 3970 1 ({𝐴, 𝐵} ∖ {𝐴}) ⊆ {𝐵}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 398  wo 843   = wceq 1533  wcel 2110  cdif 3932  wss 3935  {csn 4560  {cpr 4562
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-sn 4561  df-pr 4563
This theorem is referenced by:  en2other2  9429  pmtrprfv  18575  itg11  24286
  Copyright terms: Public domain W3C validator