MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nn0suc Structured version   Visualization version   GIF version

Theorem nn0suc 7882
Description: A natural number is either 0 or a successor. (Contributed by NM, 27-May-1998.)
Assertion
Ref Expression
nn0suc (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
Distinct variable group:   𝑥,𝐴

Proof of Theorem nn0suc
StepHypRef Expression
1 df-ne 2935 . . . 4 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
2 nnsuc 7869 . . . 4 ((𝐴 ∈ ω ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
31, 2sylan2br 594 . . 3 ((𝐴 ∈ ω ∧ ¬ 𝐴 = ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
43ex 412 . 2 (𝐴 ∈ ω → (¬ 𝐴 = ∅ → ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
54orrd 860 1 (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 844   = wceq 1533  wcel 2098  wne 2934  wrex 3064  c0 4317  suc csuc 6359  ωcom 7851
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-ext 2697  ax-sep 5292  ax-nul 5299  ax-pr 5420  ax-un 7721
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-sb 2060  df-clab 2704  df-cleq 2718  df-clel 2804  df-ne 2935  df-ral 3056  df-rex 3065  df-rab 3427  df-v 3470  df-dif 3946  df-un 3948  df-in 3950  df-ss 3960  df-pss 3962  df-nul 4318  df-if 4524  df-pw 4599  df-sn 4624  df-pr 4626  df-op 4630  df-uni 4903  df-br 5142  df-opab 5204  df-tr 5259  df-eprel 5573  df-po 5581  df-so 5582  df-fr 5624  df-we 5626  df-ord 6360  df-on 6361  df-lim 6362  df-suc 6363  df-om 7852
This theorem is referenced by:  nnawordex  8635  nnaordex2  8637  nneneq  9208  php  9209  nneneqOLD  9220  phpOLD  9221  cantnfvalf  9659  cantnflt  9666  ttrclselem1  9719  ttrclselem2  9720  hsmexlem9  10419  winainflem  10687  bnj517  34425  nnuni  35230
  Copyright terms: Public domain W3C validator