Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > rabsnif | Structured version Visualization version GIF version |
Description: A restricted class abstraction restricted to a singleton is either the empty set or the singleton itself. (Contributed by AV, 12-Apr-2019.) (Proof shortened by AV, 21-Jul-2019.) |
Ref | Expression |
---|---|
rabsnif.f | ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) |
Ref | Expression |
---|---|
rabsnif | ⊢ {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | rabsnifsb 4658 | . . 3 ⊢ {𝑥 ∈ {𝐴} ∣ 𝜑} = if([𝐴 / 𝑥]𝜑, {𝐴}, ∅) | |
2 | rabsnif.f | . . . . 5 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) | |
3 | 2 | sbcieg 3756 | . . . 4 ⊢ (𝐴 ∈ V → ([𝐴 / 𝑥]𝜑 ↔ 𝜓)) |
4 | 3 | ifbid 4482 | . . 3 ⊢ (𝐴 ∈ V → if([𝐴 / 𝑥]𝜑, {𝐴}, ∅) = if(𝜓, {𝐴}, ∅)) |
5 | 1, 4 | eqtrid 2790 | . 2 ⊢ (𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅)) |
6 | rab0 4316 | . . . 4 ⊢ {𝑥 ∈ ∅ ∣ 𝜑} = ∅ | |
7 | ifid 4499 | . . . 4 ⊢ if(𝜓, ∅, ∅) = ∅ | |
8 | 6, 7 | eqtr4i 2769 | . . 3 ⊢ {𝑥 ∈ ∅ ∣ 𝜑} = if(𝜓, ∅, ∅) |
9 | snprc 4653 | . . . . 5 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
10 | 9 | biimpi 215 | . . . 4 ⊢ (¬ 𝐴 ∈ V → {𝐴} = ∅) |
11 | 10 | rabeqdv 3419 | . . 3 ⊢ (¬ 𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝑥 ∈ ∅ ∣ 𝜑}) |
12 | 10 | ifeq1d 4478 | . . 3 ⊢ (¬ 𝐴 ∈ V → if(𝜓, {𝐴}, ∅) = if(𝜓, ∅, ∅)) |
13 | 8, 11, 12 | 3eqtr4a 2804 | . 2 ⊢ (¬ 𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅)) |
14 | 5, 13 | pm2.61i 182 | 1 ⊢ {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 = wceq 1539 ∈ wcel 2106 {crab 3068 Vcvv 3432 [wsbc 3716 ∅c0 4256 ifcif 4459 {csn 4561 |
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 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-rab 3073 df-v 3434 df-sbc 3717 df-dif 3890 df-un 3892 df-nul 4257 df-if 4460 df-sn 4562 |
This theorem is referenced by: suppsnop 7994 m1detdiag 21746 1loopgrvd2 27870 1hevtxdg1 27873 1egrvtxdg1 27876 |
Copyright terms: Public domain | W3C validator |