Kleisli, Parikh and Peleg Compositions and Liftings for Multirelations
Hitoshi Furusawa, Yasuo Kawahara, Georg Struth, Norihiro Tsumagari

TL;DR
This paper formalizes various compositions and liftings of multirelations, revealing their algebraic properties and conditions under which they form categories, advancing the semantic modeling of nondeterministic systems.
Contribution
It provides relational formalizations of Kleisli, Parikh, and Peleg compositions for multirelations, analyzing their algebraic properties and categorical structures.
Findings
Kleisli composition is associative but may lack units.
Parikh composition is non-associative and unitless, forming a category on up-closed multirelations.
Peleg composition has units but is not necessarily associative, forming a category on union-closed multirelations.
Abstract
Multirelations provide a semantic domain for computing systems that involve two dual kinds of nondeterminism. This paper presents relational formalisations of Kleisli, Parikh and Peleg compositions and liftings of multirelations. These liftings are similar to those that arise in the Kleisli category of the powerset monad. We show that Kleisli composition of multirelations is associative, but need not have units. Parikh composition may neither be associative nor have units, but yields a category on the subclass of up-closed multirelations. Finally, Peleg composition has units, but need not be associative; a category is obtained when multirelations are union-closed.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Kleisli, Parikh and Peleg Compositions and Liftings for Multirelations
Hitoshi Furusawa
Yasuo Kawahara
Georg Struth
Norihiro Tsumagari
Department of Mathematics and Computer Science, Kagoshima University
Professor Emeritus, Kyushu University
Department of Computer Science, The University of Sheffield
Center for Education and Innovation, Sojo University
Abstract
Multirelations provide a semantic domain for computing systems that involve two dual kinds of nondeterminism. This paper presents relational formalisations of Kleisli, Parikh and Peleg compositions and liftings of multirelations. These liftings are similar to those that arise in the Kleisli category of the powerset monad. We show that Kleisli composition of multirelations is associative, but need not have units. Parikh composition may neither be associative nor have units, but yields a category on the subclass of up-closed multirelations. Finally, Peleg composition has units, but need not be associative; a category is obtained when multirelations are union-closed.
keywords:
algebras of multirelations , liftings of multirelations , associativity of compositions of multirelations , relational calculus.
1 Introduction
Multirelations are binary relations between sets and powersets of sets; they therefore have the type pattern . Applications include reasoning about games with cooperation [18, 23] and reasoning about computing systems with alternation [4, 12, 19, 20] or dual angelic and demonic nondeterminism [1], including alternating automata (cf. [9]).
This article studies three kinds of composition of multirelations and : the Kleisli composition , which is defined by
[TABLE]
where ; the Parikh composition , which is defined by
[TABLE]
and the Peleg composition , which is defined by
[TABLE]
where denotes the image of under . Although multirelations are just relations of a particular type pattern, these three compositions differ from the standard composition of binary relations, which is defined by . In the rest of the article, the composition of binary relations is referred to as relational composition.
To our knowledge, the Kleisli composition of multirelations has not been studied previously. It is inspired not by applications, but by the eponymous operation on the Kleisli category of the powerset monad [14]. The Parikh composition arises in the multirelational semantics of Parikh’s game logic [18]. Finally, the Peleg composition occurs in the multirelational semantics of Peleg’s concurrent dynamic logic [19, 20]. It has been discussed further by Goldblatt [12] and studied in detail by Furusawa and Struth [9, 10].
Our main contribution is the study of lifting or extension operations on multirelations within an algebraic calculus of (multi)relations, which is introduced in Section 2. These liftings translate Kleisli, Parikh and Peleg’s nonstandard multirelational compositions back to relational compositions on lifted binary relations. The approach is inspired by the well known Kleisli lifting or Kleisli extension on homsets, which translates a nonstandard composition of arrows in a monad back to a standard composition in the associated Kleisli category, for instance a function composition. By this analogy, the lifting of multirelations seems therefore natural for studying algebras of multirelations in the setting of enriched categories, but over instead of (Section 3).
More precisely, for multirelations and , we wish to lift to a relation so that we can translate a Kleisli, Parikh and Peleg composition back to a relational composition . Hence we aim at defining in such a way that the three multirelational compositions satisfy the identity
[TABLE]
It is straightforward to check that the Kleisli lifting , the Parikh lifting and the Peleg lifting of multirelation , which are defined by
[TABLE]
respectively, satisfy the identities , and , as expected. Moreover, we show that associativity of relational composition translates to , or if and only if the associated lifting satisfies
[TABLE]
This is, of course, one of the defining identities of Kleisli extensions. It is known that the compositions and are not associative for general multirelations. Hence the previous identity for fails. We are then looking for specific classes of or constraints on multirelations that satisfy this identity and hence have associative Parikh or Peleg composition. In a similar fashion, by following the standard definition of Kleisli extension, we investigate the presence of units of composition. A general aim is therefore the identification of categories of multirelations with respect to Kleisli, Parikh or Peleg composition.
For the class of up-closed multirelations under Parikh composition, Martin and Curtis [16] have already established categorical foundations, including a multirelational lifting. For this class, Parikh composition is associative [18]. We complement their investigation by negative results in the absence of up-closure, presenting counterexamples both to associativity and the existence of units (Section 5).
Kleisli composition, by contrast, is always associative, but we show that units need not exist. Hence multirelations under Kleisli composition need not form categories (Section 4).
Finally, we study Peleg composition in more detail (Section 6, 7). Here it is known that associativity may fail, but that units always exist [9]. Using relation-algebraic reasoning we prove associativity of composition for the subclass of union-closed multirelations, and show, accordingly, that this subclass forms a category (Section 8).
A further contribution is that we express all lifting operations within the language of relation algebra, and can therefore derive the results in this article by equational reasoning. They could therefore be checked by proof assistants such as Coq. We believe that such relation-algebraic proofs are generally much simpler than set-theoretic ones, which, in the presence of Peleg composition, are essentially higher-order. In addition, the introduction of lifting constructions allows us to investigate categories of multirelations in a principled uniform way.
Many of the results in this article have already been presented in a previous conference version [8]. Beyond the presentation of additional proofs and explanations, a significant difference lies in the systematic study of units and therefore of categories of multirelations with respect to Kleisli, Parikh and Peleg composition.
Despite of our category-theoretical motivations, however, we obtain our results in relation-algebraic style. In fact, we mention neither allegories [6] nor Dedekind categories [17], which are categorical frameworks suitable for relations. One main reason is that we use the strict point axiom (PA∗) in our development. In its presence, every Dedekind category (equivalently, every locally complete division allegory) becomes isomorphic to some full subcategory of [7]. Another one is that our approach to composition and lifting does not fit within the standard monadic framework. We cannot associate suitable Kleisli triples with natural transformations and with all identities and compositions of multirelations in .
2 Preliminaries
This section presents the calculus of relations used in this article. Many properties used can be found in standard textbooks; hence we list them without proof. The typed relation algebras described by Freyd and Scedrov [6], Bird and de Moor [3] and Schmidt [21] are most closely related, but use slightly different notation.
We use to denote any singleton set. A (binary) relation from set to set , written , is a subset . The empty relation and the universal relation are defined as and , respectively. The inclusion, union and intersection of relations are denoted by , and , respectively. The converse of relation is denoted by . The identity relation over is denoted by . For relation , the partial identity is denoted by and called domain relation of . The standard composition of relations (which includes functions) is denoted by juxtaposition. For example, the composite of relation followed by is denoted by , and of course the composition of functions and by . In addition, the traditional notation is written as a composite of functions and .
Remember that a relation is univalent iff , and it is total iff . So, is a partial function (pfn, for short) iff , and a (total) function (tfn, for short) iff and . Moreover, a singleton set satisfies and for all sets . A tfn is called -point of and is denoted by . It is easy to see that . For a relation and an -point , we write instead of .
Some proofs below refer to the axiom of subobjects (Sub) and the Dedekind formula (DF), that is,
[TABLE]
In fact, the subset and tfn from (Sub) are and . Note that (DF) is equivalent to
(DF∗) .
Also note that the equation follows from (DF). See [21] for more details on basic properties in the calculus of relations.
2.1 Subidentities and domain relations
First, we list some simple properties of subidentities without proof.
Proposition 1**.**
Let be a relation and .
- (a)
. 2. (b)
. 3. (c)
.
The domain relation of a relation can be defined explicitly as
[TABLE]
Proposition 2**.**
Let and be relations.
- (a)
. 2. (b)
* and .* 3. (c)
. 4. (d)
If is total, then . 5. (e)
If , then . 6. (f)
.
The following properties of partial functions are useful below.
Proposition 3**.**
Let be relations.
- (a)
*If is a pfn satisfying and , then . * 2. (b)
*If is a pfn satisfying , then . * 3. (c)
*If is a pfn and , then . * 4. (d)
* iff for each pfn and . *
2.2 Residual composition
Notions of residuation are widely used in algebra [11], relation algebra [21] and allegories [6].
Let and be relations. The left residual composition of followed by is a relation such that
[TABLE]
The right residual composition of followed by is a relation such that
[TABLE]
The two compositions are related by conversion as . Set-theoretically, moreover,
[TABLE]
In the literature, residuals are often defined as adjoints of composition without using converse, that is, , so that and . We prefer and to and as they make it easier to recognise sources and targets of relations. Freyd and Scedrov use the same concept and notation for residuals, but call them divisions.
Proposition 4**.**
Let , and be relations.
- (a)
* implies and implies . * 2. (b)
* and .* 3. (c)
* and .* 4. (d)
* and .* 5. (e)
* implies and implies . * 6. (f)
* and .* 7. (g)
* implies and implies . * 8. (h)
.
2.3 Powerset functor
The powerset functor and the membership relation satisfy the following laws.
(M1) ,
(M2) ,
where . Note that
[TABLE]
The conditions (M1) and (M2) for membership relations assert that the relation is a tfn. The tfn is the unique tfn such that , namely iff . In [3], is introduced as the power transpose .
The order relation is defined by . In fact and iff . Define a tfn by . Then is the unique tfn such that the following diagram commutes.
[TABLE]
In set theory, iff . In other words, is the image of set under relation .
A tfn is defined by and called the singleton map on . Set-theoretically, iff .
The following lemma shows that is indeed a functor from the category of sets and relations into the category of sets and (total) functions.
Lemma 1**.**
Let and be relations. Then
- (a)
, 2. (b)
.
Proof.
(a) follows from .
(b) follows from . ∎
The isomorphism
[TABLE]
is called the power adjunction together with its inverse
[TABLE]
Proposition 5**.**
*Let be pfns. Then and imply . *
Proof.
Assume and . By the axiom of subobjects (Sub) there exists a tfn such that and . Then both of and are tfns. (For .) As is trivial, by the power adjunction we have and so . ∎
2.4 Power subidentities
For all subidentities define a subidentity by
[TABLE]
The subidentity is called the power subidentity of . In set theory, iff . Power subidentities are used in the context of Peleg composition in Section 6.
Proposition 6**.**
Let .
- (a)
. 2. (b)
* implies . * 3. (c)
. 4. (d)
* for all objects .* 5. (e)
* and .*
Proof.
- (a)
follows from
[TABLE] 2. (b)
is a corollary of (a). 3. (c)
First, is trivial, since is total. Also, by
[TABLE]
Thus . So we have . Since both of and are pfns, holds by 5. 4. (d)
Since , we have
[TABLE] 5. (e)
The equation (e1) follows from
[TABLE]
Also, the equation (e2) follows from
[TABLE]
∎
3 Compositions and Liftings
Multirelational compositions can be understood as “nonstandard” compositions in the setting of categories of relations that deviate from the standard relational composition. This section introduces suitable notions of lifting that translate them into the latter.
Consider how to define a multirelational composition for and . If one can construct a relation from , then a composite
[TABLE]
is obtained; and relational composition can be used for modelling it. Different notions of lifting can then be used for defining different non-standard notions of multirelational composition. This situation is reminiscent of the definition of Kleisli liftings or Kleisli extensions in Kleisli categories; in particular for the powerset monad in the category of sets and functions. In our case, as mentioned in the introduction, we wish to define functions in such a way that the identity
[TABLE]
holds for composition , which stands for the Kleisli, Parikh or Peleg composition of multirelations. In that case we call a lifting of . Liftings and compositions are of course mutually dependent. In the introduction we have argued that we can define functions from compositions so that the above identity holds. In the following sections we take the opposite view and define Kleisli, Parikh and Peleg compositions from suitable functions and relational composition.
On the one hand, the translations from multirelational compositions to relational composition allows us to use our knowledge about the latter to reason about the former. The complexity of reasoning in particular about Peleg’s second-order definition below can thus be encapsulated in the lifting and relational composition can be used in calculations. On the other hand, however, properties of relational composition, including its associativity or the existence of units, need not translate to its multirelational counterparts. Parikh and Peleg composition, in particular, are not in general associative on multirelations [9, 10].
The following identity, which is well known from Kleisli categories as one of the defining identities of Kleisli extensions, yields a generic necessary and sufficient condition for associativity of multirelational compositions and explains this situation.
Lemma 2**.**
The lifting operator satisfies for all multirelations and if and only if the composition defined by , for all multirelations and , is associative.
Proof.
[TABLE]
Conversely, suppose that is associative. Hence holds for all multirelations and of suitable type. The previous proof can then be reversed and it follows that (order of composition reversed) holds for all multirelations and . ∎
Similarly, the two other defining identities of Kleisli extensions, which relate to the morphisms of a monad, yield necessary and sufficient conditions for the existence of left and right units of multirelational compositions.
Lemma 3**.**
For any set , the relation and the lifting operator satisfy if and only if is a right unit of the composition defined by .
Proof.
By definition of , implies for each . Conversely, replacing by yields . ∎
The analogous fact for left units, and the remaining defining identity of Kleisli extensions, is entirely trivial: For any set , the relation is a left unit of if and only if it satisfies , by definition of . The following property is thus immediate from Lemma 3.
Corollary 1**.**
For any set , the relation and the lifting operator satisfy and , for each relation , if and only if is the identity on for the composition defined by .
These facts raise the question whether, beyond a mere analogy, our entire approach could be developed in the setting of a powerset monad, but for instead of . However, it is easy to check that is not a natural transformation from the identity function in to the powerset functor in , at least in the case of Peleg composition. Any deeper evaluations of this failure, as well as more general investigations of suitable monads for multirelations, are left for future work.
The following sections consider the Kleisli, Parikh and Peleg liftings in detail.
4 Kleisli lifting
The Kleisli lifting of a relation is defined by By definition, the Kleisli lifting is always a tfn, and it satisfies the property outlined in the introduction:
[TABLE]
This lifting is used to give a relational definition of the Peleg lifting in Section 6.
Moreover, we obtain the Kleisli composition of relations and as the relation
[TABLE]
of type . Its set-theoretic counterpart has been presented in the introduction.
The first two conditions in the following propositions are characteristic identities for Kleisli extensions in Kleisli categories.
Proposition 7**.**
Let and be relations.
- (a)
. 2. (b)
. 3. (c)
. 4. (d)
If is a pfn, then .
Proof.
- (a)
follows from
[TABLE] 2. (b)
follows from since . 3. (c)
follows from . 4. (d)
Since and
[TABLE]
holds by Proposition 5.
∎
Case (a) of the last proposition ensures that Kleisli composition , is indeed associative, and (b) ensures that is a right unit of Kleisli composition.
Proposition 8**.**
Kleisli composition of multirelations is associative: , and is a right unit of Kleisli composition on each .
However it turns out that multirelations with respect to Kleisli composition do not form a category. The following proposition shows that the third defining identity of Kleisli liftings, , need not hold.
Proposition 9**.**
Kleisli composition need not have left units.
Proof.
Let . Then
[TABLE]
are all multirelations over . We obtain the Kleisli liftings
[TABLE]
and the composition table for the Kleisli composition as follows:
[TABLE]
Thus and are right units by Lemma 3, however the composition table shows that there is no left unit. ∎
5 Parikh lifting
The Parikh lifting of a relation is defined by . The Parikh lifting satisfies, by definition,
[TABLE]
In addition, one can define the Parikh composition of relations and as
[TABLE]
Its set-theoretic counterpart has again been presented in the introduction. This lifting and the associated composition have been studied by Martin and Curtis [16]. However, they have concentrated on up-closed multirelations such that , whereas we complement their investigation by the general case where up-closure need not hold. Independently of the work presented here, Berghammer and Guttmann have studied Parikh composition without up-closure, but without explicit liftings [2]. Set-theoretically, a multirelation is up-closed if and imply .
First, we present some properties of general multirelations under Parikh composition.
Proposition 10**.**
Let and be relations.
- (a)
. 2. (b)
*. * 3. (c)
. 4. (d)
* and .* 5. (e)
. 6. (f)
*. *
Proof.
- (a)
follows from
[TABLE] 2. (b)
follows from
[TABLE] 3. (c)
follows from
[TABLE] 4. (d)
follows from
[TABLE]
So, by . 5. (e)
follows from
[TABLE] 6. (f)
is immediate from the definitions of the Parikh lifting and .
∎
It is known that Parikh composition need not be associative [22]. The following example confirms that, in fact, the converse of inclusion (a) need not hold.
Example 1** (Tsumagari, [22]).**
Let , and be multirelations defined by
[TABLE]
Then we obtain Parikh liftings
[TABLE]
of and . Therefore the inequality \beta_{\diamond}\alpha_{\diamond}\mbox{{\ooalign{\hfil\sqsubseteq\hfil\crcr\lower 2.15277pt\hbox{{\small\,{}_{/}}}}}}(\beta\alpha_{\diamond})_{\diamond} holds, since , and
[TABLE]
∎**
In addition, fails this time.
Proposition 11**.**
Parikh composition need not have right units.
Proof.
Consider again the multirelations from the proof of Proposition 9. We obtain Parikh liftings
[TABLE]
of these multirelations and the composition table for Parikh composition as follows:
[TABLE]
The composition table shows that is the left unit and there is no right unit by Lemma 3. ∎
The failure of the right unit law has been noted by Berghammer and Guttmann, too [2]. Parikh composition is, however, associative for up-closed multirelations, and in fact, the inequalities (a) and (c) of Proposition 10 imply this. In addition, (e) and (f) of Proposition 10 imply that the converses of the membership relations serve as the units of Parikh composition in the up-closed case. Equation (b) of Proposition 10 implies that if is up-closed. In other words, up-closed multirelations form categories with respect to Parikh composition. We recover this result of Martin and Curtis within the more general setting of multirelations that need not be up-closed.
6 Peleg lifting
Before providing relational definitions of Peleg lifting and Peleg composition, we introduce some notation and prove a technical property.
For a relation the expressions and denote the conditions
[TABLE]
respectively. Some proofs below assume the point axiom (PA) and a variant of the (relational) axiom of choice (AC∗), that is,
[TABLE]
in addition to (Sub) and (DF). Note that (PA) is equivalent to . Also note that (AC∗) implies the (relational) axiom of choice
[TABLE]
Proposition 12**.**
*For all relations , the identity holds. *
Proof.
The inclusion is clear. It remains to show its converse. Using the point axiom (PA) we have
[TABLE]
Each relation is a pfn and . By the axiom of choice (AC∗), there is a pfn such that . Hence we have , which proves the converse inclusion . ∎
Proposition 12 above indicates that if and only if there exists a pfn such that .
The following example gives an intuition for the condition .
Example 2**.**
Consider the multirelations from Propositions 9 and 11. Then we have pfns , , , and . ∎**
The Peleg lifting of a relation is defined by
[TABLE]
where is the Kleisli lifting, as previously. As before, we define the Peleg composition of relations and as
[TABLE]
A set-theoretic definition can be found in the introduction; the Peleg lifting satisfies
[TABLE]
The Peleg lifting can be defined as the composite of the subidentity and the join of Kleisli liftings of pfns. In fact, the Peleg lifting of a relation is the join of Peleg liftings of pfns as shown in the following proposition.
Proposition 13**.**
Let be relations and .
- (a)
If , then . 2. (b)
If is pfn, then . 3. (c)
If is pfn, then so is . 4. (d)
. 5. (e)
. 6. (f)
.
Proof.
- (a)
Assume and . By the axiom of choice (AC∗) there exists a pfn such that . Then by 3 (b) and hence
[TABLE]
which proves the statement. 2. (b)
Let be a pfn and . Then is immediate from 3 (a). Hence the statement is obvious by the definition of Peleg lifting. 3. (c)
is a corollary of (b). 4. (d)
follows from
[TABLE] 5. (e)
follows from
[TABLE] 6. (f)
With
[TABLE]
we have
[TABLE]
and
[TABLE]
∎
The following proposition indicates that the singleton maps serve as the units of Peleg composition, which is well known [9], but the algebraic proofs are new.
Proposition 14**.**
Let be a relation and .
- (a)
. 2. (b)
. 3. (c)
. 4. (d)
.
Proof.
- (a)
follows from
[TABLE] 2. (b)
By 5, holds since it is clear that and
. So, we have
[TABLE] 3. (c)
follows from
[TABLE] 4. (d)
is a corollary of (c).
∎
The following proposition is immediate from (b) and (d) of Proposition 14 and Corollary 1.
Proposition 15**.**
* is the identity on for Peleg composition.*
We now reconsider our standard example in the context of the Peleg lifting and Peleg composition as an illustration.
Example 3**.**
Consider the multirelations from the proofs of Propositions 9, 11 and Example 2. Then and . Thus we obtain the Peleg liftings
[TABLE]
of these multirelations and the Peleg composition table:
[TABLE]
The singleton map is the unit with respect to Peleg composition. ∎**
It is known that Peleg composition need not be associative [9].
Example 4** (Furusawa and Struth, [9]).**
Let , ,
[TABLE]
Then
[TABLE]
Therefore .∎**
The question thus arises under which conditions Peleg composition becomes associative. In the rest of this paper, we examine associativity of Peleg composition more closely. Furusawa and Struth have shown that Peleg composition is associative if one of the three multirelations involved is a subidentity [9]. The next section presents a more general constraint. After that we introduce a general class of multirelations in which Peleg composition is associative.
7 Associativity of Peleg Composition for Partial Functions
This section shows that Peleg composition of multirelations is associative whenever one of the three multirelations that participate in an instance of an associativity law is a partial function. All subidentities are, of course, partial functions. The following technical lemmas prepare for this result.
For a subidentity , and are restrictions of a relation and a pfn to . The following proposition describes the Peleg lifting of such restrictions.
Proposition 16**.**
Let be a relation, a pfn, and .
- (a)
. 2. (b)
* implies . *
Proof.
- (a)
follows from
[TABLE] 2. (b)
Assume . Then
[TABLE]
∎
Proposition 17**.**
Let and be pfns and a relation.
- (a)
. 2. (b)
*. * 3. (c)
. 4. (d)
.
Proof.
- (a)
follows from by 3 (c). 2. (b)
follows from
[TABLE] 3. (c)
is a particular case of (b) when is a pfn. 4. (d)
follows from
[TABLE]
∎
Proposition 18**.**
Let be a pfn and . Then the identity holds.
Proof.
Set for short.
(1)
[TABLE]
(2)
[TABLE]
By (1) and (2),
[TABLE]
holds. This completes the proof. ∎
Associativity of Peleg composition for pfns now follows from the following fact, according to Section 3.
Proposition 19**.**
*If and are pfns, then . *
Proof.
[TABLE]
∎
Proposition 20**.**
Let be a relation. If and are pfns, then .
In the general case, at least a weak associativity law holds [9]. Once more we give an algebraic proof.
Corollary 2**.**
For relations and the inclusion holds.
Proof.
It follows from
[TABLE]
∎
This establishes the inclusion .
The condition for associativity may be relaxed slightly from Proposition 19, as the following fact shows.
Proposition 21**.**
For a relation and a pfn the identity holds.
Proof.
As by Corollary 2, it remains to show the converse inclusion . Since , it suffices to see that for each pfn . Assume that . By the axiom of choice (AC∗) there is a pfn such that and . Then the following holds.
(1)
[TABLE]
(2)
[TABLE]
(3)
[TABLE]
This completes the proof. ∎
Thus, the following proposition is obtained by Lemma 2.
Proposition 22**.**
Let and be relations. If is a pfn, then .
8 Associativity of Peleg Composition for Union-Closed Multirelations
Finally we show that Peleg composition is generally associative for a restricted class of union-closed multirelations. This implies that union-closed multirelations under Peleg composition form categories.
The following notion has been suggested by Tsumagari [22].
A relation is union-closed if for all relations such that . Set-theoretically, is union-closed iff for each
[TABLE]
For example, every pfn is union-closed, since the identity holds for all pfns by and
[TABLE]
Proposition 23**.**
*If a relation is union-closed, then for all relations with there exists a pfn such that and . *
Proof.
As is a pfn, by the axiom of choice (AC∗) there exists a pfn such that and . Hence
[TABLE]
∎
For tfns , , and relations , , the following interchange law holds:
[TABLE]
This interchange law is needed for the proof of the next proposition; and so is the strict point axiom (PA∗), that is,
[TABLE]
Note that (PA∗) implies (PA).
Proposition 24**.**
Let be a relation, and and pfns. If is union-closed, and , then .
Proof.
For an -point , set . Let be an -point (tfn) such that .
(1)
Assume . Then . This means that and are -points (atoms). Thus
[TABLE]
(2)
[TABLE]
So, since , .
(3)
Set . It is trivial that and .
[TABLE]
Hence for all . On the other hand, by Prop. 23 we have
[TABLE]
Hence for all
[TABLE]
(4)
[TABLE]
Hence , since both sides of the last identity are tfns.
(5)
[TABLE]
∎
Assume that for relations and . By (AC∗), there is a pfn such that and . Then, by a calculation that is similar to those for (1) and (2) in the proof of 21, we have and . Thus, by Proposition 24, whenever is union-closed. Moreover, this implies that
[TABLE]
Therefore, together with Corollary 2, we have if is union-closed. By Lemma 2, this implies the following proposition.
Proposition 25**.**
Peleg composition is associative over union-closed multirelations, namely .
Proposition 15 and 25 ensure the following proposition.
Proposition 26**.**
Union-closed multirelations form a category with Peleg composition and the unit on each .
9 Conclusion
We have used relational calculi for studying three kinds of composition of multirelations through suitable liftings, which have been inspired by Kleisli extensions in the context of Kleisli categories. We have introduced relational definitions of the Kleisli and Peleg lifting. Then, we have shown that Kleisli composition is associative but need not have units, and that the singleton map serves as the unit of Peleg composition. We have also shown some basic properties of Parikh composition without restriction to up-closed multirelations, in contrast to Martin and Curtis [16]. It is known that Peleg composition need not be associative [9]. Introducing the notion of union-closed multirelations, we have shown that Peleg composition becomes associative if the third argument is union-closed. It is obvious that the singleton map is union-closed. The set of union-closed multirelations thus forms a category under Peleg composition. The main contribution of this work is thus the translation from complex non-standard reasoning about multirelations to well known tools, namely reasoning with complex higher-order set-theoretic definitions or a non-associative operation of sequential composition can be replaced by standard relational reasoning, and categories of multirelations can be defined and standard category-theoretic tools applied.
Binary relations of type have often been studied as nondeterministic functions of type in the category of sets and functions. It is well known that the Kleisli category of the resulting powerset monad is isomorphic to the category of sets and binary relations under standard composition. A similar correspondence exists between the category of up-closed multirelations of type with respect to Parikh composition and that of certain doubly nondeterministic functions of type [5, 13, 15]. The well known isomorphisms between (multi)relations and classes of predicate transformers can be explained elegantly in this setting of monadic computation.
The constructions in this article, however, require greater generality, because relations of type as arrows in , which have motivated the lifting operations in this article, do not fall within the standard monadic setting. This is evidenced by the fact that natural transformations , as they arise in Kleisli triples , need not exist for Kleisli and Parikh composition, whereas definitions of in this setting, for instance for Peleg composition, seem far from obvious. A more detailed comparison of lifting constructions in monads and multirelations thus presents a very interesting avenue for further investigation.
Acknowledgment
The authors are grateful to the anonymous referees, as well as those for the previous RAMiCS 2015 version, for their careful reading and helpful comments. They acknowledge support by the Royal Society and JSPS KAKENHI grant number 25330016 and 16K21557 for this research. They are grateful to Koki Nishizawa and Toshinori Takai for enlightening discussions. The fourth author would like to thank Ichiro Hasuo and members of his group at the University of Tokyo for their generous support.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Ralph-Johan Back and Joakim von Wright. Refinement Calculus: A Systematic Introduction . Graduate Texts in Computer Science , Springer, 1998.
- 2[2] Rudolf Berghammer and Walter Guttmann Relation-Algebraic Approach to Multirelations and Predicate Transformers In Ralf Hinze, Janis Voigtländer, editors, MPC 2015 , LNCS , 9125:50–70, Springer, 2015.
- 3[3] Richard Bird and Oege de Moor. Algebra of Programming . Prentice-Hall, 1997.
- 4[4] Ashok K. Chandra, Dexter C. Kozen, and Larry J. Stockmeyer. Alternation. J. ACM , 28(1):114–133, 1981.
- 5[5] Jeremy E. Dawson. Compound Monads in Specification Languages, In Aaron Stump, Hongwei Xi, editors, PLPV 2007 , ACM, 3–10, 2007.
- 6[6] Peter J. Freyd and Andre Scedrov. Categories, Allegories , North-Holland Mathematical Texts , 39, North-Holland, 1990.
- 7[7] Hitoshi Furusawa and Yasuo Kawahara. Point Axioms in Dedekind Categories. In Wolfram Kahl, Timothy G. Griffin, editors, RA Mi CS 2012 , LNCS , 7560:219–234, Springer, 2012.
- 8[8] Hitoshi Furusawa, Yasuo Kawahara, Georg Struth, Norihiro Tsumagari. Relational Formalisations of Compositions and Liftings of Multirelations. In Wolfram Kahl, Michael Winter, José N. Oliveira, editors, RA Mi CS 2015 , LNCS , 9348:84–100, Springer, 2015.
