| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > difsnb | Structured version Visualization version GIF version | ||
| Description: (𝐵 ∖ {𝐴}) equals 𝐵 if and only if 𝐴 is not a member of 𝐵. Generalization of difsn 4761. (Contributed by David Moews, 1-May-2017.) |
| Ref | Expression |
|---|---|
| difsnb | ⊢ (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | difsn 4761 | . 2 ⊢ (¬ 𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) = 𝐵) | |
| 2 | neldifsnd 4756 | . . . . 5 ⊢ (𝐴 ∈ 𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) | |
| 3 | nelne1 3052 | . . . . 5 ⊢ ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴})) | |
| 4 | 2, 3 | mpdan 700 | . . . 4 ⊢ (𝐴 ∈ 𝐵 → 𝐵 ≠ (𝐵 ∖ {𝐴})) |
| 5 | 4 | necomd 3010 | . . 3 ⊢ (𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵) |
| 6 | 5 | necon2bi 2985 | . 2 ⊢ ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴 ∈ 𝐵) |
| 7 | 1, 6 | impbii 212 | 1 ⊢ (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 ↔ wb 209 = wceq 1570 ∈ wcel 2145 ≠ wne 2955 ∖ cdif 3896 {csn 4584 |
| 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 2732 |
| This proof depends on definitions: df-bi 210 df-an 402 df-tru 1573 df-ex 1813 df-sb 2100 df-clab 2739 df-cleq 2752 df-clel 2835 df-ne 2956 df-v 3452 df-dif 3902 df-sn 4585 |
| This theorem is used by: difsnpss 4770 incexclem 15925 mrieqv2d 17727 mreexmrid 17731 mreexexlem2d 17733 mreexexlem4d 17735 acsfiindd 18641 |
| Copyright terms: Public domain | W3C validator |