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

Theorem difprsn2 4769
Description: Removal of a singleton from an unordered pair. (Contributed by Alexander van der Vekens, 5-Oct-2017.)
Assertion
Ref Expression
difprsn2 (𝐴 ≠ 𝐵 → ({𝐴, 𝐵} ∖ {𝐵}) = {𝐴})

Proof of Theorem difprsn2
StepHypRef Expression
1 prcom 4698 . . 3 {𝐴, 𝐵} = {𝐵, 𝐴}
21difeq1i 4064 . 2 ({𝐴, 𝐵} ∖ {𝐵}) = ({𝐵, 𝐴} ∖ {𝐵})
3 necom 3018 . . 3 (𝐴 ≠ 𝐵 ↔ 𝐵 ≠ 𝐴)
4 difprsn1 4768 . . 3 (𝐵 ≠ 𝐴 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
53, 4sylbi 220 . 2 (𝐴 ≠ 𝐵 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
62, 5eqtrid 2816 1 (𝐴 ≠ 𝐵 → ({𝐴, 𝐵} ∖ {𝐵}) = {𝐴})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ≠ wne 2965   ∖ 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-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rab 3419  df-v 3458  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-sn 4591  df-pr 4593
This theorem is used by:  f12dfv  7322  pmtrprfval  19774  nbgr2vtx1edg  30055  nbuhgr2vtx1edgb  30057  nfrgr2v  30997  indsupp  33592  cycpm2tr  33837  drngmxidl  34150  ldepsnlinc  50079
  Copyright terms: Public domain W3C validator