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

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

Proof of Theorem difsnb
StepHypRef Expression
1 difsn 4771 . 2 (¬ 𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) = 𝐵)
2 neldifsnd 4766 . . . . 5 (𝐴 ∈ 𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴}))
3 nelne1 3067 . . . . 5 ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴}))
42, 3mpdan 700 . . . 4 (𝐴 ∈ 𝐵 → 𝐵 ≠ (𝐵 ∖ {𝐴}))
54necomd 3025 . . 3 (𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵)
65necon2bi 3000 . 2 ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴 ∈ 𝐵)
71, 6impbii 212 1 (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1572   ∈ wcel 2156   ≠ wne 2970   ∖ cdif 4055  {csn 4595
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-v 3463  df-dif 4057  df-sn 4596
This theorem is used by:  difsnpss  4780  incexclem  16070  mrieqv2d  17891  mreexmrid  17895  mreexexlem2d  17897  mreexexlem4d  17899  acsfiindd  18805
  Copyright terms: Public domain W3C validator