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

Theorem nnpredcl 4660
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 4601) but also holds when it is by uni0 3867. (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 3849 . . . 4 (𝐴 = ∅ → 𝐴 = ∅)
2 uni0 3867 . . . . 5 ∅ = ∅
3 peano1 4631 . . . . 5 ∅ ∈ ω
42, 3eqeltri 2269 . . . 4 ∅ ∈ ω
51, 4eqeltrdi 2287 . . 3 (𝐴 = ∅ → 𝐴 ∈ ω)
65adantl 277 . 2 ((𝐴 ∈ ω ∧ 𝐴 = ∅) → 𝐴 ∈ ω)
7 nnon 4647 . . . . . 6 (𝐴 ∈ ω → 𝐴 ∈ On)
87adantr 276 . . . . 5 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ On)
9 simpr 110 . . . . 5 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → ∃𝑥 ∈ ω 𝐴 = suc 𝑥)
10 onsucuni2 4601 . . . . . . 7 ((𝐴 ∈ On ∧ 𝐴 = suc 𝑥) → suc 𝐴 = 𝐴)
1110ex 115 . . . . . 6 (𝐴 ∈ On → (𝐴 = suc 𝑥 → suc 𝐴 = 𝐴))
1211rexlimdvw 2618 . . . . 5 (𝐴 ∈ On → (∃𝑥 ∈ ω 𝐴 = suc 𝑥 → suc 𝐴 = 𝐴))
138, 9, 12sylc 62 . . . 4 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → suc 𝐴 = 𝐴)
14 simpl 109 . . . 4 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ ω)
1513, 14eqeltrd 2273 . . 3 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → suc 𝐴 ∈ ω)
16 peano2b 4652 . . 3 ( 𝐴 ∈ ω ↔ suc 𝐴 ∈ ω)
1715, 16sylibr 134 . 2 ((𝐴 ∈ ω ∧ ∃𝑥 ∈ ω 𝐴 = suc 𝑥) → 𝐴 ∈ ω)
18 nn0suc 4641 . 2 (𝐴 ∈ ω → (𝐴 = ∅ ∨ ∃𝑥 ∈ ω 𝐴 = suc 𝑥))
196, 17, 18mpjaodan 799 1 (𝐴 ∈ ω → 𝐴 ∈ ω)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1364  wcel 2167  wrex 2476  c0 3451   cuni 3840  Oncon0 4399  suc csuc 4401  ωcom 4627
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 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-13 2169  ax-14 2170  ax-ext 2178  ax-sep 4152  ax-nul 4160  ax-pow 4208  ax-pr 4243  ax-un 4469  ax-iinf 4625
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-fal 1370  df-nf 1475  df-sb 1777  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ral 2480  df-rex 2481  df-v 2765  df-dif 3159  df-un 3161  df-in 3163  df-ss 3170  df-nul 3452  df-pw 3608  df-sn 3629  df-pr 3630  df-uni 3841  df-int 3876  df-tr 4133  df-iord 4402  df-on 4404  df-suc 4407  df-iom 4628
This theorem is referenced by:  nnpredlt  4661  omp1eomlem  7169  ctmlemr  7183  nnnninfeq2  7204  nninfisollemne  7206  nninfisol  7208  nnsf  15736  peano4nninf  15737
  Copyright terms: Public domain W3C validator