Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 76 7 Solution Created 2026-10-03 Updated 2026-10-14
Use the pointed complete partial order convention: a partially ordered set has a least element and every nonempty directed set has a least upper bound. The argument also works for the convention requiring only suprema of increasing countable chains. The function space of complete partial orders consists of Scott continuous maps, namely monotone maps preserving directed suprema, ordered pointwise. Its least element is the constant map with value .
For a directed family , define . This is its pointwise directed supremum and is monotone. If is directed, thenThe interchange is justified because is directed: choose a common upper map and a common upper input. Thus is Scott continuous, proving that is a cpo. Evaluation is also jointly Scott continuous: for a directed family , the pairs of independently chosen indices are cofinal in a common larger index, so . The same pointwise calculation proves continuity of currying.
Suppose the continuous maps , satisfy . DefineFor an environment , interpret a variable by , application by , and an abstraction byInduction on syntax, using evaluation, currying and continuity of , shows that every environment-dependent interpretation is Scott continuous, so this abstraction is defined. A further syntax induction proves the substitution lemmaFor abstraction the bound variable is first renamed fresh. Consequently proves the beta equation for every environment. Consistent renaming proves alpha invariance, and the compositional interpretation respects all contexts. This is a lambda model. A retraction alone does not assert , so eta conversion need not be valid.
For the graph model of lambda calculus, take with inclusion, bottom and directed supremum equal to union. Let be the finite set of positions of one-bits in , and choose the pairing functionDefineA finite witness lies in one member of any directed union containing it, proving continuity in ; a graph entry lies in one member of any directed union of graphs, proving continuity in . The displayed definition of preserves pointwise directed unions as well. Finallysince the finite subsets of are directed with union . This proves the retraction and all claimed model properties. The composite generally enlarges a graph by adding entries with larger finite-input witnesses; it is not generally the identity.