![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > difsnexi | Structured version Visualization version GIF version |
Description: If the difference of a class and a singleton is a set, the class itself is a set. (Contributed by AV, 15-Jan-2019.) |
Ref | Expression |
---|---|
difsnexi | ⊢ ((𝑁 ∖ {𝐾}) ∈ V → 𝑁 ∈ V) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpr 486 | . . . . 5 ⊢ ((𝐾 ∈ 𝑁 ∧ (𝑁 ∖ {𝐾}) ∈ V) → (𝑁 ∖ {𝐾}) ∈ V) | |
2 | snex 5427 | . . . . 5 ⊢ {𝐾} ∈ V | |
3 | unexg 7723 | . . . . 5 ⊢ (((𝑁 ∖ {𝐾}) ∈ V ∧ {𝐾} ∈ V) → ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∈ V) | |
4 | 1, 2, 3 | sylancl 587 | . . . 4 ⊢ ((𝐾 ∈ 𝑁 ∧ (𝑁 ∖ {𝐾}) ∈ V) → ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∈ V) |
5 | difsnid 4809 | . . . . . . 7 ⊢ (𝐾 ∈ 𝑁 → ((𝑁 ∖ {𝐾}) ∪ {𝐾}) = 𝑁) | |
6 | 5 | eqcomd 2739 | . . . . . 6 ⊢ (𝐾 ∈ 𝑁 → 𝑁 = ((𝑁 ∖ {𝐾}) ∪ {𝐾})) |
7 | 6 | eleq1d 2819 | . . . . 5 ⊢ (𝐾 ∈ 𝑁 → (𝑁 ∈ V ↔ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∈ V)) |
8 | 7 | adantr 482 | . . . 4 ⊢ ((𝐾 ∈ 𝑁 ∧ (𝑁 ∖ {𝐾}) ∈ V) → (𝑁 ∈ V ↔ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∈ V)) |
9 | 4, 8 | mpbird 257 | . . 3 ⊢ ((𝐾 ∈ 𝑁 ∧ (𝑁 ∖ {𝐾}) ∈ V) → 𝑁 ∈ V) |
10 | 9 | ex 414 | . 2 ⊢ (𝐾 ∈ 𝑁 → ((𝑁 ∖ {𝐾}) ∈ V → 𝑁 ∈ V)) |
11 | difsn 4797 | . . . 4 ⊢ (¬ 𝐾 ∈ 𝑁 → (𝑁 ∖ {𝐾}) = 𝑁) | |
12 | 11 | eleq1d 2819 | . . 3 ⊢ (¬ 𝐾 ∈ 𝑁 → ((𝑁 ∖ {𝐾}) ∈ V ↔ 𝑁 ∈ V)) |
13 | 12 | biimpd 228 | . 2 ⊢ (¬ 𝐾 ∈ 𝑁 → ((𝑁 ∖ {𝐾}) ∈ V → 𝑁 ∈ V)) |
14 | 10, 13 | pm2.61i 182 | 1 ⊢ ((𝑁 ∖ {𝐾}) ∈ V → 𝑁 ∈ V) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 ∧ wa 397 ∈ wcel 2107 Vcvv 3475 ∖ cdif 3943 ∪ cun 3944 {csn 4624 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-ext 2704 ax-sep 5295 ax-nul 5302 ax-pr 5423 ax-un 7712 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-tru 1545 df-fal 1555 df-ex 1783 df-sb 2069 df-clab 2711 df-cleq 2725 df-clel 2811 df-ne 2942 df-rab 3434 df-v 3477 df-dif 3949 df-un 3951 df-in 3953 df-ss 3963 df-nul 4321 df-sn 4625 df-pr 4627 df-uni 4905 |
This theorem is referenced by: pmtrdifellem1 19328 pmtrdifellem2 19329 tgdif0 22464 |
Copyright terms: Public domain | W3C validator |