Pointed dcpos and lift-algebras [001W]
- February 14, 2023
- Jon Sterling
Definition Pointed dcpo [001S]
- February 14, 2023
- Jon Sterling
A dcpo is called pointed when it has a bottom element \bot under the information order.
Lemma Suprema of semidirected subsets in pointed dcpos [001U]
- February 14, 2023
- Jon Sterling
A dcpo A is pointed if and only if it is closed under suprema of semidirected subsets.
Proof.
- February 14, 2023
- Jon Sterling
Suppose that A is closed under suprema of semidirected subsets. In particular, we may consider the supremum \bigsqcup {\mathopen {}\left \{\right \}\mathclose {}} of the empty set. This is evidently the bottom element, using the universal property of the supremum.
Conversely, suppose that A is pointed and let I\subseteq A be semidirected. We may replace I\subseteq A by the directed subset I' = I\cup {\mathopen {}\left \{\bot \right \}\mathclose {}}; the inclusion I\subseteq I' is clearly cofinal, so the supremum of I' is also the supremum of I.
Lemma Pointed dcpos are lift-algebras [001T]
- February 14, 2023
- Jon Sterling
A pointed dcpo carries a (unique) \mathbb {L}-algebra structure.
Proof.
- February 14, 2023
- Jon Sterling
The algebra structure is unique if it exists because \mathbb {L} is a Kock–Zöberlein monad, i.e. a monad for which the structure maps of algebras are left adjoint to the unit in the order-enrichment. Therefore, it suffices to show that there merely exists an algebra structure {\mathsf {L}{A}}\xrightarrow {{\alpha }}{A} for any pointed dcpo A.
We define the structure map \alpha to take u\in \mathsf {L}{A} to the supremum of the semidirected subset {\mathopen {}\left \{x\in A \mid u = \eta _Ax\right \}\mathclose {}}, so we may write \alpha u = \bigsqcup _{p:u{\downarrow }}u[p]. It is not difficult to see that this assignment is continuous.
The unit law for the algebra is trivial. The multiplication law is verified as follows:
\alpha {\mathopen {}\left (\mathsf {L}{\alpha } {\mathopen {}\left (\phi ,u\right )\mathclose {}}\right )\mathclose {}} = \alpha {\mathopen {}\left (\phi , \alpha u\right )\mathclose {}} = \bigsqcup _{p:u{\downarrow }} \bigsqcup _{q:u[p]{\downarrow }} u[p][q] = \alpha {\mathopen {}\left (\mu _A{\mathopen {}\left (\phi ,u\right )\mathclose {}}\right )\mathclose {}}Lemma Lift-algebras are pointed [001V]
- February 14, 2023
- Jon Sterling
Let {\mathopen {}\left (A,\alpha \right )\mathclose {}} be a \mathbb {L}-algebra; then the underlying dcpo A is pointed.
Proof.
- February 14, 2023
- Jon Sterling
To define the bottom element of A, we choose \alpha {\mathopen {}\left (\bot , \lambda \_.\star \right )\mathclose {}}. Fixing n\in A, we must check that \alpha {\mathopen {}\left (\bot , \lambda \_.\star \right )\mathclose {}}\sqsubseteq n. Because \mathsf {L} is a Kock–Zöberlein monad and thus we have \alpha \dashv \eta _{A}, it is equivalent to observe that {\mathopen {}\left (\bot , \lambda \_.\star \right )\mathclose {}}\sqsubseteq \eta _{A}n.
Lemma Bottom-preserving maps vs. algebra morphisms [001X]
- February 14, 2023
- Jon Sterling
Let {\mathopen {}\left (A,\alpha \right )\mathclose {}} and {\mathopen {}\left (B,\beta \right )\mathclose {}} be two \mathbb {L}-algebras; then a morphism of dcpos {A}\xrightarrow {{f}}{B} is a homomorphism of algebras if and only if it preserves the bottom element.
Proof.
- February 14, 2023
- Jon Sterling
It is clear that a homomorphism of algebras must preserve the bottom element. On the other hand, suppose that {A}\xrightarrow {{f}}{B} preserves the bottom element to check that the following diagram commutes:
Because both composites preserve the bottom element, it is enough to observe that they both take u\in TA to the supremum of the following semidirected subset:
{\mathopen {}\left \{n\in B\mid \exists m:A. u=\eta _{A}m \land n=fm\right \}\mathclose {}}Corollary Monadicity of pointed dcpos [001Y]
- February 14, 2023
- Jon Sterling
The category of \mathbb {L}-algebras and homomorphisms is (canonically) equivalent to the category of pointed dcpos and bottom-preserving morphisms of dcpos. It follows that pointed dcpos are monadic over dcpos.
Proof.
- February 14, 2023
- Jon Sterling
Having a bottom element and being an algebra are both properties of dcpos, because these structures are uniquely determined. Therefore, we will argue that pointed dcpos with bottom-preserving morphisms form the same subcategory of \mathsf {dcpo} as the category of algebras with algebra-preserving maps. We have already seen that pointed structure and algebra structure are interchangeable:
To finish, we recall that a morphism of dcpos preserves algebra structure if and only if it preserves the bottom element.
By virtue of the monadicity result, we will refer to pointed dcpos and \mathbb {L}-algebras interchangeably.
Cocompleteness of lift-algebras [001R]
- February 14, 2023
- Jon Sterling
We will deduce the closure of \mathsf {dcpo}^{\mathbb {L}} under connected colimits using general results about monads. Then we use the results of Linton to deduce the cocompleteness of \mathsf {dcpo}^{\mathbb {L}}. Note that the proof establishing that the lift monad preserves connected colimits has an error in it. I have a fix for it, suggested by Ohad Kammar, but I haven't written it down yet here.
Lemma Lifting as a co-comma construction [001D]
- February 8, 2023
- Jon Sterling
For any dcpo A, the following is a co-comma square in the posetal 2-category of dcpos, where \mathsf {L} takes a dcpo to its lift or Scott-open partial map classifier.
Proof.
- February 8, 2023
- Jon Sterling
We fix another lax square of the following form:
We must show that there exists a unique morphism \mathsf {L}{A}\xrightarrow {d}D factoring the square above through {\mathopen {}\left \{d_\bot \sqsubseteq d_A\right \}\mathclose {}} as follows:
We will define \mathsf {L}{A}\xrightarrow {d}D to take a^{?}:\mathsf {L}{A} to the least upper bound of the directed subset U = {\mathopen {}\left \{d_\bot \right \}\mathclose {}}\cup {\mathopen {}\left \{d_A a\mid a^{?}=\eta _Aa\right \}\mathclose {}}\subseteq D. As this assignment evidently has the correct factorization property, it remains just to check that it is continuous. Letting V be a directed subset of \mathsf {L}{A}, we compute:
\begin {aligned} d\bigsqcup V & = \bigsqcup \,{\mathopen {}\left ( {\mathopen {}\left \{d_\bot \right \}\mathclose {}}\cup {\mathopen {}\left \{d_Aa\mid \bigsqcup V = \eta _A a\right \}\mathclose {}} \right )\mathclose {}} \\ & = \bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{d_\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{d_Aa\mid \eta _Aa\in V\right \}\mathclose {}}\right )\mathclose {}} \\ & = \bigsqcup {\mathopen {}\left \{\bigsqcup {\mathopen {}\left ({\mathopen {}\left \{d_\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{d_Aa\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \mid a^{?}\in V\right \}\mathclose {}} \\ & = \bigsqcup {\mathopen {}\left \{da^{?}\mid a^{?}\in V\right \}\mathclose {}} \end {aligned}For uniqueness, suppose that we have two morphisms \mathsf {L}{A}\xrightarrow {d,d'}D factoring our square in the sense described above and fix a^{?}:\mathsf {L}{A}:
\begin {aligned} d a^{?} & = d\bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{\bot \right \}\mathclose {}}\cup {\mathopen {}\left \{\eta _Aa\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \\ & = \bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{d\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{d\,{\mathopen {}\left (\eta _Aa\right )\mathclose {}}\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \\ & = \bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{d_\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{d_Aa\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \\ & = \bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{d'\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{d'\,{\mathopen {}\left (\eta _Aa\right )\mathclose {}}\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \\ & = d'\bigsqcup \,{\mathopen {}\left ({\mathopen {}\left \{\bot \right \}\mathclose {}} \cup {\mathopen {}\left \{\eta _Aa\mid a^{?}=\eta _Aa\right \}\mathclose {}}\right )\mathclose {}} \\ & = d'a^{?} \end {aligned}Lemma Lifting preserves connected colimits [001F]
- February 8, 2023
- Jon Sterling
Let A_\bullet be a diagram of dcpos indexed in a connected category \mathcal {I}. Then the lifting endofunctor \mathsf {L} on dcpos preserves the colimit of A_\bullet .
Proof.
- February 8, 2023
- Jon Sterling
Let A_\bullet \xrightarrow {\iota _\bullet }{\mathopen {}\left \{A_\infty \right \}\mathclose {}} be a universal cocone; we must show that \mathsf {L}{A_\bullet }\xrightarrow {\mathsf {L}{\iota _\bullet }}{\mathopen {}\left \{\mathsf {L}{A_\infty }\right \}\mathclose {}} is universal as well, i.e. show any cocone \mathsf {L}{A_\bullet }\xrightarrow {d_\bullet }{\mathopen {}\left \{D\right \}\mathclose {}} factors uniquely through \mathsf {L}{A_\bullet }\xrightarrow {\mathsf {L}{\iota _\bullet }}{\mathopen {}\left \{\mathsf {L}{A_\infty }\right \}\mathclose {}} in the following sense:
Using the universal property of \mathsf {L}{A_\infty } as a co-comma dcpo, we may define \mathsf {L}{A_\infty }\xrightarrow {d_\infty }D to be the universal map determined by a certain lax square in the following configuration:
First we define {\mathbf {1}_{}}\xrightarrow {{h_\bot }}{D} to be the element d_i\bot determined by an arbitrary object i\in \mathcal {I}. To see that this is well-defined, fix i,j\in \mathcal {I} to check that d_i\bot =d_j\bot . As \mathcal {I} is connected, we may proceed by induction on a zigzag i\leadsto j\in \mathcal {I}; ultimately, this amounts to checking that for any span i\leftarrow k \rightarrow j in \mathcal {I}, we have d_i\bot =d_k\bot =d_j\bot . This follows from the strictness of lifted morphisms as well as the naturality of the cocone d_\bullet .
Next we define {A_\infty }\xrightarrow {{h_{A_\infty }}}{D} using the universal property of the colimiting cocone {A_\bullet }\xrightarrow {{\iota _\bullet }}{A_\infty }:
To arrange h_{A_\infty } and h_\bot into the desired lax square, we must check that for all a_\infty :A_\infty we have h_\bot \sqsubseteq h_{A_\infty }a_\infty . Fixing arbitrary i\in \mathcal {I} and a\in A_i, it suffices to check that h_\bot \sqsubseteq h_{A_\infty }\iota _{i}a. As h_\bot =d_i\bot and h_{A_\infty }\iota _ia = d_i\eta _{A_i}a, our goal follows directly from the monotonicity of {\mathsf {L}{A_i}}\xrightarrow {{d_i}}{D}.
The reasoning above is not correct, we do not know that we can restrict attention to a\in A_i. This is indeed the case, but need to make it explicit.
Thus we have the desired lax square and a unique morphism {\mathsf {L}{A_\infty }}\xrightarrow {{h}}{D} factoring it through the co-comma square that defines \mathsf {L}{A_\infty }:
Our goal is to show that we may choose the universal map {\mathsf {L}{A_\infty }}\xrightarrow {{d_\infty }}{D} corresponding to the cocone {\mathsf {L}{A_\bullet }}\xrightarrow {{d_\bullet }}{{\mathopen {}\left \{D\right \}\mathclose {}}} to be the morphism h defined above. First we must prove that the following triangle commutes:
Using the universal property of the co-comma squares for each \mathsf {L}{A_i}, it suffices to check that two diagrams commute:
We must check that the outer triangle below commutes:
Rewriting using the strictness of lifted morphisms, this amounts to the established fact that h\bot = h_\bot .
We must check that the outer triangle below commutes:
Rewriting with established equations, it suffices to observe that the outer diagram below commutes:
Finally, we must check that any two morphisms {\mathsf {L}{A_\infty }}\xrightarrow {{k,k'}}{D} factoring {\mathsf {L}{A_\bullet }}\xrightarrow {{d_\bullet }}{{\mathopen {}\left \{D\right \}\mathclose {}}} through {\mathsf {L}{A_\bullet }}\xrightarrow {{\mathsf {L}{\iota _\bullet }}}{{\mathopen {}\left \{\mathsf {L}{A_\infty }\right \}\mathclose {}}} are equal. To that end, we will use the universal property of the co-comma square defining \mathsf {L}{A_\infty } once more to reduce this to checking that k,k' agree on \bot and on \eta _{A_\bullet }. The former follows directly from the strictness of \mathsf {L}{\iota _\bullet }, as we have k\bot = k{\mathopen {}\left (\mathsf {L} \iota _\bullet \bot \right )\mathclose {}}=d_\bullet \bot . For the latter, we must check that k\circ \eta _{A_\infty }=k'\circ \eta _{A_\infty }; by the universal property of the colimiting cocone {A_\bullet }\xrightarrow {{\iota _\bullet }}{A_\infty }, it suffices to check that k\circ \eta _{A_\infty }\circ \iota _\bullet = k'\circ \eta _{A_\infty }\circ \iota _\bullet . By naturality of the unit, these are both equal to d_\bullet \circ \eta _{A_\bullet }.
Lemma Connected colimits of lift-algebras [001L]
- February 12, 2023
- Jon Sterling
Let \mathbb {L}={\mathopen {}\left (\mathsf {L},\eta ,\mu \right )\mathclose {}} be the lifting monad on dcpos; the Eilenberg–Moore category \mathsf {dcpo}^{\mathbb {L}} is closed under connected colimits, and these colimits are created by the forgetful functor {\mathsf {dcpo}^{\mathbb {L}}}\xrightarrow {{\mathsf {U}^{\mathbb {L}}}}{\mathsf {dcpo}}.
Proof.
- February 12, 2023
- Jon Sterling
This follows from the following facts:
Lemma Coproducts of lift-algebras [005F]
- May 20, 2023
- Jon Sterling
The Eilenberg–Moore category \mathsf {dcpo}^{\mathbb {L}} for the lifting monad \mathbb {L}={\mathopen {}\left (\mathsf {L},\eta ,\mu \right )\mathclose {}} on dcpos has all small coproducts.
This is the first part of Corollary 2 of Linton’s Coequalizers in categories of algebras.
Proof.
- May 20, 2023
- Jon Sterling
The coproduct of lift-algebras is computed as a reflexive coequalizer, whose existence we have already established. Given an index set I and a diagram {I}\xrightarrow {{X_{\bullet }}}{\mathsf {dcpo}^{\mathbb {L}}}, the colimit of the following reflexive pair is the coproduct of {I}\xrightarrow {{X_{\bullet }}}{\mathsf {dcpo}^{\mathbb {L}}} as shown by Linton:
Lemma The category of lift-algebras is cocomplete [005G]
- May 20, 2023
- Jon Sterling
The Eilenberg–Moore category \mathsf {dcpo}^{\mathbb {L}} for the lifting monad \mathbb {L}={\mathopen {}\left (\mathsf {L},\eta ,\mu \right )\mathclose {}} on dcpos is cocomplete.
Proof.
- May 20, 2023
- Jon Sterling
This follows because \mathsf {dcpo}^{\mathbb {L}} under connected colimits and coproducts