Exercise 1.14 (Scott 1981, PRG-19, §1) — finite non-empty subsets of ℕ #
Let Δ = ℕ and take as neighbourhoods the finite non-empty subsets of ℕ,
together with Δ
itself. This is the infinite analogue of Example 1.5 (where Δ was finite).
Deliverables:
neighborhoodSystem : NeighborhoodSystem ℕ— "Show that this is a neighbourhood system." Unlike the tail/binary examples this is not nested-or-disjoint (two finite sets may overlap partially), so condition (ii) is checked by hand: the consistency witnessZ ⊆ X ∩ YkeepsX ∩ Ynon-empty, andX ∩ Yis finite as soon as either factor is.- Finite elements.
fin h = ↑X(the principal filters), Scott's finite elements. - Total elements. "What are the total elements?" The maximal filters are
exactly the principals
of singletons:
singleton_isTotalshows↑{n}is total (a filter strictly above it would have to contain a set missingn, forcing∅ ∈ 𝒟).
Constructive ([propext, Quot.sound]).
Exercise 1.14. The neighbourhood system of finite non-empty subsets of ℕ
(plus Δ = ℕ).
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
Finite elements (principals) and total elements (singletons). #
The finite element ↑X for a neighbourhood X (Scott's finite elements).
Equations
Instances For
⊥ = ↑Δ = ↑ℕ, the least element.
Equations
Instances For
Exercise 1.14 (total elements). The principal filter of a singleton
{n} is a total
(maximal) element: any y it approximates approximates it back. (A y ⊋ ↑{n}
would contain some
W ∌ n; then {n} ∩ W = ∅ ∈ y ⊆ 𝒟, impossible.) These are exactly the total
elements.