Exercise 4.21 (Scott 1981, PRG-19, Lecture IV) — ≤ as a unique fixed point; #
addition & multiplication
Scott asks to show that the less-than-or-equal-to relation ℓ ⊆ ℕ × ℕ is
uniquely determined
by the fixed-point equation
ℓ = {(n, n) ∣ n ∈ ℕ} ∪ {(n, m⁺) ∣ (n, m) ∈ ℓ}.
Working in the power-set domain P(ℕ × ℕ) (a complete lattice, Exercise 4.14),
the right-hand side
is a monotone operator leOp. We show:
leRel = {(n, m) ∣ n ≤ m}solves the equation (leRel_isFixed);- the solution is unique (
leOp_unique): for any fixed pointuone proves, by induction on the second coordinate, that(n, m) ∈ u ↔ n ≤ m. (Unlike a general least-fixed-point situation, here the equation pins the relation down completely, because the clause(n, m⁺)never produces a pair with second coordinate0.)
Scott then considers ⟨P ℕ, ℕ, ⁺⟩ with x⁺ = {n⁺ ∣ n ∈ x} and the unique
function
[·] : ℕ → P ℕ of 4.13(3) determined by [0] = ℕ and [m⁺] = [m]⁺. We identify
it as the up-set
[m] = {k ∣ m ≤ k} (upSet), with upSet_zero/upSet_succ the two recursion
equations and
upSet_unique their uniqueness (4.13(3)).
The structures ⟨ℕ, 0, ⁺⟩ and ⟨[m], m, ⁺⟩ are uniquely isomorphic via n ↦ m + n
(addIso), connecting the isomorphism with ordinary addition
(addIso_apply): the unique
structure-preserving bijection sends n to m + n.
Finally, multiplication: the hint equation n·ℕ = {0} ∪ {n + m ∣ m ∈ n·ℕ}
has, as its least
solution in P ℕ, exactly the set of multiples of n (mulOp_lfp_eq_multiples).
All set-level constructions are choice-free (#print axioms ⊆ {propext, Quot.sound}).
The order relation as a unique fixed point. #
The key step toward uniqueness: any fixed point u of leOp agrees with ≤
pointwise.
By induction on the second coordinate m; the base case m = 0 uses that the
successor clause
cannot produce a 0 on the right.
The function [·] : ℕ → P ℕ of 4.13(3): the up-sets. #
[0] = ℕ: the recursion base of 4.13(3).
The isomorphism ⟨ℕ, 0, ⁺⟩ ≅ ⟨[m], m, ⁺⟩ is addition. #
Exercise 4.21 (Scott 1981, PRG-19). The structure-preserving bijection
between
⟨ℕ, 0, ⁺⟩ and ⟨[m], m, ⁺⟩ (where [m] = {k ∣ m ≤ k}, with distinguished
element m and the
successor ⁺). It is ordinary addition by m: n ↦ m + n.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The isomorphism sends 0 to the distinguished element m of [m].