Construction. The cpo of functions [dt-002L]
If A and B are cpos, the set of continuous functions A \twoheadrightarrow B is a cpo under the pointwise ordering: f \sqsubseteq g\;\; \text {iff}\;\; \forall a \in A.\ f(a) \sqsubseteq g(a) The intuition of this ordering in terms of information is that we increase the information content of a function overall by increasing the information content of any (or many) argument values. To prove this, we must show:
- A \twoheadrightarrow B has a least element. \bot _{A \twoheadrightarrow B} is the constant function that returns \bot _B, i.e. \lambda a.\ \bot _B.
- \bigsqcup X exists for all directed X \subseteq A \twoheadrightarrow B. Our lub of a set of continuous functions \bigsqcup X is the function \Phi where: \Phi (a) = \bigsqcup \{ f(a) \mid f \in X\}
We must show a number of properties of this lub \Phi . Specifically:
- \bigsqcup \{ f(a) \mid f \in X\} exists in B.
- \Phi (a) = \bigsqcup \{ f(a) \mid f \in X \} is continuous.
- \Phi is an upper bound for X \subseteq A \twoheadrightarrow B.
- \Phi is the least upper bound for X.