Exercise 1.12 (Scott 1981, PRG-19, §1) — the final-segment system on ℕ #
Let Δ = ℕ and take as neighbourhoods the final segments (tails)
tail n = {m ∈ ℕ ∣ n ≤ m},
so tail 0 = ℕ = Δ and tail 0 ⊇ tail 1 ⊇ tail 2 ⊇ ⋯ is a descending chain
(Scott's {m ∣ m > n}
is tail (n+1)). This generalizes Example 1.3 (a chain) to the countably
infinite case.
Deliverables:
neighborhoodSystem : NeighborhoodSystem ℕ(the tails are pairwise nested, so Factoid 1.4a applies) — verifies it is a neighbourhood system.- Finite elements.
fin n = ↑(tail n), the principal filters; they form an ascendingω-chainfin 0 ⊏ fin 1 ⊏ ⋯(fin_le_iff,fin_strictMono). - The limit / total element.
top = 𝒟itself (all tails) is the greatest element (le_top), is the unique total (maximal) element (top_isTotal,isTotal_iff_top). - Classification (the "only one limit element" hint): every element is either
a finite
fin nor the limittop(element_eq). This single result is classical (it decides whether the set of indices inxis bounded —Nat.findover a¬-predicate); everything else is constructive.
The limit element: the whole system 𝒟, the greatest / unique total #
element.
The limit element top: the filter of all tails (Scott's single limit
node).
Equations
- One or more equations did not get rendered due to their size.
Instances For
top is the greatest element of |𝒟|: every element approximates it.
top is a total (maximal) element.
top is the unique total element: an element is total iff it equals
top.
Exercise 1.12 (classification). Every element is either a finite element
fin n or the
single limit element top. Classical: it decides whether the indices present in
x are bounded.
(Hint realized: "there is only one limit element.")