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

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

Proof of Theorem difsnb
StepHypRef Expression
1 difsn 4757 . 2 (¬ 𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) = 𝐵)
2 neldifsnd 4752 . . . . 5 (𝐴 ∈ 𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴}))
3 nelne1 3052 . . . . 5 ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴}))
42, 3mpdan 700 . . . 4 (𝐴 ∈ 𝐵 → 𝐵 ≠ (𝐵 ∖ {𝐴}))
54necomd 3010 . . 3 (𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵)
65necon2bi 2985 . 2 ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴 ∈ 𝐵)
71, 6impbii 212 1 (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   ∖ cdif 4044  {csn 4584
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-v 3452  df-dif 4046  df-sn 4585
This theorem is used by:  difsnpss  4766  incexclem  16014  mrieqv2d  17822  mreexmrid  17826  mreexexlem2d  17828  mreexexlem4d  17830  acsfiindd  18736
  Copyright terms: Public domain W3C validator