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

Theorem difprsn1 4271
Description: Removal of a singleton from an unordered pair. (Contributed by Thierry Arnoux, 4-Feb-2017.)
Assertion
Ref Expression
difprsn1 (𝐴𝐵 → ({𝐴, 𝐵} ∖ {𝐴}) = {𝐵})

Proof of Theorem difprsn1
StepHypRef Expression
1 necom 2835 . 2 (𝐵𝐴𝐴𝐵)
2 disjsn2 4193 . . . 4 (𝐵𝐴 → ({𝐵} ∩ {𝐴}) = ∅)
3 disj3 3973 . . . 4 (({𝐵} ∩ {𝐴}) = ∅ ↔ {𝐵} = ({𝐵} ∖ {𝐴}))
42, 3sylib 207 . . 3 (𝐵𝐴 → {𝐵} = ({𝐵} ∖ {𝐴}))
5 df-pr 4128 . . . . . 6 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
65equncomi 3721 . . . . 5 {𝐴, 𝐵} = ({𝐵} ∪ {𝐴})
76difeq1i 3686 . . . 4 ({𝐴, 𝐵} ∖ {𝐴}) = (({𝐵} ∪ {𝐴}) ∖ {𝐴})
8 difun2 4000 . . . 4 (({𝐵} ∪ {𝐴}) ∖ {𝐴}) = ({𝐵} ∖ {𝐴})
97, 8eqtri 2632 . . 3 ({𝐴, 𝐵} ∖ {𝐴}) = ({𝐵} ∖ {𝐴})
104, 9syl6reqr 2663 . 2 (𝐵𝐴 → ({𝐴, 𝐵} ∖ {𝐴}) = {𝐵})
111, 10sylbir 224 1 (𝐴𝐵 → ({𝐴, 𝐵} ∖ {𝐴}) = {𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1475  wne 2780  cdif 3537  cun 3538  cin 3539  c0 3874  {csn 4125  {cpr 4127
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-sn 4126  df-pr 4128
This theorem is referenced by:  difprsn2  4272  f12dfv  6429  pmtrprfval  17730  usgra1v  25919  cusgra2v  25991  frgra2v  26526  eulerpartlemgf  29768  coinflippvt  29873  nbgr2vtx1edg  40572  nbuhgr2vtx1edgb  40574  nfrgr2v  41442  ldepsnlinc  42091
  Copyright terms: Public domain W3C validator