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

Theorem difprsn2 4764
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 4693 . . 3 {𝐴, 𝐵} = {𝐵, 𝐴}
21difeq1i 4070 . 2 ({𝐴, 𝐵} ∖ {𝐵}) = ({𝐵, 𝐴} ∖ {𝐵})
3 necom 3009 . . 3 (𝐴 ≠ 𝐵 ↔ 𝐵 ≠ 𝐴)
4 difprsn1 4763 . . 3 (𝐵 ≠ 𝐴 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
53, 4sylbi 220 . 2 (𝐴 ≠ 𝐵 → ({𝐵, 𝐴} ∖ {𝐵}) = {𝐴})
62, 5eqtrid 2808 1 (𝐴 ≠ 𝐵 → ({𝐴, 𝐵} ∖ {𝐵}) = {𝐴})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ≠ wne 2956   ∖ cdif 3896  {csn 4584  {cpr 4586
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-nul 4280  df-sn 4585  df-pr 4587
This theorem is used by:  f12dfv  7273  pmtrprfval  19681  nbgr2vtx1edg  29913  nbuhgr2vtx1edgb  29915  nfrgr2v  30855  indsupp  33416  cycpm2tr  33662  drngmxidl  33983  ldepsnlinc  49564
  Copyright terms: Public domain W3C validator