ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nnpredcl GIF version

Theorem nnpredcl 4768
Description: The predecessor of a natural number is a natural number. This theorem is most interesting when the natural number is a successor (as seen in theorems like onsucuni2 4709) but also holds when it is by uni0 3960. (Contributed by Jim Kingdon, 31-Jul-2022.)
Assertion
Ref Expression
nnpredcl (𝐴 ∈ ω → 𝐴 ∈ ω)

Proof of Theorem nnpredcl
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 unieq 3942 . . . 4 (𝐴 = ∅ → 𝐴 = ∅)
2 uni0 3960 . . . . 5 ∅ = ∅
3 peano1 4739 . . . . 5 ∅ ∈ ω
42, 3eqeltri 2311 . . . 4 ∅ ∈ ω
51, 4eqeltrdi 2329 . . 3 (𝐴 = ∅ → 𝐴 ∈ ω)
65adantl 277 . 2 ((𝐴 ∈ ω ∧ 𝐴 = ∅) → 𝐴 ∈ ω)
7 nnon 4755 . . . . . 6 (𝐴 ∈ ω → 𝐴 ∈ On)
87adantr 276 . . . . 5 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ On)
9 simpr 110 . . . . 5 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
10 onsucuni2 4709 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐴 = suc 𝑥) → suc 𝐴 = 𝐴)
1110ex 115 . . . . . 6 (𝐴 ∈ On → (𝐴 = suc 𝑥 → suc 𝐴 = 𝐴))
1211rexlimdvw 2672 . . . . 5 (𝐴 ∈ On → (∃𝑥 ∈ ω 𝐴 = suc 𝑥 → suc 𝐴 = 𝐴))
138, 9, 12sylc 62 . . . 4 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → suc 𝐴 = 𝐴)
14 simpl 109 . . . 4 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ ω)
1513, 14eqeltrd 2315 . . 3 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → suc 𝐴 ∈ ω)
16 peano2b 4760 . . 3 ( 𝐴 ∈ ω ↔ suc 𝐴 ∈ ω)
1715, 16sylibr 134 . 2 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ ω)
18 nn0suc 4749 . 2 (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
196, 17, 18mpjaodan 810 1 (𝐴 ∈ ω → 𝐴 ∈ ω)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1402  wcel 2209  wrex 2529  c0 3520   cuni 3933  Oncon0 4506  suc csuc 4508  ωcom 4735
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4247  ax-nul 4257  ax-pow 4309  ax-pr 4344  ax-un 4576  ax-iinf 4733
This theorem depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-pw 3690  df-sn 3714  df-pr 3715  df-uni 3934  df-int 3969  df-tr 4228  df-iord 4509  df-on 4511  df-suc 4514  df-iom 4736
This theorem is referenced by:  nnpredlt  4769  omp1eomlem  7428  ctmlemr  7442  nnnninfeq2  7463  nninfisollemne  7465  nninfisol  7467  nnsf  17022  peano4nninf  17023
  Copyright terms: Public domain W3C validator