| 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 4766. (Contributed by David Moews, 1-May-2017.) |
| Ref | Expression |
|---|---|
| difsnb | ⊢ (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | difsn 4766 | . 2 ⊢ (¬ 𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) = 𝐵) | |
| 2 | neldifsnd 4761 | . . . . 5 ⊢ (𝐴 ∈ 𝐵 → ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) | |
| 3 | nelne1 3055 | . . . . 5 ⊢ ((𝐴 ∈ 𝐵 ∧ ¬ 𝐴 ∈ (𝐵 ∖ {𝐴})) → 𝐵 ≠ (𝐵 ∖ {𝐴})) | |
| 4 | 2, 3 | mpdan 699 | . . . 4 ⊢ (𝐴 ∈ 𝐵 → 𝐵 ≠ (𝐵 ∖ {𝐴})) |
| 5 | 4 | necomd 3013 | . . 3 ⊢ (𝐴 ∈ 𝐵 → (𝐵 ∖ {𝐴}) ≠ 𝐵) |
| 6 | 5 | necon2bi 2988 | . 2 ⊢ ((𝐵 ∖ {𝐴}) = 𝐵 → ¬ 𝐴 ∈ 𝐵) |
| 7 | 1, 6 | impbii 212 | 1 ⊢ (¬ 𝐴 ∈ 𝐵 ↔ (𝐵 ∖ {𝐴}) = 𝐵) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 ↔ wb 209 = wceq 1570 ∈ wcel 2143 ≠ wne 2958 ∖ cdif 3902 {csn 4589 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-ext 2735 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-tru 1573 df-ex 1810 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-ne 2959 df-v 3457 df-dif 3908 df-sn 4590 |
| This theorem is referenced by: difsnpss 4775 incexclem 15886 mrieqv2d 17690 mreexmrid 17694 mreexexlem2d 17696 mreexexlem4d 17698 acsfiindd 18604 |
| Copyright terms: Public domain | W3C validator |