Enderton.Set.Chapter_4 #
Natural Numbers
Theorem 4N #
For any natural numbers n
, m
, and p
,
m ∈ n ↔ m ⬝ p ∈ n ⬝ p.
If, in addition, p ≠ 0
, then
m ∈ n ↔ m ⬝ p ∈ n ⬝ p.
Corollary 4P #
The following cancellation laws hold for m
, n
, and p
in ω
:
m + p = n + p ⇒ m = n,
m ⬝ p = n ⬝ p ∧ p ≠ 0 ⇒ m = n.
theorem
Enderton.Set.Chapter_4.well_ordering_nat
{A : Set ℕ}
(hA : Set.Nonempty A)
:
∃ m ∈ A, ∀ n ∈ A, m ≤ n
Well Ordering of ω #
Let A
be a nonempty subset of ω
. Then there is some m ∈ A
such that
m ≤ n
for all n ∈ A
.
Exercise 4.1 #
Show that 1 ≠ 3
i.e., that ∅⁺ ≠ ∅⁺⁺⁺
.
Call a natural number even if it has the form 2 ⬝ m
for some m
.
Equations
- Enderton.Set.Chapter_4.even n = ∃ (m : ℕ), 2 * m = n
Instances For
Call a natural number odd if it has the form (2 ⬝ p) + 1
for some p
.
Instances For
Exercise 4.14 #
Show that each natural number is either even or odd, but never both.
Exercise 4.23 #
Assume that m
and n
are natural numbers with m
less than n
. Show that
there is some p
in ω
for which m + p⁺ = n
. (It follows from this and the
preceding exercise that m
is less than n
iff (∃p ∈ ω) m + p⁺ = n
.)