Identity-Preserving Lax Extensions
and Where to Find Them
Abstract
Generic notions of bisimulation for various types of systems (nondeterministic, probabilistic, weighted etc.) rely on identity-preserving (normal) lax extensions of the functor encapsulating the system type, in the paradigm of universal coalgebra. It is known that preservation of weak pullbacks is a sufficient condition for a functor to admit a normal lax extension (the Barr extension, which in fact is then even strict); in the converse direction, nothing is currently known about necessary (weak) pullback preservation conditions for the existence of normal lax extensions. In the present work, we narrow this gap by showing on the one hand that functors admitting a normal lax extension preserve 1/4-iso pullbacks, i.e. pullbacks in which at least one of the projections is an isomorphism. On the other hand, we give sufficient conditions, showing that a functor admits a normal lax extension if it weakly preserves either 1/4-iso pullbacks and 4/4-epi pullbacks (i.e. pullbacks in which all morphisms are epic) or inverse images. We apply these criteria to concrete examples, in particular to functors modelling neighbourhood systems and weighted systems.
Keywords and phrases:
(Bi-)simulations, lax extensions, modal logics, coalgebraFunding:
Sergey Goncharov: Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – project number 501369690.Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Modal and temporal logics ; Theory of computation ConcurrencyEditors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim ThắngSeries and Publisher:

1 Introduction
Branching-time notions of behavioural equivalence of reactive systems are typically cast as notions of bisimilarity, which in turn are based on notions of bisimulation, the paradigmatic example being Park-Milner bisimilarity on labelled transition systems [32]. A key point about this setup is that while bisimilarity is an equivalence on states, individual bisimulations can be much smaller than the full bisimilarity relation, and in particular need not themselves be equivalence relations. In a perspective where one views bisimulations as certificates for bisimilarity, this feature enables smaller certificates.
The concept of bisimilarity via bisimulations can be transferred to many system types beyond basic labelled transition systems, such as monotone neighbourhood systems [21], probabilistic transition systems, or weighted transition systems. In fact, such systems can be treated uniformly within the framework of universal coalgebra [38], in which the system type is encapsulated in the choice of a set functor (the powerset functor for non-deterministic branching, the distribution functor for probabilistic branching etc.). Coalgebraic notions of bisimulation were originally limited to functors that preserve weak pullbacks [38], equivalently admit a strictly functorial extension to the category of relations [5, 44]. They were later extended to functors admitting an identity-preserving or normal lax extension [30, 31] to the category of relations (this is essentially equivalent to notions of bisimilarity based on modal logic [15]). While there is currently no formal general definition of what a notion of bisimulation constitutes except via normal lax extensions, there is a reasonable claim [30, 31] that notions of bisimulation in the proper sense, in particular with bisimulations not required to be equivalence relations but stable under key operations such as relational composition, will not go beyond functors admitting a normal lax extension.
The Barr extension that underlies the original notion of coalgebraic bisimulation for weak-pullback-preserving functors [38] is, in particular, a normal lax extension; that is, preservation of weak pullbacks is sufficient for existence of a normal lax extension. However, this condition is far from being necessary; there are numerous functors that fail to preserve weak pullbacks but do admit a normal lax extension, such as the monotone neighbourhood functor [30, 31]. Using the latter fact, it has been shown that a finitary functor admits a normal lax extension if and only if it admits a separating set of finitary monotone modalities [30, 31], cast as monotone predicate liftings in the paradigm of coalgebraic logic [34, 39] (a similar result holds for unrestricted functors if one considers class-sized collections of infinitary modalities [14]). The latter condition amounts to existence of an expressive modal logic that has monotone modalities [34, 39], and as such admits -calculus-style fixpoint extensions [11]. In a nutshell, a system type admits a good notion of bisimulation if and only if it admits an expressive temporal logic. Both sides of this equivalence, however, need to be witnessed by the construction of a fairly complicated object; what is missing is a characterization via properties of the underlying functor, rather than via the existence of extra structure.
In the present work, we narrow the gap between weak pullback preservation as a sufficient condition for admitting a normal lax extension, and no known necessary pullback preservation condition. On the one hand, we establish a necessary preservation condition, showing that functors admitting a normal lax extension (weakly) preserve 1/4-iso pullbacks, i.e. pullbacks in which at least one of the projections is isomorphic. (We often put “weakly” in brackets because for many of the pullback types we consider, notably for inverse images and 1/4-iso pullbacks, weak preservation coincides with preservation.) This is a quite natural condition: A key role in the field is played by difunctional relations [36], which may be thought of as relations obtained by chopping the domain of an equivalence in half; for instance, given labelled transition systems , , the bisimilarity relation from to is difunctional. In a nutshell, we show that a functor preserves 1/4-iso pullbacks iff it acts in a well-defined and monotone manner on difunctional relations. A first application of this necessary condition is a very quick proof of the known fact that the neighbourhood functor does not admit a normal lax extension [31].
We then go on to establish two separate sets of sufficient conditions: We show that a functor admits a normal lax extension if it (weakly) preserves either inverse images or both 1/4-iso pullbacks and 4/4-epi pullbacks, i.e. pullbacks in which all morphisms are epi (these are also known as surjective pullbacks [42], and weak preservation of 4/4-epi pullbacks is equivalent to weak preservation of kernel pairs [16]). These sufficient conditions are technically substantially more involved. As indicated above, they imply that finitary functors (weakly) preserving either inverse images or 1/4-iso pullbacks and 4/4-epi pullbacks admit a separating set of finitary monotone modalities; this generalizes a previous result showing the same for functors preserving all weak pullbacks [28]. We summarize our main contributions in Figure 1.
As per the preceding discussion, these necessary and sufficient criteria essentially determine (when applicable) whether or not a given type of systems admits a good notion of bisimulation.
The criterion of weak preservation of 1/4-iso pullbacks and 4/4-epi pullbacks is satisfied by the monotone neighbourhood functor and generalizations thereof (e.g. [42]), and thus in particular reproves the above-mentioned known fact that functors admitting separating sets of monotone modalities have normal lax extensions. The criterion of (weak) preservation of inverse images, in connection with the necessary criterion, implies that a monoid-valued functor for a commutative monoid (whose coalgebras are -weighted transition systems) admits a normal lax extension if and only if is positive (which in turn is equivalent to the functor preserving inverse images [18]).
Related work.
With variations in the axiomatics and terminology, lax extensions go back to an extended strand of work on relation liftings (e.g. [3, 43, 22, 29, 41, 40]). We have already mentioned work by Marti and Venema relating lax extensions to modal logic [30, 31]; at the same time, Marti and Venema prove that the notion of bisimulation induced by a normal lax extension captures the standard notion of behavioural equivalence. Lax relation liftings, constructed for functors carrying a coherent order structure [24], also serve the study of coalgebraic simulation but obey a different axiomatics than lax extensions [31, Remark 4]). Strictly functorial (and converse-preserving) extensions of set functors to the category of sets and relations are known to be unique when they exist, and exist if and only if the functor preserves weak pullbacks [7, 44]; this has been extended to other base categories [3, 8]. There has been both longstanding and recent interest in quantitative notions of relation liftings and lax extensions that act on relations taking values in a quantale, such as the unit interval, in particular with a view to obtaining notions of quantitative bisimulation [37, 47, 23, 13, 45, 46, 14] that witness low behavioural distance (the latter having first been treated in coalgebraic generality by Baldan et al. [4]). The correspondence between normal lax extensions and separating sets of modalities generalizes to the quantitative setting [45, 46, 14].
Organization.
We review material on relations, in particular difunctional relations, and lax extensions in Section 2. In Section 3, we introduce our necessary pullback preservation condition and show that it characterizes well-definedness of the natural functor action on difunctional relations. We prove our main results in Section 4. In Subsection 4.1 we show that a functor that weakly preserves 1/4-iso pullbacks and 4/4-epi pullbacks admits a normal lax extension, and in Subsection 4.2 we show the same for functors that preserve 1/4-mono pullbacks.
2 Preliminaries: Relations and Lax Extensions
We work in the category of sets and functions throughout. We assume basic familiarity with category theory (e.g. [2]). A central role in the development is played by (weak) pullbacks: A commutative square is a pullback (of ) if for every competing square , there exists a unique morphism such that and ; the notion of weak pullback is defined in the same way except that is not required to be unique. A functor weakly preserves a given pullback if it maps the pullback to a weak pullback; it is known that weak preservation of pullbacks of a given type is equivalent to preservation of weak pullbacks of the same type [17, Corollary 4.4]. Our interest in functors is driven mainly by their role as encapsulating types of transition systems in the paradigm of universal coalgebra [38]: An -coalgebra consists of a set of states and a transition map assigning to each state a collection of successors, structured according to . For instance, coalgebras for the powerset functor assign to each state a set of successors, and hence are just standard relational transition systems, while coalgebras for the distribution functor (which maps a set to the set of discrete probability distributions on ) assign to each state a distribution on successor states, and are thus probabilistic transition systems.
A morphism of -coalgebras is a map for which . Such morphisms are thought of as preserving the behaviour of states, and correspondingly, states and in coalgebras and , respectively, are behaviourally equivalent if there exist a coalgebra and morphisms , such that .
Example 2.1.
On relational transition systems, i.e. coalgebras for the powerset functor , behavioural equivalence instantiates to the usual notion of bisimilarity. More generally, labelled transition systems with labels taken from a set are coalgebras for the functor , and behavioural equivalence instantiates to Park-Milner bisimilarity [1]. On Markov chains, understood as -coalgebras, all states are behaviourally equivalent, as all states are identified in the final coalgebra . This triviality is removed in various forms of probabilistic labelled transition systems, for instance in -coalgebras, on which behavioural equivalence instantiates to standard notions of probabilistic bisimilarity [26].
One is then interested in notions of bisimulation relation that characterize behavioural equivalence in the sense that two states are behaviourally equivalent iff they are related by some bisimulation [38, 31]; this motivates the detailed study of relations and of extensions of that act on relations. We write to indicate that is a relation from the set to the set (i.e. ), and we write when . Both for functions and for relations, we use applicative composition, i.e. given and , their composite is (defined as ). We say that of type and are composable, and we extend this terminology to sequences of relations in the obvious manner. Relations between the same sets are ordered by inclusion, that is . We denote by the identity map (hence relation) on , and we say that a relation is a subidentity if . Given a relation , denotes the corresponding converse relation; in particular, if is a function, then denotes the converse of the corresponding relation. For a relation , we denote by and the respective domain and codomain (i.e. and ). A special class of relations of interest are difunctional relations [36], which are relations factorizable as for some functions and , i.e. iff . In the following we record some folklore facts about difunctional relations.
Lemma 2.2.
Let be a relation. Then the following are equivalent:
-
1.
is difunctional;
-
2.
for all in and , if , then .
-
3.
for every span such that , the pushout square
is a weak pullback.
As we can see in 2.2(3) above, difunctional relations are characterized as weak pullbacks, and in this regard we recall that generally, a commutative square is a weak pullback iff , equivalently .
The difunctional closure of a relation is the least difunctional relation greater than or equal to . It follows from 2.2 that the difunctional closure of a relation given by a span is obtained by computing its pushout ; i.e., the difunctional closure of is the relation . More explicitly, (e.g. [36, 20]).
A lax extension of an endofunctor is a mapping that sends any relation to a relation in such a way that
- (L1)
-
,
- (L2)
-
,
- (L3)
-
and ,
for all , and . We define relax extensions in the same way, without however requiring property (L2). We call a (re)lax extension identity-preserving, or normal, if for every set , and we say that a (re)lax extension preserves converses if .
A tactical advantage of using the term “relax extension” is that we can thus refer to constructions that produce lax extensions most of the time, except for some cases when (L2) may fail. A prototypical example of this sort is the Barr extension [6], which for weak-pullback-preserving is even a strict extension, and is defined as follows. Given a relation , choose a factorization for some span and put . This assignment is independent of the factorization of , and admits a canonical factorization which is given by projecting into and the subset of of pairs of elements related by . It is well-known that for every -functor, the Barr extension is a normal relax extension, but it is a lax extension precisely when preserves weak pullbacks [27]. In this case, the Barr extension is also the least lax extension of , for it follows from (L1)–(L3) that for every lax extension .
Lax extensions have been used extensively to treat the notion of bisimulation coalgebraically (e.g. [22, 29, 31]). Given a lax extension of a functor , an -simulation between -coalgebras and is a relation such that , that is, whenever , then . If preserves converses, then -simulations are more suitably called -bisimulations. Between two given coalgebras, there is a greatest -(bi)simulation, which is termed -(bi)similarity. It has been shown [31] that if is normal and preserves converses, then -bisimilarity coincides with coalgebraic behavioural equivalence as recalled above. The axioms of lax extensions guarantee that -bisimulations are closed under converse and composition and that coalgebra morphisms are (functional) -bisimulations, so that -bisimilarity includes behavioural equivalence; that is, -bisimilarity is complete for behavioural equivalence. Normality of lax extensions ensures that -bisimulations are sound for behavioural equivalence, i.e. -bisimilarity is included in behavioural equivalence.
Example 2.3.
-
1.
For relational transition systems, understood as -coalgebras, we have a normal lax extension of given by the standard Barr extension, which in turn coincides with the well-known Egli-Milner extension: Given , , and , we have iff for all , there exists such that , and symmetrically. An -bisimulation is then just a bisimulation in the standard sense.
-
2.
On , we have a normal lax extension given for , , by iff for all , we have , and symmetrically [15]. The arising notion of -bisimulation is sound and complete for probabilistic bisimilarity on probabilistic labelled transition systems.
Remark 2.4.
As mentioned in the introduction, a functor admits a normal lax extension iff admits a separating class of monotone predicate liftings [31, 14]. For readability, we discuss only the case where both the functor and the predicate liftings are finitary [31]. An -ary predicate lifting for is a natural transformation of type where denotes the contravariant powerset functor (given by being the powerset of a set , and for and ); that is, for a set , lifts predicates on to a predicate on . Predicate liftings determine modalities in coalgebraic modal logic [34, 39]; a basic example is the unary predicate lifting for the (covariant) powerset functor given by for a predicate , which determines the standard box modality on -coalgebras, i.e. on standard relational transition systems. A set of predicate liftings is separating if distinct elements of can be separated by lifted predicates; this condition ensures that the associated instance of coalgebraic modal logic is expressive, i.e. separates behaviourally inequivalent states [34, 39]. Monotonicity of predicate liftings allows the definition of modal fixpoint logics for temporal specification [11]. In the mentioned correspondence between lax extensions and predicate liftings, the construction of predicate liftings from a lax extension roughly speaking involves application of to the elementhood relation.
3 Functor Actions on Difunctional Relations
Our pullback preservation criterion for existence of normal lax extensions grows from an analysis of how functors act on difunctional relations. To start off, it is well-known that normal lax extensions of a given -functor are given on difunctional relations by the action of the functor (e.g. [31, 23]):
Proposition 3.1.
Corollary 3.2.
All normal lax extensions of a given -functor coincide on difunctional relations. Specifically, for every normal lax extension of , for all and .
Therefore, a functor that admits at least one normal lax extension must be monotone on difunctional relations in the following sense: for all difunctional relations and , if then . This property no longer mentions lax extensions, and implies that the functor is well-defined on difunctional relations, i.e. that sends cospans that determine the same difunctional relation to cospans that determine the same difunctional relation. In this section, we show that being monotone on difunctional relations is equivalent to preserving 1/4-iso (2/4-mono) pullbacks in the sense defined next; as indicated in the introduction, this allows for a quick proof of the fact that the neighbourhood functor fails to admit a normal lax extension [31]. On this occasion, we also discuss various types of pullbacks and their (weak) preservation in some more breadth for later use in our sufficient criteria (Section 4).
Definition 3.3.
We say that a functor preserves 1/4-iso 2/4-mono pullbacks, 1/4-iso pullbacks, 1/4-mono pullbacks and inverse images if it sends pullbacks of the following forms, respectively, to pullbacks, with arrows and indicating injectivity and bijectivity correspondingly.
Remark 3.4.
1/4-Iso 2/4-mono pullbacks are special inverse images, characterized by the property that the fibre over every element in the image of the function is a singleton. In particular, the inverse image of the empty subset is a 1/4-iso 2/4-mono pullback.
Due to the following proposition, for consistency, we tend to use “preservation of 1/4-mono pullbacks” instead of “preservation of inverse images”.
Proposition 3.5.
A -functor preserves 1/4-mono pullbacks iff it preserves inverse images.
Similarly, we will see in Theorem 3.12 that preservation of 1/4-iso pullbacks is equivalent to preservation of 1/4-iso 2/4-mono pullbacks. We thus tend to use the terms “1/4-iso 2/4-mono pullback preserving” and “1/4-iso pullback preserving” interchangeably. Furthermore, in 3.10 we will see that preservation of 1/4-mono pullbacks is properly stronger than preservation of 1/4-iso pullbacks.
Each of the preservation properties introduced in 3.3 implies preservation of monomorphisms, even if we only require that the corresponding pullbacks are weakly preserved. Hence, as at least one of the projections of the pullbacks is monic, preserving the pullbacks mentioned is equivalent to weakly preserving them, and, therefore, each of the properties is implied by weakly preserving pullbacks. Also, note that weakly preserving limits of a given shape is equivalent to preserving weak limits of that shape (e.g. [17, Corollary 4.4]). Furthermore, weakly preserving pullbacks is known to be sufficient for the existence of a normal lax extension – the Barr extension – and this condition can be decomposed as follows:
Theorem 3.6 ([19, Theorem 2.7]).
A -functor weakly preserves pullbacks iff it weakly preserves inverse images and kernel pairs.
It turns out that weakly preserving kernel pairs is equivalent to weakly preserving 4/4-epi pullbacks as defined next.
Definition 3.7.
We say that a functor weakly preserves 4/4-epi pullbacks, if it sends pullbacks of the form
with arrows indicating surjectivity, to weak pullbacks (necessarily of surjections).
Theorem 3.8 ([16, Corollary 5]).
A -functor weakly preserves kernel pairs iff it weakly preserves 4/4-epi pullbacks.
Therefore, the condition of weakly preserving pullbacks can be decomposed as:
Corollary 3.9.
A -functor weakly preserves pullbacks iff it weakly preserves 1/4-mono pullbacks and 4/4-epi pullbacks.
In Section 4, we will show that either preserving 1/4-mono pullbacks or weakly preserving 1/4-iso pullbacks and 4/4-epi pullbacks is sufficient for the existence of a normal lax extension.
Example 3.10.
-
1.
The subfunctor of the functor that sends a set to the set of triples of elements of consisting of at most two distinct elements does not preserve pullbacks weakly [1] but it preserves inverse images.
-
2.
The neighbourhood functor (whose coalgebras are neighbourhood frames [10]) sends a set to the set of neighbourhood systems over , and a function to the function that assigns to every element the set . The monotone neighbourhood functor is the subfunctor of the neighbourhood functor that sends a set to the set of upward-closed subsets of . Its coalgebras are monotone neighbourhood frames, which feature, e.g., in the semantics of game logic [33] and concurrent dynamic logic [35]. A closely related functor is the clique functor , which is the subfunctor of given by . The functors and do not preserve inverse images: Consider the sets and . Let be the function that sends to and to , and . Then , where denotes upwards closure, but and does not belong to the image of the function , where denotes the corresponding inclusion. However, routine calculations show that these functors do preserve 1/4-iso (2/4-mono) pullbacks and weakly preserve 4/4-epi pullbacks (for the first functor, see [42, Proposition 4.4]).
-
3.
Given a commutative monoid (or just ), the monoid-valued functor maps a set to the set of functions with finite support, i.e. for only finitely many . The coalgebras of are -weighted transition systems. It is known that preserves inverse images iff is positive, i.e. does not have non-zero invertible elements [18, Theorem 5.13] (the cited theorem shows the equivalence for non-empty inverse images; it is easy to check that in case is positive, preserves empty pullbacks). Moreover, preserves weak pullbacks iff is positive and refinable, i.e. whenever for , then there exists a -matrix with entries in whose -th column sums up to and whose -th row sums up to , for [18, Theorem 5.13]. Monoids that are positive but not refinable are fairly common [12]; the simplest example is the additive monoid where .
The functor preserves 1/4-iso (2/4-mono) pullbacks iff it preserves inverse images iff is positive. Indeed, suppose that is not positive. Consider the functions , . Then, for mutually inverse non-zero elements and of , the function sends both the pair and the pair to , which is in the image of . Therefore, the functor does not preserve the (1/4-iso) pullback of : This pullback has vertex , and has only one element.
-
4.
In recent work [16], it has been shown that the functor of a monad induced by a variety of algebras preserves inverse images iff whenever a variable is canceled from a term when identified with other variables, then the term does not actually depend on . This provides a large reservoir of functors that preserve inverse images but do not always have easily guessable normal lax extensions (whose existence will however be guaranteed by our main results). One example is the functor that maps a set to the free semigroup over quotiented by the equation , as neither this equation nor associativity cancel any variables. Notice that this functor does not preserve 4/4-epi pullbacks.
Finally, we show that being monotone on difunctional relations is equivalent to preserving 1/4-iso (2/4-mono) pullbacks. The next lemma connects the order on difunctional relations and pullbacks of such type.
Lemma 3.11.
Let and be cospans for which there is a map such that and . Moreover, consider the commutative square
(3.i) |
where is the restriction of to and the vertical arrows denote subset inclusions.
(Notice in particular that if is a bijection and (3.i) is a pullback, then (3.i) is a 1/4-iso pullback.) Using 3.11, one proves the announced characterization:
Theorem 3.12.
The following clauses are equivalent for a functor :
-
1.
preserves 1/4-iso 2/4-mono pullbacks.
-
2.
is well-defined on difunctional relations.
-
3.
is monotone on difunctional relations.
-
4.
preserves 1/4-iso pullbacks.
Corollary 3.13.
If a -functor admits a normal lax extension, then it preserves 1/4-iso pullbacks.
Therefore, the following functors do not admit a normal lax extension.
Example 3.14.
- 1.
- 2.
-
3.
More generally, by (the proof of) [12, Proposition 4.4], the functor of the monad induced by a variety of algebras that admits a weak form of subtraction (for instance, groups, rings, vector spaces) does not preserve 1/4-iso pullbacks.
-
4.
For every set with at least two elements, consider the functor that maps a set to the quotient of the set by the equivalence relation that identifies exactly all non-injective maps, and maps a function to the one sending the equivalence class of to that of . This functor does not preserve 1/4-iso pullbacks. For instance, for , consider the sets and . Then, the fibre of each element of w.r.t. the function that sends to and to is a singleton; however, the fibre of the equivalence class of the constant map into w.r.t. is not a singleton. Similar counterexamples can be constructed for arbitrary with at least two elements.
Remark 3.15.
Every coalgebra can be quotiented by behavioural equivalence (e.g. [25]). Such a quotient can be described by a cocongruence on a given coalgebra, i.e. an equivalence relation that is compatible with the coalgebra structure, and, of course, a cocongruence can be specified by a generating relation that need not itself be an equivalence. For instance, cocongruences have been studied in the context of linear weighted automata [9] (where they are in fact termed bisimulations), and even on neighbourhood frames, one obtains such a notion of equivalence-witnessing relation from the standard Barr extension [31]. All this does not contradict the moral claim that, by 3.14, there are no “good” notions of bisimulation for, e.g., neighbourhood frames or integer-weighted transition systems, as (generating relations of) cocongruences are missing some of the features that we include in the wish list for bisimulations and that -bisimulations do provide (cf. Section 2). Notably, cocongruences work only on a single coalgebra (while we expect bisimulations to connect two possibly different coalgebras), and they fail to be closed under relational composition.
4 Existence of Normal Lax Extensions
We proceed to present the main results of the paper: a -functor that weakly preserves 1/4-iso pullbacks and 4/4-epi pullbacks, or that preserves 1/4-mono pullbacks admits a normal lax extension. In view of the facts recalled in Section 2, this means that these functors admit a notion of bisimulation that captures behavioural equivalence, or equivalently, that they admit a separating class of monotone predicate liftings.
We begin by showing that the smallest lax extension of a -functor is obtained by “closing its Barr relax extension under composition”. As a consequence, in 4.5 we obtain a criterion to determine if a -functor admits a normal lax extension.
Consider the partially ordered classes and of lax and relax extensions of , respectively, ordered pointwise. With the following result we can construct lax extensions from relax extensions in a universal way.
Proposition 4.1.
Let be a functor. The inclusion has a left adjoint that sends a relax extension of to its laxification , which is defined on by
(4.i) |
Furthermore, if a relax extension preserves converses, then so does its laxification.
Since every lax extension of a functor is greater than or equal to the Barr relax extension (cf. Section 2), we thus have:
Corollary 4.2.
The smallest lax extension of a functor is given by the laxification of its Barr relax extension.
For the Barr relax extension of a -functor, the supremum in the formula (4.i) can be restricted as follows.
Lemma 4.3.
For every composable sequence such that , for some relation , there is a composable sequence such that and .
Corollary 4.4.
Let be a functor. For every relation ,
Therefore, as normality of a lax extension also implies normality of any lax extension below it, we have
Corollary 4.5.
A functor admits a normal lax extension iff the laxification of its Barr relax extension is normal. More concretely, a functor admits a normal lax extension iff for every set and every composable sequence of relations , whenever , then .
Remark 4.6.
In general terms, our main results follow by showing that in 4.5, under certain conditions on -functors, it suffices to consider composable sequences of relations that satisfy nice properties. In this regard, it is convenient to introduce the following notion.
Definition 4.7.
Let be a composable sequence of relations. A composable sequence is said to be a Barr upper bound of the sequence if and .
In Section 3 we have seen that every -functor that admits a normal lax extension preserves 1/4-iso pullbacks, or equivalently, it is monotone on difunctional relations (Theorem 3.12). As we show next, the latter condition is also equivalent to satisfying the criterion of 4.5 for pairs of composable relations.
Proposition 4.8.
Let be a functor. The following clauses are equivalent:
-
(i)
The functor preserves 1/4-iso pullbacks.
-
(ii)
For all relations , such that , .
-
(iii)
For all relations , such that , .
Now, suppose that we want to extend the previous result in inductive style to composable triples of relations. Due to the next lemma, a simple idea to reduce the case of composable triples to the case of composable pairs of relations is to take the difunctional closure of the second relation in the sequence.
Lemma 4.9.
Let , and be relations given by spans that form the base of the commutative diagram
Then, with and defined by the spans and , respectively, .
Indeed, let , and be relations such that . Then, by 4.8 and 4.9, we conclude that once we show that . Of course, in general, this does not hold. Consider the following example where the arrows depict pairs of related elements.
By taking the difunctional closure of we get
So, is not a subidentity. Now the property of preserving 1/4-iso pullbacks is helpful again. As we will see in 4.10, under this condition, the sequence below is a Barr upper bound of the first one and it is obtained from it by “splitting” where necessary the elements of that do not belong to the codomain of and the elements of that do not belong to the domain of .
In this situation we can apply the difunctional closure to (which in this particular example is already difunctional) to reduce the number of relations as discussed in 4.9.
Lemma 4.10.
Let be a functor that preserves 1/4-iso pullbacks, and let , and be relations. Then, there are relations , and such that is a Barr upper bound of and
-
1.
for all and all , if , and , then ;
-
2.
for all and , if , and , then .
The previous lemma essentially closes the argument that we have been crafting so far.
Theorem 4.11.
Let be a functor. The following clauses are equivalent:
-
(i)
The functor preserves 1/4-iso pullbacks.
-
(ii)
For all relations , and such that , .
-
(iii)
For all relations , and such that , .
However, as we see next, Theorem 4.11 is as far as we can go under the assumption of 1/4-iso pullbacks preservation. In other words, the fact that a -functor preserves 1/4-iso pullbacks is not sufficient to conclude that it admits a normal lax extension.
Example 4.12.
Let us define a functor as a quotient of under the equivalence defined by the clauses:
where and denote the corresponding elements . Let and consider the composable sequence of relations depicted below.
Then, preserves 1/4-iso pullbacks and , however, .
4.1 The case of functors that weakly preserve 4/4-epi pullbacks
From Theorem 4.11 it basically follows that a functor that weakly preserves 1/4-iso pullbacks and 4/4-epi pullbacks admits a normal lax extension. But to see this, first we need to sharpen 4.5. The goal is to show that it suffices to consider composable sequences of relations where all relations other than the first and the last are total and surjective. To illustrate how we achieve this, let us consider the sequence of relations depicted below.
Then, by adding new elements and to and we can extend this sequence to the sequence
where the dotted arrows indicate pairs of elements that were added to the corresponding relation as follows: for , relates to every element of that does not belong to the codomain of and relates every element of that does not belong to the domain of to . In this way, we guarantee that and are total and surjective and that . We could have extended and to total and surjective relations by adding just a single element to , and that would simultaneously take the role of and . However, composing the resulting sequence of relations would not yield the identity relation:
In other words, by splitting in two elements and , the former to make the relations and surjective and the latter to make them total, we obtain a subidentity because we never create paths between elements of that are not part of the domain of and elements of that are not part of the codomain of . In the next lemma we formalize this procedure for arbitrary composable sequences of relations and show that it yields Barr upper bounds.
Lemma 4.13.
A functor that preserves 1/4-iso pullbacks admits a normal lax extension iff for every composable sequence of relations such that and are total and surjective, whenever , for some set , then .
Remark 4.14.
In a composable sequence of relations that satisfies the conditions of 4.13 the first relation is necessarily total while the last one is necessarily surjective.
Now, our first main result follows straightforwardly. Since the composite of total and surjective relations is total and surjective, due to the following fact, every composable sequence of relations where all relations other than the first and the last are total and surjective admits a Barr upper bound consisting of three relations.
Proposition 4.15.
A functor weakly preserves 4/4-epi pullbacks iff for all relations and , whenever is surjective and is total, .
Theorem 4.16.
A -functor that weakly preserves 1/4-iso pullbacks and 4/4-epi weak pullbacks admits a normal lax extension.
Remark 4.17.
Preservation of 4/4-epi pullbacks plays a role in the analysis of interpolation in coalgebraic logic [42]. In particular, this analysis implies that given a separating set of monotone predicate liftings for a finite-set-preserving functor , which induces an expressive modal logic for -coalgebras, the logic has interpolation iff weakly preserves 4/4-epi pullbacks [42, Theorem 37]. In connection with the fact that a functor has a normal lax extension iff it has a separating set of monotone predicate liftings [31], we obtain the following application of Theorem 4.16 and 3.13: A finite-set preserving functor has a separating set of monotone predicate liftings such that the associated modal logic has uniform interpolation iff weakly preserves 1/4-iso pullbacks and 4/4-epi pullbacks.
4.2 The case of functors that preserve 1/4-mono pullbacks
To obtain Theorem 4.16, we refined 4.5 to composable sequences of relations where all relations other than the first and the last are total and surjective. And to achieve this in 4.13, given a composable sequence of relations, we added pairs of related elements to the relations in the sequence. In the sequel, we will show that every functor that preserves 1/4-mono pullbacks admits a normal lax extension. We will see that for these functors it is even possible to refine 4.5 to composable sequences of relations where all relations are total and surjective. However, we will achieve this in 4.19 below by, given a composable sequence of relations, removing pairs of related elements from the relations in the sequence. Our proof strategy is justified by the next fact.
Proposition 4.18.
A functor preserves 1/4-mono pullbacks iff for all relations and , whenever is the converse of a partial function or is a partial function, .
This result enables a “look ahead and behind” strategy for 4.5. The idea is that, given a composable sequence of relations such that , then, with being a relation in the sequence, removing the elements of that do not belong to the codomain of or do not belong to the domain of yields a Barr upper bound of our original sequence. For instance, consider the composable sequence of relations depicted in 4.12, which we used to show that there are functors that preserve 1/4-iso pullbacks but do not admit a normal lax extension. In the next lemma, in particular, we show that for functors that preserve 1/4-mono pullbacks the sequence below of total and surjective relations is a Barr upper bound of this one. The dotted arrows represent pairs of related elements that were removed, and the grey boxes represent the elements of each set that are not removed.
Lemma 4.19.
A functor that preserves 1/4-mono pullbacks admits a normal lax extension if for every composable sequence of total and surjective relations , whenever for some set , then .
It turns out that the sufficient condition of the previous lemma is actually satisfied by every -functor that preserves 1/4-iso pullbacks. Indeed, due to the next result, 4.9 and the fact that surjections are stable under pushouts, every composable sequence of total and surjective relations whose composite is an identity admits a Barr upper bound consisting of three relations.
Lemma 4.20.
Let , and be a composable sequence of total and surjective relations, and let be the difunctional closure of . If , then .
Proposition 4.21.
Let be a functor that preserves 1/4-iso pullbacks, and let be a composable sequence of total and surjective relations. If for some set , then .
Therefore,
Theorem 4.22.
Every -functor that preserves 1/4-mono pullbacks admits a normal lax extension.
In particular, since in 3.10(3) we have seen that for (commutative) monoid-valued functors preserving 1/4-mono pullbacks is equivalent to preserving 1/4-iso pullbacks, as a consequence of Theorem 4.22 and 3.13 we obtain:
Corollary 4.23.
A (commutative) monoid-valued functor admits a normal lax extension iff the monoid is positive.
Remark 4.24.
The above result may be equivalently stated as saying that a monoid-valued functor has a separating set of monotone predicate liftings iff the monoid is positive. In this formulation, it improves on a previous result effectively stating the same equivalence under the additional assumption that the monoid is refinable [42, Proposition 22]. For every monoid , one has a preorder on given by iff , which is a partial order whenever the monoid is cancellative and positive. It is then clear that one has a separating set of monotone predicate liftings , for , defined by where we write . The arising normal lax extension is given for , , by iff for all and symmetrically, much like for probabilistic transition systems (2.3(2)). For non-cancellative positive monoids, the description of the normal lax extension and the separating set of monotone predicate liftings whose existence are guaranteed by 4.23 is in general more involved. In particular, the predicate liftings described above may fail to be separating, as witnessed, for instance, by the commutative additive monoid with . Specifically, given by and cannot be distinguished.
The class of -functors that admit a normal lax extension is closed under subfunctors and several natural constructions such as the sum of functors. This makes it easy to extend the reach of our sufficient conditions, but it also shows that it is easy to provide examples of functors that admit a normal lax extension and do not weakly preserve 1/4-mono pullbacks nor 4/4-epi pullbacks. A quick example is the functor given by the sum of the functor and the monotone neighbourhood functor. To conclude this section, we present a less obvious example that is constructed analogously to 4.12. Notice that, as we have seen in 3.14(4), the class of functors that admit a normal lax extension is not closed under quotients.
Example 4.25.
For any set , let be the quotient of under the equivalence relation defined by the clauses . This yields a functor that neither weakly preserves 1/4-mono pullbacks nor 4/4-epi pullbacks, however, admits a normal lax extension.
5 Conclusions
Normal lax extensions of functors play a dual role in the coalgebraic modelling of reactive systems, on the one hand allowing for good notions of bisimulations on functor coalgebras and on the other hand guaranteeing the existence of expressive temporal logics. We have shown on the one hand that every functor admitting a lax extension preserves 1/4-iso pullbacks, and on the other hand that a functor admits a normal lax extension if it weakly preserves either 1/4-iso pullbacks and 4/4-epi pullbacks or inverse images. These results improve on previous results [28, 30, 31], which combine to imply that weak-pullback-preserving functors admit normal lax extensions. One application of our results implies, roughly, that a given type of monoid-weighted transition systems admits a good notion of bisimulation iff the monoid is positive.
The most obvious issue for future work is to close the remaining gap, i.e. to give a necessary and sufficient criterion for the existence of normal lax extensions in terms of limit preservation. Additionally, the structure of the lattice of normal lax extensions of a functor merits attention, in the sense that larger lax extensions induce more permissive notions of bisimulation.
References
- [1] Peter Aczel and Nax Paul Mendler. A final coalgebra theorem. In David H. Pitt, David E. Rydeheard, Peter Dybjer, Andrew M. Pitts, and Axel Poigné, editors, Category Theory and Computer Science, Manchester, UK, September 5-8, 1989, Proceedings, volume 389 of Lecture Notes in Computer Science, pages 357–365. Springer, 1989. doi:10.1007/BFB0018361.
- [2] Jiří Adámek, Horst Herrlich, and George E. Strecker. Abstract and concrete categories: The joy of cats. John Wiley & Sons Inc., 1990. Republished in: Reprints in Theory and Applications of Categories, No. 17 (2006) pp. 1–507. URL: http://tac.mta.ca/tac/reprints/articles/17/tr17abs.html.
- [3] Roland Carl Backhouse, Peter J. de Bruin, Paul F. Hoogendijk, Grant Malcolm, Ed Voermans, and Jaap van der Woude. Polynomial relators (extended abstract). In Maurice Nivat, Charles Rattray, Teodor Rus, and Giuseppe Scollo, editors, Algebraic Methodology and Software Technology, AMAST 1991, Workshops in Computing, pages 303–326. Springer, 1991.
- [4] Paolo Baldan, Filippo Bonchi, Henning Kerstan, and Barbara König. Coalgebraic behavioral metrics. Log. Methods Comput. Sci., 14(3), 2018. doi:10.23638/LMCS-14(3:20)2018.
- [5] Michael Barr. Relational algebras. In Reports of the Midwest Category Seminar IV, number 137 in Lect. Notes Math., pages 39–55. Springer, 1970. doi:10.1007/BFb0060439.
- [6] Michael Barr. Relational algebras. In Reports of the Midwest Category Seminar IV, pages 39–55. Springer, 1970. doi:10.1007/bfb0060439.
- [7] Michael Barr. Terminal coalgebras in well-founded set theory. Theor. Comput. Sci., 114(2):299–315, 1993. doi:10.1016/0304-3975(93)90076-6.
- [8] Richard S. Bird and Oege de Moor. Algebra of programming. Prentice Hall International series in computer science. Prentice Hall, 1997.
- [9] Filippo Bonchi, Marcello M. Bonsangue, Michele Boreale, Jan J. M. M. Rutten, and Alexandra Silva. A coalgebraic perspective on linear weighted automata. Inf. Comput., 211:77–105, 2012. doi:10.1016/J.IC.2011.12.002.
- [10] Brian F. Chellas. Modal Logic – An Introduction. Cambridge University Press, 1980. doi:10.1017/CBO9780511621192.
- [11] Corina Cîrstea, Clemens Kupke, and Dirk Pattinson. EXPTIME tableaux for the coalgebraic mu-calculus. Log. Methods Comput. Sci., 7(3), 2011. doi:10.2168/LMCS-7(3:3)2011.
- [12] Maria Manuel Clementino, Dirk Hofmann, and George Janelidze. The monads of classical algebra are seldom weakly cartesian. J. Homotopy and Related Structures, 9(1):175–197, 2014.
- [13] Francesco Gavazzo. Quantitative behavioural reasoning for higher-order effectful programs: Applicative distances. In Anuj Dawar and Erich Grädel, editors, Logic in Computer Science, LICS 2018, pages 452–461. ACM, 2018. doi:10.1145/3209108.3209149.
- [14] Sergey Goncharov, Dirk Hofmann, Pedro Nora, Lutz Schröder, and Paul Wild. A point-free perspective on lax extensions and predicate liftings. Mathematical Structures in Computer Science, pages 1–30, 2023. doi:10.1017/S096012952300035X.
- [15] Daniel Gorín and Lutz Schröder. Simulations and bisimulations for coalgebraic modal logics. In Reiko Heckel and Stefan Milius, editors, Algebra and Coalgebra in Computer Science, CALCO 2013, volume 8089 of LNCS, pages 253–266. Springer, 2013. doi:10.1007/978-3-642-40206-7_19.
- [16] H. Peter Gumm. Free-algebra functors from a coalgebraic perspective. In Daniela Petrisan and Jurriaan Rot, editors, Coalgebraic Methods in Computer Science, CMCS 2020, volume 12094 of LNCS, pages 55–67. Springer, 2020. doi:10.1007/978-3-030-57201-3_4.
- [17] H. Peter Gumm and Tobias Schröder. Coalgebraic structure from weak limit preserving functors. In Horst Reichel, editor, Coalgebraic Methods in Computer Science, CMCS 2000, Berlin, Germany, March 25-26, 2000, volume 33 of Electronic Notes in Theoretical Computer Science, pages 111–131. Elsevier, 2000. doi:10.1016/S1571-0661(05)80346-9.
- [18] H. Peter Gumm and Tobias Schröder. Monoid-labeled transition systems. In Andrea Corradini, Marina Lenisa, and Ugo Montanari, editors, Coalgebraic Methods in Computer Science, CMCS 2001, volume 44(1) of ENTCS, pages 185–204. Elsevier, 2001. doi:10.1016/S1571-0661(04)80908-3.
- [19] H. Peter Gumm and Tobias Schröder. Types and coalgebraic structure. Algebra universalis, 53(2–3):229–252, August 2005. doi:10.1007/s00012-005-1888-2.
- [20] H. Peter Gumm and Mehdi Zarrad. Coalgebraic simulations and congruences. In Marcello M. Bonsangue, editor, Coalgebraic Methods in Computer Science - 12th IFIP WG 1.3 International Workshop, CMCS 2014, Colocated with ETAPS 2014, Grenoble, France, April 5-6, 2014, Revised Selected Papers, volume 8446 of Lecture Notes in Computer Science, pages 118–134. Springer, 2014. doi:10.1007/978-3-662-44124-4_7.
- [21] Helle Hvid Hansen and Clemens Kupke. A coalgebraic perspective on monotone modal logic. In Jirí Adámek and Stefan Milius, editors, Coalgebraic Methods in Computer Science, CMCS 2004, volume 106 of ENTCS, pages 121–143. Elsevier, 2004. doi:10.1016/j.entcs.2004.02.028.
- [22] Wim H. Hesselink and Albert Thijs. Fixpoint semantics and simulation. Theor. Comput. Sci., 238(1-2):275–311, 2000. doi:10.1016/S0304-3975(98)00176-5.
- [23] Dirk Hofmann, Gavin J. Seal, and Walter Tholen, editors. Monoidal Topology. A Categorical Approach to Order, Metric, and Topology, volume 153 of Encyclopedia of Mathematics and its Applications. Cambridge University Press, Cambridge, July 2014. Authors: Maria Manuel Clementino, Eva Colebunders, Dirk Hofmann, Robert Lowen, Rory Lucyshyn-Wright, Gavin J. Seal and Walter Tholen. doi:10.1017/cbo9781107517288.
- [24] Jesse Hughes and Bart Jacobs. Simulations in coalgebra. Theor. Comput. Sci., 327(1-2):71–108, 2004. doi:10.1016/J.TCS.2004.07.022.
- [25] Thomas Ihringer. Algemeine Algebra. Mit einem Anhang über Universelle Coalgebra von H. P. Gumm, volume 10 of Berliner Studienreihe zur Mathematik. Heldermann Verlag, 2003.
- [26] Bartek Klin. Structural operational semantics for weighted transition systems. In Jens Palsberg, editor, Semantics and Algebraic Specification, Essays Dedicated to Peter D. Mosses on the Occasion of His 60th Birthday, volume 5700 of LNCS, pages 121–139. Springer, 2009. doi:10.1007/978-3-642-04164-8_7.
- [27] Clemens Kupke, Alexander Kurz, and Yde Venema. Completeness for the coalgebraic cover modality. Log. Methods Comput. Sci., 8(3), 2012. doi:10.2168/LMCS-8(3:2)2012.
- [28] Alexander Kurz and Raul Andres Leal. Modalities in the stone age: A comparison of coalgebraic logics. Theor. Comput. Sci., 430:88–116, 2012. doi:10.1016/J.TCS.2012.03.027.
- [29] Paul Blain Levy. Similarity quotients as final coalgebras. In Martin Hofmann, editor, Foundations of Software Science and Computational Structures, FOSSACS 2011, volume 6604 of LNCS, pages 27–41. Springer, 2011. doi:10.1007/978-3-642-19805-2_3.
- [30] Johannes Marti and Yde Venema. Lax extensions of coalgebra functors. In Dirk Pattinson and Lutz Schröder, editors, Coalgebraic Methods in Computer Science, CMCS 2021, volume 7399 of LNCS, pages 150–169. Springer, 2012. doi:10.1007/978-3-642-32784-1_9.
- [31] Johannes Marti and Yde Venema. Lax extensions of coalgebra functors and their logic. Journal of Computer and System Sciences, 81(5):880–900, 2015. doi:10.1016/j.jcss.2014.12.006.
- [32] Robin Milner. Communication and concurrency. PHI Series in computer science. Prentice Hall, 1989.
- [33] Rohit Parikh. Propositional game logic. In Foundations of Computer Science, FOCS 1983, pages 195–200. IEEE Computer Society, 1983. doi:10.1109/SFCS.1983.47.
- [34] Dirk Pattinson. Expressive logics for coalgebras via terminal sequence induction. Notre Dame J. Formal Log., 45(1):19–33, 2004. doi:10.1305/ndjfl/1094155277.
- [35] David Peleg. Concurrent dynamic logic (extended abstract). In Robert Sedgewick, editor, Symposium on Theory of Computing, STOC 1985, pages 232–239. ACM, 1985. doi:10.1145/22145.22172.
- [36] Jacques Riguet. Relations binaires, fermetures, correspondances de Galois. Bulletin de la Société Mathématique de France, 76:114–155, 1948. doi:10.24033/bsmf.1401.
- [37] Jan J. M. M. Rutten. Relators and metric bisimulations. In Bart Jacobs, Larry Moss, Horst Reichel, and Jan J. M. M. Rutten, editors, Coalgebraic Methods in Computer Science, CMCS 1998, volume 11 of ENTCS, pages 252–258. Elsevier, 1998. doi:10.1016/S1571-0661(04)00063-5.
- [38] Jan J. M. M. Rutten. Universal coalgebra: a theory of systems. Theor. Comput. Sci., 249(1):3–80, 2000. doi:10.1016/S0304-3975(00)00056-6.
- [39] Lutz Schröder. Expressivity of coalgebraic modal logic: The limits and beyond. Theoretical Computer Science, 390(2-3):230–247, January 2008. doi:10.1016/j.tcs.2007.09.023.
- [40] Christoph Schubert and Gavin J. Seal. Extensions in the theory of lax algebras. Theory and Applications of Categories, 21(7):118–151, 2008.
- [41] Gavin J. Seal. Canonical and op-canonical lax algebras. Theory and Applications of Categories, 14(10):221–243, 2005. URL: http://www.tac.mta.ca/tac/volumes/14/10/14-10abs.html.
- [42] Fatemeh Seifan, Lutz Schröder, and Dirk Pattinson. Uniform interpolation in coalgebraic modal logic. In Filippo Bonchi and Barbara König, editors, Algebra and Coalgebra in Computer Science, CALCO 2017, volume 72 of LIPIcs, pages 21:1–21:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPICS.CALCO.2017.21.
- [43] Albert Thijs. Simulation and fixpoint semantics. PhD thesis, University of Groningen, 1996.
- [44] Věra Trnková. General theory of relational automata. Fund. Inform., 3(2):189–233, 1980. doi:10.3233/FI-1980-3208.
- [45] Paul Wild and Lutz Schröder. Characteristic logics for behavioural metrics via fuzzy lax extensions. In Igor Konnov and Laura Kovács, editors, Concurrency Theory, CONCUR 2020, volume 171 of LIPIcs, pages 27:1–27:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.CONCUR.2020.27.
- [46] Paul Wild and Lutz Schröder. Characteristic logics for behavioural hemimetrics via fuzzy lax extensions. Log. Methods Comput. Sci., 18(2), 2022. doi:10.46298/LMCS-18(2:19)2022.
- [47] James Worrell. Coinduction for recursive data types: partial orders, metric spaces and -categories. In Horst Reichel, editor, Coalgebraic Methods in Computer Science, CMCS 2000, volume 33 of ENTCS, pages 337–356. Elsevier, 2000. doi:10.1016/S1571-0661(05)80356-1.