Documentation

LeanPool.DomainTheory.Neighborhood.Exercise113

Exercise 1.13 (Scott 1981, PRG-19, §1) — the infinite binary system B, #

revisited

Scott: "Verify all the assertions made about the system B … Draw a picture … which includes nodes for all σ ∈ Σ* … and where the total elements lie. (The picture … has to have limit nodes all along the top.)"

The "assertions about B" are exactly the content of ExampleB.lean:

This file supplies the limit nodes: for an infinite path p : ℕ → Bool we build the element branch p ∈ |B| as the ascending union (Theorem 1.11(ii)) of the finite approximations σₙ⊥ = (p↾n)⊥, show every finite approximation approximates it (branchSeq_le_branch), and prove it is a total (maximal) element (branch_isTotal). These are the nodes "along the top".

Constructive except branch_isTotal's use of B's structure (still [propext, Quot.sound]).

The length-n initial segment p ↾ n = ⟨p 0, …, p (n-1)⟩ of an infinite path p.

Equations
Instances For

    The limit/total element of an infinite path p: the ascending union ⋃ₙ (p ↾ n)⊥ (Theorem 1.11(ii)). These are the "limit nodes all along the top" of Scott's picture.

    Equations
    Instances For

      cone σ ∈ branch p iff σ is an initial segment of some p ↾ n, i.e. σ lies on the path.

      Every finite approximation (p ↾ n)⊥ approximates the limit element branch p.

      Two neighbourhoods present in a common element of |B| have comparable generating prefixes (their cones cannot be disjoint, since the intersection is a nonempty cone).

      Exercise 1.13 (total elements). Each infinite path p gives a total (maximal) element branch p: any y it approximates approximates it back. (These maximal elements are exactly the limit nodes along the top of the binary-tree picture.)