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, then
The 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 . Define
For an environment , interpret a variable by , application by , and an abstraction by
Induction 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 lemma
For 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 function
Define
A 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. Finally
since 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.
Here a pointed complete partial order is a partially ordered set with a least element in which every nonempty directed set has a least upper bound. Directed means that every pair of its elements has an upper bound within that set. A Scott continuous map is monotone and preserves these directed suprema. It is not required to preserve the least element; restricting to strict maps would change the categorical claim. If completeness is instead formulated only for increasing countable chains, the same arguments below work with those chains.
Order the function space of complete partial orders pointwise: means for every . Its least element is the constant function with value . For a directed family of continuous maps, define . This is well-defined and is its pointwise least upper bound. It is monotone. For any directed ,
The interchange is valid because the combined family is directed, and either iterated supremum is its least upper bound. Thus is a Scott continuous map, proving that is a pointed complete partial order.
Finite products carry the product order, componentwise suprema and least element . The one-element order is a terminal object. For the exponential, use the function space with evaluation . To check joint continuity, take a directed family of pairs . Then
Indeed, directedness supplies a above the pairs indexed by both and , giving . Thus the diagonal values are cofinal in the double family, and evaluation preserves its supremum.
For a continuous , its currying is , . Each section is continuous because is; pointwise directed suprema in the coordinate show that is continuous. Conversely a continuous gives the continuous map . The two constructions are inverse, because they agree on every pair . This gives the natural bijection
with the required evaluation map. Together with the terminal object and products, it proves cartesian closure of pointed complete partial orders with non-strict continuous maps.
An embedding-projection pair consists of continuous maps , with and pointwise. Thus is an order embedding and approximates an element of the larger domain from below. Such maps are automatically strict: applying the inequality at gives , and applying then gives .
Suppose is such a pair. Composition with fixed continuous maps is continuous on the pointwise function space of complete partial orders, so both proposed lifted maps are continuous. Their composite on the smaller function space is
Writing , the other composite is : for every , by monotonicity. Thus the recursion produces embedding-projection pairs at every stage.
Here is an explicit inverse-limit solution of the reflexive domain equation. Form
ordered coordinatewise. The bottom sequence is coherent by strictness. A directed family has coordinatewise suprema, and continuity of each preserves the coherence condition. Thus is a pointed complete partial order.
Write for the composite embeddings when , and for the corresponding composite projections, taking both as identities if . Define by , and define by
The pair identities make this sequence coherent, and its coordinates are continuous. They also give and . Put . Since and ,
At coordinate , equals once , so
This exhibits the required embedding-projection pair for every finite stage.
To prove the function-space isomorphism, observe that is itself a continuous function . Coherence says
Conversely such a coherent function family determines an element of , with initial coordinate . Define its action on the limit by
The maps inside this supremum increase: substituting coherence expresses the th one as with , which is below the next map. The supremum is continuous by the function-space result in Question 3.
In the other direction, for a continuous , define . These satisfy the same coherence equation. Hence define by
For a coherent family, restricting back to stage gives : every term with restricts exactly to , and the earlier terms are below it. Thus is the identity.
Conversely,
For the last equality, and continuity give, at every , ; the diagonal is cofinal because the double family increases in both indices. Both and are continuous, by coordinatewise evaluation, continuous composition and directed suprema. Therefore
as complete partial orders with continuous maps, not merely as sets. This supplies the extensional reflexive object needed for a beta-eta model, together with all the stated finite-stage pairs.
For a directed set of Scott continuous maps , its least upper bound is . The two directed suprema over and over inputs commute, proving that remains Scott continuous. Thus the function space of complete partial orders is a complete partial order.