| 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 4666 | . . 3 ⊢ {𝑥 ∈ {𝐴} ∣ 𝜑} = if([𝐴 / 𝑥]𝜑, {𝐴}, ∅) | |
| 2 | rabsnif.f | . . . . 5 ⊢ (𝑥 = 𝐴 → (𝜑 ↔ 𝜓)) | |
| 3 | 2 | sbcieg 3768 | . . . 4 ⊢ (𝐴 ∈ V → ([𝐴 / 𝑥]𝜑 ↔ 𝜓)) |
| 4 | 3 | ifbid 4490 | . . 3 ⊢ (𝐴 ∈ V → if([𝐴 / 𝑥]𝜑, {𝐴}, ∅) = if(𝜓, {𝐴}, ∅)) |
| 5 | 1, 4 | eqtrid 2783 | . 2 ⊢ (𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅)) |
| 6 | rab0 4326 | . . . 4 ⊢ {𝑥 ∈ ∅ ∣ 𝜑} = ∅ | |
| 7 | ifid 4507 | . . . 4 ⊢ if(𝜓, ∅, ∅) = ∅ | |
| 8 | 6, 7 | eqtr4i 2762 | . . 3 ⊢ {𝑥 ∈ ∅ ∣ 𝜑} = if(𝜓, ∅, ∅) |
| 9 | snprc 4661 | . . . . 5 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
| 10 | 9 | biimpi 216 | . . . 4 ⊢ (¬ 𝐴 ∈ V → {𝐴} = ∅) |
| 11 | 10 | rabeqdv 3404 | . . 3 ⊢ (¬ 𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = {𝑥 ∈ ∅ ∣ 𝜑}) |
| 12 | 10 | ifeq1d 4486 | . . 3 ⊢ (¬ 𝐴 ∈ V → if(𝜓, {𝐴}, ∅) = if(𝜓, ∅, ∅)) |
| 13 | 8, 11, 12 | 3eqtr4a 2797 | . 2 ⊢ (¬ 𝐴 ∈ V → {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅)) |
| 14 | 5, 13 | pm2.61i 182 | 1 ⊢ {𝑥 ∈ {𝐴} ∣ 𝜑} = if(𝜓, {𝐴}, ∅) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 206 = wceq 1542 ∈ wcel 2114 {crab 3389 Vcvv 3429 [wsbc 3728 ∅c0 4273 ifcif 4466 {csn 4567 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2708 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-rab 3390 df-v 3431 df-sbc 3729 df-dif 3892 df-un 3894 df-nul 4274 df-if 4467 df-sn 4568 |
| This theorem is referenced by: suppsnop 8128 m1detdiag 22562 left1s 27887 right1s 27888 1loopgrvd2 29572 1hevtxdg1 29575 1egrvtxdg1 29578 |
| Copyright terms: Public domain | W3C validator |