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 2941 . . . 4 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
2 nnsuc 7869 . . . 4 ((𝐴 ∈ ω ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
31, 2sylan2br 595 . . 3 ((𝐴 ∈ ω ∧ ¬ 𝐴 = ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
43ex 413 . 2 (𝐴 ∈ ω → (¬ 𝐴 = ∅ → ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
54orrd 861 1 (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wo 845   = wceq 1541  wcel 2106  wne 2940  wrex 3070  c0 4321  suc csuc 6363  ωcom 7851
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703  ax-sep 5298  ax-nul 5305  ax-pr 5426  ax-un 7721
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-br 5148  df-opab 5210  df-tr 5265  df-eprel 5579  df-po 5587  df-so 5588  df-fr 5630  df-we 5632  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-om 7852
This theorem is referenced by:  nnawordex  8633  nneneq  9205  php  9206  nneneqOLD  9217  phpOLD  9218  cantnfvalf  9656  cantnflt  9663  ttrclselem1  9716  ttrclselem2  9717  hsmexlem9  10416  winainflem  10684  bnj517  33884  nnuni  34684
  Copyright terms: Public domain W3C validator