| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nn0suc | Structured version Visualization version GIF version | ||
| Description: A natural number is either 0 or a successor. (Contributed by NM, 27-May-1998.) |
| Ref | Expression |
|---|---|
| nn0suc | ⊢ (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-ne 2961 | . . . 4 ⊢ (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅) | |
| 2 | nnsuc 7882 | . . . 4 ⊢ ((𝐴 ∈ ω ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥) | |
| 3 | 1, 2 | sylan2br 607 | . . 3 ⊢ ((𝐴 ∈ ω ∧ ¬ 𝐴 = ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥) |
| 4 | 3 | ex 418 | . 2 ⊢ (𝐴 ∈ ω → (¬ 𝐴 = ∅ → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)) |
| 5 | 4 | orrd 877 | 1 ⊢ (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∨ wo 861 = wceq 1570 ∈ wcel 2146 ≠ wne 2960 ∃wrex 3091 ∅c0 4286 suc csuc 6366 ωcom 7864 |
| 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 2148 ax-9 2156 ax-ext 2737 ax-sep 5259 ax-nul 5271 ax-pr 5406 ax-un 7738 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-sb 2100 df-clab 2744 df-cleq 2757 df-clel 2840 df-ne 2961 df-ral 3082 df-rex 3092 df-rab 3419 df-v 3459 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-pss 3926 df-nul 4287 df-if 4490 df-pw 4566 df-sn 4592 df-pr 4594 df-op 4598 df-uni 4875 df-br 5112 df-opab 5176 df-tr 5221 df-eprel 5563 df-po 5571 df-so 5572 df-fr 5616 df-we 5618 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-om 7865 |
| This theorem is used by: nnawordex 8625 nnaordex2 8627 nneneq 9193 php 9194 cantnfvalf 9637 cantnflt 9644 ttrclselem1 9697 ttrclselem2 9698 hsmexlem9 10420 winainflem 10689 bnj517 35314 nnuni 36232 |
| Copyright terms: Public domain | W3C validator |