On the trade-off between labels and weights in quantitative bisimulation
Marco Peressotti

TL;DR
This paper explores the expressiveness of various quantitative transition system models, revealing a trade-off between label information and weights, and establishing their fundamental differences and relationships.
Contribution
It introduces a formal analysis of the trade-off between labels and weights in quantitative models, showing their fundamental distinctions and the limits of reduction.
Findings
Weighted transition systems use only weights to encode information.
Labelled transition systems rely solely on labels for information.
The models form a spectrum with no further significant reductions possible.
Abstract
Reductions for transition systems have been recently introduced as a uniform and principled method for comparing the expressiveness of system models with respect to a range of properties, especially bisimulations. In this paper we study the expressiveness (w.r.t. bisimulations) of models for quantitative computations such as weighted labelled transition systems (WLTSs), uniform labelled transition systems (ULTraSs), and state-to-function transition systems (FuTSs). We prove that there is a trade-off between labels and weights: at one extreme lays the class of (unlabelled) weighted transition systems where information is presented using weights only; at the other lays the class of labelled transition systems (LTSs) where information is shifted on labels. These categories of systems cannot be further reduced in any significant way and subsume all the aforementioned models.
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.
Taxonomy
TopicsFormal Methods in Verification · Logic, programming, and type systems · Logic, Reasoning, and Knowledge
\defasforeign
[mutatismutandis]mutatis mutandis \defasforeign[Mutatismutandis]Mutatis mutandis \defasforeign[criterium]criterium \defnotforeign[wrt]\xperiodafterw.r.t
\DeclareBoldMathCommand\bflangle⟨ \DeclareBoldMathCommand\bfrangle⟩
On the trade-off between labels and weights in quantitative bisimulation
Marco Peressotti
University of Southern Denmark
Abstract
Reductions for transition systems have been recently introduced as a uniform and principled method for comparing the expressiveness of system models with respect to a range of properties, especially bisimulations. In this paper we study the expressiveness (\wrtbisimulations) of models for quantitative computations such as weighted labelled transition systems (WLTSs), uniform labelled transition systems (ULTraSs), and state-to-function transition systems (FuTSs). We prove that there is a trade-off between labels and weights: at one extreme lays the class of “unlabelled” weighted transition systems where information is presented using weights only; at the other lays the class of labelled transition systems (LTSs) where information is shifted on labels. These categories of systems cannot be further reduced in any significant way and subsume all the aforementioned models.
1 Introduction
Weighted labelled transition systems (WLTSs) [10] are a meta-model for systems with quantitative aspects: transitions are of the form and labelled with weights that are taken from a given monoidal weight structure and express the quantity associated to the computational step. Many computational aspects can be captured just by changing the underlying weight structure: weights can model probabilities, resource costs, stochastic rates, \etc; as such, WLTSs are a generalisation of labelled transition systems (LTSs) [18], probabilistic systems (PLTSs) [23], stochastic systems [8], among others. Definitions and results developed in this setting instantiate to existing models, thus recovering known results and discovering new ones. In particular, the notion of weighted bisimulation in WLTSs coincides with that of (strong) bisimulation for all the aforementioned models [10].
In the wake of these encouraging results, other meta-models have been proposed aiming to cover an even wider range of computational models and concepts. Uniform labelled transition systems (ULTraSs) [2] are systems whose transitions have the form , where is a weight function assigning weights to states; hence, ULTraSs can be seen both as a non-deterministic extension of WLTSs and as a generalisation of Segala’s probabilistic systems [21] (NPLTSs). In [14, 16] a (coalgebraically derived) notion of bisimulation for ULTraSs is presented and shown to precisely capture bisimulations for weighted and Segala systems. Function-to-state transition systems (FuTSs) were introduced in [5] as a generalisation of the above, of IMCs [7], and of other models used to formalise the semantics of several process calculi with quantitative aspects. Later, [12] defined a (coalgebraically derived) notion of (strong) bisimulation for FuTSs which instantiates to known bisimulations for all the aforementioned models and hence can be taken as a general schema for defining quantitative bisimulations (\cf[11]).
Given all these meta-models, it is natural to wonder about their expressiveness. We should consider not only the class of systems these frameworks can represent, but also whether these representations are faithful with respect to the properties we are interested in. Intuitively, a meta-model M is subsumed by according to a property if any system which is an instance of M with the property , is also an instance of preserving .
In this work we study these meta-models according to their ability to correctly express strong bisimulation. In this context, a meta-model M is subsumed by if any system which is an instance of M, is also an instance of preserving and reflecting bisimulations.
Previous work [10, 2, 14, 16, 12] has shown that, according to this order, each of the models mentioned above subsumes the previous ones, thus forming the hierarchy shown in Figure 1. These results rely on direct inclusions between classes of models (\egLTSs are WLTSs on booleans) or some \adhocarguments (\egWLTSs are “functional” ULTraSs). Furthermore, in \loccitit is never shown if any of these models is strictly more expressive than the ones it subsumes.
To address this issue in a uniform and principled way, we introduced in [15] the notion of reduction between categories of systems and used it to formally define expressiveness of models with respect to (strong) bisimulation. We remark that this notion is far more general and can be used to study any category of state-based transition systems: all constructions and results are developed abstracting from the “type” of computation under scrutiny thanks to the theory of coalgebras [20]. This level of abstraction allowed us to formulate general results for the systematic derivation of reductions. As an application, we derived a reduction taking FuTSs to WLTSs hence proving that the former are subsumed by the latter. Because of this reduction, the hierarchy in Figure 1 collapses to that in Figure 1.
In [15] we left unanswered a fundamental question about this hierarchy of models:
Can the hierarchy of FuTSs/WLTSs be further collapsed in any meaningful way?
To provide this answer we extend the framework of reductions with new results concerning the existence of reductions and determine necessary and sufficient conditions for a wide class of systems of interest. Thanks to these methods, we are able to formally prove that there is a trade-off between labels and weights in the definition of WLTSs and similar models: information and complexity can be shifted from labels to weights and \viceversain ways that are coherent with model semantics as per the notion of quantitative bisimulation. At the two ends of this trade-off we find labelled transition systems and “unlabelled” weighted transition systems. As a consequence, LTSs subsume the whole hierarchy of models described above.
Synopsis
In Section 2 we recall from [20] basic notions of coalgebras and their use as a uniform model of (discrete) transition systems, their bisimulation, and final semantics. In Section 3 we recall from [15] relevant definitions about reductions and extend this framework with new results. In particular, in Section 3.2 we introduce necessary and sufficient conditions for reductions to exist under the assumption that all types involved have final coalgebras. In Section 4 we focus the lens of reductions on WLTSs and study under which conditions the category of WLTSs can be reduced. In Section 5 we apply the results we introduced in Section 3.2 to the category of FuTSs to prove that it reduces to that of WLTSs. The result is known since [15, Sec. 6] but here we provide an alternative proof. Final remarks are in Section 6.
2 Discrete transition systems
Coalgebras are a well established framework for modelling and studying the operational semantics of (abstract) computational devices such as automata, concurrent systems, and reactive ones; the methodology is termed universal coalgebra [20]. In this approach, the first step is to define a behavioural endofunctor over the category Set of small sets and functions modelling the computational aspects under scrutiny. Here, the term “modelling” has to be intended in the sense that, for a set of states, is the set of possible behaviours over . Then, a system is modelled by a -coalgebra \iea pair where the set , called carrier, is the state-space of the system and the map , called structure, associates each state with its behaviour. Coalgebras are often identified with their structure; in this situation the carrier of a -coalgebra will be denoted by . The definition of the endofunctor constitutes the crucial step of this method, as it corresponds to specify the behaviours that the systems under scrutiny are meant to exhibit \ietheir dynamics and observations. Hence, -coalgebras and the systems they model are said to be of type . Herein, the terms “coalgebra” and “system” (of type ) will be often treated as synonyms. Once a behavioural endofunctor is defined, this canonically determines a notion of coalgebra homomorphism \iestructure preserving maps between carriers: a -homomorphism from to is a function such that . Categories formed by systems and their homomorphisms will be called categories of systems and the category of all -systems will be denoted as .
Because homomorphisms preserve structures (hence system dynamics), their codomain can be thought of as a refinement system for their domain in the sense that they can aggregate states with equivalent dynamics. This observation corresponds to the notion of (kernel) bisimulation: a relation on is bisimulation for a system provided it is the kernel of a function underlying some -homomorphism with domain [22]. This notion of bisimulation generalises Milner’s strong bisimulation for LTSs as well as its generalisation to all the models considered in this work. The set of all bisimulations for a -system will be denoted as .
Under mild conditions on the behavioural endofunctor , there exists a final -system which describes all abstract behaviours of type . Final -systems are final objects in the category [1, 24]. Finality means that every -system has a unique homomorphism into the final -system. The function underlying uniquely associates each state in with a semantics, called final semantics, in the form of an abstract behaviour. Final semantics uniquely associates bisimilar states to the same abstract behaviour. As a consequence, states of final coalgebras can only be bisimilar to themselves. This property is called strong extensionality and identifies final homomorphisms with the coinductive proof principle [9]. Because of its relation with coinduction, the unique homomorphism from a system into the final one is also called coinductive extension of .
Example 1** (LTSs).**
It has been shown in [20] that:
- •
image finite LTSs over a set of labels are -systems where is the finite powerset functor;
- •
the notion of (kernel) bisimulation for -systems coincides with Milner’s (strong) bisimulation for LTSs;
- •
the endofunctor has final systems.
For exposition sake, sets of labels are implicitly assumed to not be empty—thus avoiding degenerate systems of type . Hereafter, let LTS denote the category of all image-finite labelled transition systems and let be its subcategory of systems whose labels range over . ∎
For an abelian monoid111An abelian monoid is a set equipped with an associative and commutative binary operation and a unit [math] for ; such structure is called trivial when is a singleton., the generalised (finite) multiset functor is the endofunctor over Set which assigns:
- •
to each set the set of finitely supported weight functions (the support of is the set );
- •
to each function the map . (summation is well defined because is finitely supported).
Note that if is trivial then is always a singleton whence, monoids of weights are implicitly assumed to not be trivial. Elements of will be often presented in formal sum notation: for we write or, given , simply . For instance, is formulated as .
Example 2** (WLTSs).**
Let be a non-empty set and a non-trivial abelian monoid. It has been shown in [10] that:
- •
WLTSs with labels drawn from and weights drawn from are -system;
- •
the notion of (kernel) bisimulation for -systems coincides with that of weighted bisimulation;
- •
the endofunctor has final systems.
In the sequel, let WLTS be the category of all weighted labelled transition systems and write for its subcategory formed by -systems. If weights are drawn from the monoid of boolean values under disjunction then, is (isomorphic to) and the associated notions of bisimulation coincide. ∎
Example 3** (ULTraSs).**
Let be a non-empty set and a non-trivial abelian monoid. It has been shown in [14, 16] that (image finite) ULTraSs on and are -systems. The notion of bisimulation for -systems coincides with that of strong bisimulation as per [14, 16]. The functor admits final systems. Let ULTraS denote the category of all image-finite ULTraSs and its subcategory of systems with labels in and weights in . WLTSs can be cast to ULTraSs by wrapping each target of their transitions into a singleton (\ieby post-composition with components of the powerset unit). In [2] ULTraSs obtained in this way are called functional and, as shown in [14], the casting operation is faithful to the semantics of WLTSs. ∎
Example 4** (FuTSs).**
FuTSs are systems for any endofunctor by the grammar
[TABLE]
where and range over (non-empty) sets of labels and (non-trivial) abelian monoids, respectively. Any such endofunctor is equivalently described by
[TABLE]
where is a sequence of (non-empty) sets of labels, each is a sequence of non-trivial abelian monoids, and . (Up to minor notational variations, this characterisation can be found in [12, 16].) The notion of bisimulation for -systems coincides with that of strong bisimulation for FuTSs described in [12]. In \loccitit is shown that every has final systems. For any and as above define as category . Clearly, and coincide with and , respectively. As a consequence, the categories LTS, WLTS, and ULTraS are all subcategories of FuTS, the category of all FuTSs. ∎
3 Reductions for discrete transition systems
In [15] the notion of reduction was introduced in order to formalise the intuition that a behaviour type is (at least) as expressive as another whenever systems and homomorphisms of the latter can be “encoded” as systems and homomorphisms of the former and provided that their semantically relevant structures are both preserved and reflected. In this work we extend the framework of reductions with new results concerning existence of reductions under the assumption that the involved types have final systems.
3.1 Reductions
Intuitively, to reduce a transition system (source) to another (target) of a possibly different type means to “encode” the state space of the former into the state space of the latter while preserving and reflecting their semantically relevant structure and properties. Because the source and target system of a reduction may be of different types, structure preservation cannot be formalised as a system homomorphism. Instead, reductions rely on an indirect expression of homomorphisms: bisimulations. Reductions require that every bisimulation for the source system is assigned to bisimulations for the target system that are coherent with the encoding of the state space.
Definition 1**.**
For systems and , a (system) reduction is given by
a function and 2. 2.
a left-total222A relation is called left-total or multivalued function if for every there is s.t. . relation
such that carries a relation homomorphism for any pair of bisimulations in , \ie:
[TABLE]
A system reduction is called full whenever is surjective.
As a consequence of Condition ( ‣ 1), the function is always injective and the correspondence is always left-unique333A relation is called left-unique or injective if for every there is at most one s.t. ..
Proposition 1**.**
For a system reduction, is injective and is left-unique.
Proof.
Observe that the diagonal (or identity) relation on a system state space is always a bisimulation. For a set , write for the diagonal on . By left-totality of , there is a bisimulation for such that . Then, it follows from Condition ( ‣ 1), that if and only if \ieif and only if . Left-uniqueness follows immediately from injectivity of . ∎
The first property guarantees that reductions preserve the identity of states and this is of relevance \egwhen these are presented as terms of some process calculus or programming language, since reductions provide alternative but faithful semantics. The second property ensures that given any bisimulation for can be recovered by restricting some bisimulation for to the image of in through the injection .
Fullness identifies reductions that use the state space of the target system in its entirety which means that full reductions do not introduce auxiliary states.
Proposition 2**.**
For a full system reduction, the map is an isomorphism and the relation is right-unique444A relation is called right-unique if for every there is s.t. ..
Proof.
Assume that is full. The function is injective and surjective hence an isomorphism. Then it follows from condition ( ‣ 1) that is also right-unique since states related by a bisimulation of the target system are always image of states of the source system ∎
System reductions can be extended to categories of systems by equipping functors with them and ensuring they respect the structure of homomorphisms. Formally:
Definition 2**.**
For C and D categories of system, a reduction from C to D, written , is a functor going from C to D equipped with a collection of system reductions
[TABLE]
such that for any in C:
[TABLE]
A reduction is called full if, and only if, every system reduction is full. A category C is said to reduce (resp. fully reduce) to D, if there is a reduction (resp. a full reduction) going from C to D.
Notation**.**
For categories C and D we write if C reduces to D, if and , and if the reductions involved are full.
Reductions form a category. To compose reductions and it suffices to compose their underlying functors and each system reduction accordingly: the composite reduction is the composite functor equipped with the family of system reductions given on each by and . Reduction composition is associative and admits identities which are given on every C as the identity assignments for systems and homomorphisms. Any reduction restricts to a reduction from a subcategory of its domain and extends to a reduction to a super-category of its codomain. Fullness is preserved by the above operations and full reductions form a category that lies in the category of reductions.
3.2 Reductions and final systems
Final systems describe all abstract behaviours for their type \ieall behaviours bisimulations cannot distinguish. Reductions preserve and reflect bisimulations and are injective on state spaces. As a consequence, for a reduction going from to to exist, it is necessary that there are at least as many abstract behaviours of type as are those of type .
Lemma 3**.**
For any and , if both admit final systems then:
[TABLE]
Proof.
Let be a reduction going from to . It follows from Proposition 1 that and from Condition ( ‣ 1) that is strongly extensional on the image of \ie:
[TABLE]
As a consequence, the -system exhibits at least as many distinct abstract behaviours as the final -systems . Therefore, or otherwise there would be such that but . ∎
The condition on the size of final systems is not only necessary but also sufficient for having a reduction. Intuitively, the size condition guarantees that it is possible to represent abstract behaviours of the source type as abstract behaviour of type by means of a system reduction for the final system. In fact, provided that , it is possible to fix an injection to be used as an “encoding”. Since final systems are strongly extensional, this map uniquely identifies a left-total relation such that
[TABLE]
By construction, and define a system reduction . Once all abstract behaviours are covered, the reduction can be extended to every other -system along their final semantics.
Lemma 4**.**
For any and , if both admit final systems then:
[TABLE]
Proof.
Assume that and let be any injective map. For define as the -system depicted in the diagram below:
[TABLE]
where is the right injection into the coproduct . Let and consider the relation on . Observe that whenever or and that . Therefore, the relation is a bisimulation for by construction. Define as the left injection into the coproduct and as the (left-total) relation . If follows from the observation above that and form a reduction going from to . For a -homomorphism, the function carries a -homomorphism going from to as shown by the commuting diagram below:
[TABLE]
Note that the left triangle commutes by definition of final system. As a consequence, the mappings and define a functor . This functor is coherent with the family of system reductions defined above and hence extends to a reduction from to . ∎
It follows from Lemmas 3 and 4 that the condition on the size of final systems is both necessary and sufficient for the existence of a reduction. Formally:
Theorem 5**.**
For any and , if both admit final systems then:
[TABLE]
As a consequence, to prove or disprove that there is a reduction taking -systems to -systems it suffices to provide an upper and a lower bound to the size of their final systems, respectively.
4 Reducing weighted transition systems
In this section we address the main question left open in [15] \iewhether it is possible to collapse the hierarchy of FuTSs beyond the category of WLTSs. To answer this question, we determine conditions on subcategories of WLTS that are necessary and sufficient for a reduction to exist. Remarkably, these conditions involve solely the total number of labels and weights used by systems of a certain type. This suggests the possibility for reductions to shift information between labels and weights while preserving the semantics of WLTSs.
In [10], Klin proved that every category has final objects but to the best of our knowledge the cardinality of their carriers has not been studied yet. We determine lower and upper bounds to said cardinality. Albeit conservative, these bounds have the advantage of offering a clear dependency on the cardinality of labels and weights. For any non-empty set and non-trivial abelian monoid , it holds that:
[TABLE]
Intuitively, the type has at least
- •
-many abstract behaviours since is not trivial and natural numbers can be encoded using computation length;
- •
-many abstract behaviours since there is at least a computation whose first step assigns a given weight to a state;
- •
-many abstract behaviours since there is at least a computation that is able to proceed under a given label.
For any non-empty set and non-trivial abelian monoid , it holds that:
[TABLE]
Intuitively, abstract behaviours for can be pictured as certain possibly infinite trees that alternate -indexed branches and -labelled finite branches. These trees have at most possible ways of branching and their depth is countable. Thus, there are not more than of such trees.
Lemma 6**.**
For a non-trivial abelian monoid and a non-empty set, has final systems and the cardinality of their carrier satisfies ( ‣ 4) and ( ‣ 4).
Proof.
Recall from [10, Prop. 3] that has final coalgebras.
In order to prove that ( ‣ 4) holds, we claim that the following implication holds:
[TABLE]
Then, ( ‣ 4) follows from Lambeck’s Lemma—which states that final coalgebras are always isomorphisms \ieinvariants of their endofunctor. To prove our claim we proceed considering three main cases: one for each factor in . For the first case assume that . Assume by contradiction that is finite. As a consequence, is the function space leading to the contradiction:
[TABLE]
since , , and . Therefore, must follow from the premise that and the assumption that . For the second case assume that . Fix a state . It follows that:
[TABLE]
since . For the second case assume that . Fix any and any . For define as the Dirac’s delta function taking to and everything else to the constantly zero function. It holds that:
[TABLE]
Recall that the final sequence for is a limit preserving functor from the category of ordinal numbers to that of sets and such that:
[TABLE]
where are ordinal numbers and is the action induced by . We claim that for any ordinal ,
[TABLE]
Then, ( ‣ 4) holds since the the final sequence for stabilises at the final -coalgebra. Let be [math]. . Let be for . It holds that:
[TABLE]
where (LABEL:thm:wlts-final-coalgebras-bounds-1) follows from the observation that , (LABEL:thm:wlts-final-coalgebras-bounds-2) from the inductive hypothesis, and the remaining inequalities from basic cardinal arithmetic. Let be . Observe that the limit step is a subset of . Therefore, it holds that:
[TABLE]
We claim that for any transfinite ordinal it holds that and, as a consequence of the above, ( ‣ 4). Observe that is finitary and that preserves injections. Recall from [25] that final sequences for finitary endofunctors stabilise after steps (\cf[25, Thm. 11]), that all actions for are injections, and that this holds also for arbitrary products of finitary endofunctors (\cf[25, Thm. 13]). We conclude that our claims holds true. ∎
Recall from Proposition 1 that reductions never take systems to systems with smaller state spaces and from Theorem 5 that this situation applies also to abstract behaviours described by final systems. Therefore, a consequence of the dependency shown above between the size of final WLTSs and the number of labels and weights they use is that the target of a reduction from the category WLTS to any of its subcategories must have systems with enough labels and weights for every small555A cardinal number is called small if it is the cardinality of a (small) set as opposed to proper classes. cardinal. Formally:
Theorem 7**.**
For C a subcategory of WLTS, if then for any small cardinal there is in C such that .
Proof.
Let be a reduction going from WLTS to C. Fix a small cardinal and assume without loss of generality that it is transfinite. Let and be a non-empty set and a non-trivial abelian monoid with the property that . Write and for the set of labels and monoid of weights defining the type of the system . Observe that restricts to a reduction going from to since homomorphisms respect types and reductions are functors. Then, it holds that:
[TABLE]
where (LABEL:thm:wlts-reduction-1-1) follows from the assumption that and definition of cardinal sum, (LABEL:thm:wlts-reduction-1-2) and (LABEL:thm:wlts-reduction-1-4) follow from Lemma 6, (LABEL:thm:wlts-reduction-1-3) follows from Proposition 1, and (LABEL:thm:wlts-reduction-1-5) follows from the same reasoning used in the proof of Theorem 5. We claim that . The proof is divided in three cases. For the first case, assume that . As a consequence, it holds that:
[TABLE]
Observe that since cardinal exponentiation is monotonic and by assumption. As a consequence of the last of observation, since the above inequality holds we conclude that and hence that . Therefore, . For the second case, assume that and that . As a consequence, it holds that:
[TABLE]
Then, the claim follows from the same argument discussed in the previous case. For the last case, assume that and . As a consequence, it holds that:
[TABLE]
where the last inequality is an instance of a general result of powers involving at least a transfinite cardinal. It follows by monotonicity of cardinal exponentiation that hence the claim. Since the only assumption put on is that it is transfinite, the thesis holds true. ∎
A consequence of Theorem 7 is that it cannot exist an instance of the WLTS meta-model that is “universal”: it is not possible to faithfully express all behaviours modelled as WLTSs using a single set of labels and a single monoid of weights.
Corollary 8**.**
There are no and such that .
Proof.
Assume by contradiction that there are and such that . It follows from Theorem 7 that is greater than any small cardinal. As a consequence, at least one between and is a proper class whereas they are sets by definition of WLTS. ∎
Theorem 7 describes a condition on a subcategory C of WLTS that is necessary to reduce WLTS to C. However, said condition fails to be sufficient. For a counter example, consider as C the category of all final weighted transition systems. This category satisfies the hypothesis of Theorem 7: for any small cardinal the category has a system whose type has at least -many labels and weights, combined. However, it is not possible to reduce WLTS to C for the same reason that it is not possible to reduce to its subcategory of final systems: reductions are injective on state spaces and respect system homomorphisms. Because of the injectivity property the target category must at least have, for any small cardinal a system with a carrier exceeding . Because homomorphisms preserve types, systems from must be reduced to systems of the same type. These observations suggest the following sufficient condition which, roughly speaking, extends that of Theorem 7 by assuming that C has also enough systems for each type in the reduction targeted.
Theorem 9**.**
For C a category of systems, if for any small cardinal there are and such that and then, .
Proof.
Observe that system homomorphisms preserve types and reductions respect homomorphisms. As a consequence, any subcategory of WLTS can be considered and reduced in isolation: to reduce WLTS to C it is sufficient to provide a reduction for each . Given any and , let and be a non-empty set and a non-trivial abelian monoid with the property that and . Existence of and follows from hypothesis on C and Lemma 6: if is taken as then it holds that:
[TABLE]
It follows from Theorem 5 and hypothesis on and that proving that any subcategory of WLTS reduces to C and hence that . ∎
Neither Theorem 7 nor Theorem 9 distinguish between the contribution of labels and weights. Instead, both require that any small cardinal is covered by the combined size of labels and weights. This situation points to a trade-off between labels and weights: it is possible to shift information and complexity between the two parameters defining WLTSs behaviours while preserving their semantics in terms of quantitative bisimulation. At one end of this trade-off all information is shifted into labels and weights are drawn from the smallest non-trivial abelian monoid which is (up-to isomorphism) the monoid of boolean values under disjunction. Systems weighted over are LTSs.
Corollary 10**.**
.
At the other end of the trade-off all information is expressed using weights only. These systems have exactly one label which means that they are essentially “unlabelled”. We write WTS for the subcategory of WLTS formed by “unlabelled” weighted transition systems.
Corollary 11**.**
.
Actually, a result stronger than that stated in Corollary 11 holds: there is a full reduction.
Theorem 12**.**
.
Proof.
For an abelian monoid and a set, the function space carries an abelian monoid structure given by an -indexed product of monoids. In particular, the monoidal zero is the -indexed tuple:
[TABLE]
and monoidal sum is defined on each and as:
[TABLE]
There is a natural isomorphism given on each set as:
[TABLE]
and
[TABLE]
Since this natural transformation is component-wise injective, it follows from [15, Thm. 3] that there is a full reduction given on each system as:
[TABLE]
and each homomorphism as follows:
[TABLE]
5 Reducing state-to-function transition systems, again
In [15, 17, Sec. 6] we proved that the category of FuTSs reduces to that of WLTSs by defining a suitable reduction. An explicit reduction offered us a bridge for deriving logical characterisations of bisimulations for these systems [17, Sec. 8] but this may not be necessary in general. In this section we present an alternative (and shorter) proof based on the results we introduced in Section 3.2. In this way, we are also able to validate the technique rediscovering known reductions.
Recall from Section 3.2 that to prove existence of reductions using Theorem 5 it suffices to provide an upper bound for the size of final systems for the source type (here FuTSs) and a lower bound for the size of final systems for the target type (here WLTSs).
Lemma 13**.**
There are final -systems and it holds that:
[TABLE]
Proof.
For any non-trivial abelian monoid , set and small cardinal it holds that:
[TABLE]
In fact, if then,
[TABLE]
Write for the final sequence of the endofunctor and for the cardinal number . The proof proceeds by showing that for any ordinal . Observe that like , also the final sequence for stabilises in and that all actions after are injections. It suffices to prove that for any . Let be [math]. By definition of it holds that . Let be a finite successor ordinal . It follows from the inductive hypothesis, the implication above, and definition of that:
[TABLE]
Let be . From definition of on limit ordinals and the inductive hypothesis it holds that:
[TABLE]
Therefore, every set in the final sequence for the endofunctor is of cardinality less or equal to , especially the carrier of . ∎
The category of FuTSs reduces to that of WLTSs.
Theorem 14**.**
.
Proof.
Let and be sequences of labels and monoids from a type modelling FuTSs. It follows from Lemma 13 that there is a non-empty set and a non-trivial abelian monoid such that:
[TABLE]
Recall from Lemma 6 that is a lower bound to the size of final -systems, then by Theorem 5. From the fact that every subcategory of FuTS reduces to some subcategory of WLTS it follows that . ∎
6 Conclusions and final remarks
In this paper we studied the category of weighted labelled transitions systems under the lens of reductions in order to understand their expressiveness in terms of quantitative bisimulation. We proved that there is no instance of the WLTS model that is “universal”: it is not possible to faithfully express all behaviours modelled as WLTSs using a single set of labels and a single monoid of weights (Corollary 8). In fact, we proved that the expressiveness of these models depends on combined size of their sets of labels and weights (the parameters of WLTSs models) which can be arbitrarily large sets but not proper classes (Theorem 7). Given that the dependency is on the combined size, we then proved that it is indeed possible to freely distribute the contribution between labels and weights while preserving the model expressiveness in terms of quantitative bisimulation (Theorem 9). At the two ends of this trade-off between labels and weights there are the categories of LTSs and of WTSs (or unlabelled WLTSs) where the information is completely shifted to labels or to weights, respectively (Corollaries 10 and 11).
To obtain these results, we extended the framework of reductions with new results relating the existence of reductions to properties of final coalgebras. In particular, we proved that reductions exist if and only if the target type has at least as many abstract behaviours as the source type. As a consequence, even a rough estimate of the final coalgebra size suffices to prove or disprove the existence of a reduction. As an application, in Section 5 we provided a shorter proof of a known result: that the category of FuTSs reduces to that of WLTSs.
Besides the classification interest, results presented in this work are of relevance to the extension of these theories of models. In fact, reductions pave the way for porting existing and new results between categories of transition systems. For instance, in [17] reductions are used to derive new Hennessy-Milner-style modal logics for transition systems and guarantee an important property of such logics called full-abstraction (or expressiveness) \ietheir ability to characterise bisimilarity.
In this (and previous works [15, 17]) we focused on strong bisimulation; a natural direction to pursue is to consider different behavioural equivalences, like trace equivalence or weak bisimulation. We remark that, as shown in [6, 3, 4, 19], in order to deal with these and similar equivalences, endofunctors need to be endowed with a monad (sub)structure; although WLTSs are covered in [13, 3], an analogous account of ULTraSs and FuTSs is still an open problem.
Acknowledgements
This work was supported by the CRC project, grant no. DFF–4005-00304 from the Danish Council for Independent Research, and by the Open Data Framework project at the University of Southern Denmark.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Peter Aczel and Nax Mendler “A Final Coalgebra Theorem” In Proc. CTCS 389 , Lecture Notes in Computer Science Springer, 1989, pp. 357–365
- 2[2] Marco Bernardo, Rocco De Nicola and Michele Loreti “A uniform framework for modeling nondeterministic, probabilistic, stochastic, or mixed processes and their behavioral equivalences” In Information and Computation 225 , 2013, pp. 29–82 DOI: 10.1016/j.ic.2013.02.004 · doi ↗
- 3[3] Tomasz Brengos, Marino Miculan and Marco Peressotti “Behavioural equivalences for coalgebras with unobservable moves” In Journal of Logical and Algebraic Methods in Programming 84.6 , 2015, pp. 826–852 DOI: 10.1016/j.jlamp.2015.09.002 · doi ↗
- 4[4] Tomasz Brengos and Marco Peressotti “A Uniform Framework for Timed Automata” In CONCUR 59 , LIP Ics Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, 2016, pp. 26:1–26:15
- 5[5] Rocco De Nicola, Diego Latella, Michele Loreti and Mieke Massink “A uniform definition of stochastic process calculi” In ACM Comput. Surv. 46.1 , 2013, pp. 5 DOI: 10.1145/2522968.2522973 · doi ↗
- 6[6] Ichiro Hasuo, Bart Jacobs and Ana Sokolova “Generic Trace Semantics via Coinduction” In Logical Methods in Computer Science 3.4 , 2007 DOI: 10.2168/LMCS-3(4:11)2007 · doi ↗
- 7[7] Holger Hermanns “Interactive Markov Chains: The Quest for Quantified Quality” 2428 , Lecture Notes in Computer Science Springer, 2002
- 8[8] Jane Hillston “A compositional approach to performance modelling” Cambridge University Press, 1996 DOI: 10.1017/CBO 9780511569951 · doi ↗
