Documentation

LeanPool.DomainTheory.Neighborhood.Exercise418

Exercise 4.18 (Scott 1981, PRG-19, Lecture IV) #

In Example 4.3 there are many unproved assertions about N and F. These should be checked.

Example43.lean builds the natural-number domain N, the total elements n̂ = natElem n, and the structure maps succ, pred, zero with their value equations. This file discharges the remaining structural assertions Scott leaves implicit:

The classification is classical (it decides whether x contains a singleton, exactly as Example 4.3's zeroMap is classical); the injectivity / zero-is-not-a-successor facts are choice-free.

Exercise 4.18 (Scott 1981, PRG-19). Element classification: every element of |N| is either the bottom or a total element . So N is the flat domain over .

Exercise 4.18 (Scott 1981, PRG-19). The numerals are distinct: n̂ = m̂ ⟹ n = m.

Exercise 4.18 (Scott 1981, PRG-19). succ is injective on the total elements.

Exercise 4.18 (Scott 1981, PRG-19). is not a numeral successor.

Exercise 4.18 (Scott 1981, PRG-19). is not in the image of succ — Peano's "zero is not a successor".