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

Theorem nn0suc 7596
 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 3015 . . . 4 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
2 nnsuc 7587 . . . 4 ((𝐴 ∈ ω ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
31, 2sylan2br 597 . . 3 ((𝐴 ∈ ω ∧ ¬ 𝐴 = ∅) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
43ex 416 . 2 (𝐴 ∈ ω → (¬ 𝐴 = ∅ → ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
54orrd 860 1 (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ∨ wo 844   = wceq 1538   ∈ wcel 2115   ≠ wne 3014  ∃wrex 3134  ∅c0 4275  suc csuc 6180  ωcom 7570 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 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pr 5317  ax-un 7451 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ne 3015  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3482  df-sbc 3759  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-pss 3938  df-nul 4276  df-if 4450  df-pw 4523  df-sn 4550  df-pr 4552  df-tp 4554  df-op 4556  df-uni 4825  df-br 5053  df-opab 5115  df-tr 5159  df-eprel 5452  df-po 5461  df-so 5462  df-fr 5501  df-we 5503  df-ord 6181  df-on 6182  df-lim 6183  df-suc 6184  df-om 7571 This theorem is referenced by:  nnawordex  8253  nneneq  8691  php  8692  cantnfvalf  9119  cantnflt  9126  hsmexlem9  9839  winainflem  10107  bnj517  32182  trpredlem1  33091  trpred0  33100  trpredrec  33102
 Copyright terms: Public domain W3C validator