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

Theorem difsnb 4787
Description: (𝐵 ∖ {𝐴}) equals 𝐵 if and only if 𝐴 is not a member of 𝐵. Generalization of difsn 4779. (Contributed by David Moews, 1-May-2017.)
Assertion
Ref Expression
difsnb 𝐴𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)

Proof of Theorem difsnb
StepHypRef Expression
1 difsn 4779 . 2 𝐴𝐵 → (𝐵 ∖ {𝐴}) = 𝐵)
2 neldifsnd 4774 . . . . 5 (𝐴𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴}))
3 nelne1 3030 . . . . 5 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴}))
42, 3mpdan 687 . . . 4 (𝐴𝐵𝐵 ≠ (𝐵 ∖ {𝐴}))
54necomd 2988 . . 3 (𝐴𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵)
65necon2bi 2963 . 2 ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴𝐵)
71, 6impbii 209 1 𝐴𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 206   = wceq 1540  wcel 2109  wne 2933  cdif 3928  {csn 4606
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 2008  ax-8 2111  ax-9 2119  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1543  df-ex 1780  df-sb 2066  df-clab 2715  df-cleq 2728  df-clel 2810  df-ne 2934  df-v 3466  df-dif 3934  df-sn 4607
This theorem is referenced by:  difsnpss  4788  incexclem  15857  mrieqv2d  17656  mreexmrid  17660  mreexexlem2d  17662  mreexexlem4d  17664  acsfiindd  18568
  Copyright terms: Public domain W3C validator