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

Theorem difprsn2 4801
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 4732 . . 3 {𝐴, 𝐵} = {𝐵, 𝐴}
21difeq1i 4122 . 2 ({𝐴, 𝐵} ∖ {𝐵}) = ({𝐵, 𝐴} ∖ {𝐵})
3 necom 2994 . . 3 (𝐴𝐵𝐵𝐴)
4 difprsn1 4800 . . 3 (𝐵𝐴 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
53, 4sylbi 217 . 2 (𝐴𝐵 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
62, 5eqtrid 2789 1 (𝐴𝐵 → ({𝐴, 𝐵} ∖ {𝐵}) = {𝐴})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1540  wne 2940  cdif 3948  {csn 4626  {cpr 4628
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-tru 1543  df-fal 1553  df-ex 1780  df-sb 2065  df-clab 2715  df-cleq 2729  df-clel 2816  df-ne 2941  df-ral 3062  df-rab 3437  df-v 3482  df-dif 3954  df-un 3956  df-in 3958  df-nul 4334  df-sn 4627  df-pr 4629
This theorem is referenced by:  f12dfv  7293  pmtrprfval  19505  nbgr2vtx1edg  29367  nbuhgr2vtx1edgb  29369  nfrgr2v  30291  indsupp  32852  cycpm2tr  33139  drngmxidl  33505  ldepsnlinc  48425
  Copyright terms: Public domain W3C validator