80 research outputs found
Coalgebraic Behavioral Metrics
We study different behavioral metrics, such as those arising from both
branching and linear-time semantics, in a coalgebraic setting. Given a
coalgebra for a functor , we define a framework for deriving pseudometrics on which
measure the behavioral distance of states.
A crucial step is the lifting of the functor on to a
functor on the category of pseudometric spaces.
We present two different approaches which can be viewed as generalizations of
the Kantorovich and Wasserstein pseudometrics for probability measures. We show
that the pseudometrics provided by the two approaches coincide on several
natural examples, but in general they differ.
If has a final coalgebra, every lifting yields in a
canonical way a behavioral distance which is usually branching-time, i.e., it
generalizes bisimilarity. In order to model linear-time metrics (generalizing
trace equivalences), we show sufficient conditions for lifting distributive
laws and monads. These results enable us to employ the generalized powerset
construction
Coalgebraic Infinite Traces and Kleisli Simulations
Kleisli simulation is a categorical notion introduced by Hasuo to verify
finite trace inclusion. They allow us to give definitions of forward and
backward simulation for various types of systems. A generic categorical theory
behind Kleisli simulation has been developed and it guarantees the soundness of
those simulations with respect to finite trace semantics. Moreover, those
simulations can be aided by forward partial execution (FPE)---a categorical
transformation of systems previously introduced by the authors.
In this paper, we give Kleisli simulation a theoretical foundation that
assures its soundness also with respect to infinitary traces. There, following
Jacobs' work, infinitary trace semantics is characterized as the "largest
homomorphism." It turns out that soundness of forward simulations is rather
straightforward; that of backward simulation holds too, although it requires
certain additional conditions and its proof is more involved. We also show that
FPE can be successfully employed in the infinitary trace setting to enhance the
applicability of Kleisli simulations as witnesses of trace inclusion. Our
framework is parameterized in the monad for branching as well as in the functor
for linear-time behaviors; for the former we mainly use the powerset monad (for
nondeterminism), the sub-Giry monad (for probability), and the lift monad (for
exception).Comment: 39 pages, 1 figur
Towards Trace Metrics via Functor Lifting
We investigate the possibility of deriving metric trace semantics in a
coalgebraic framework. First, we generalize a technique for systematically
lifting functors from the category Set of sets to the category PMet of
pseudometric spaces, showing under which conditions also natural
transformations, monads and distributive laws can be lifted. By exploiting some
recent work on an abstract determinization, these results enable the derivation
of trace metrics starting from coalgebras in Set. More precisely, for a
coalgebra on Set we determinize it, thus obtaining a coalgebra in the
Eilenberg-Moore category of a monad. When the monad can be lifted to PMet, we
can equip the final coalgebra with a behavioral distance. The trace distance
between two states of the original coalgebra is the distance between their
images in the determinized coalgebra through the unit of the monad. We show how
our framework applies to nondeterministic automata and probabilistic automata
Fair Simulation for Nondeterministic and Probabilistic Buechi Automata: a Coalgebraic Perspective
Notions of simulation, among other uses, provide a computationally tractable
and sound (but not necessarily complete) proof method for language inclusion.
They have been comprehensively studied by Lynch and Vaandrager for
nondeterministic and timed systems; for B\"{u}chi automata the notion of fair
simulation has been introduced by Henzinger, Kupferman and Rajamani. We
contribute to a generalization of fair simulation in two different directions:
one for nondeterministic tree automata previously studied by Bomhard; and the
other for probabilistic word automata with finite state spaces, both under the
B\"{u}chi acceptance condition. The former nondeterministic definition is
formulated in terms of systems of fixed-point equations, hence is readily
translated to parity games and is then amenable to Jurdzi\'{n}ski's algorithm;
the latter probabilistic definition bears a strong ranking-function flavor.
These two different-looking definitions are derived from one source, namely our
coalgebraic modeling of B\"{u}chi automata. Based on these coalgebraic
observations, we also prove their soundness: a simulation indeed witnesses
language inclusion
Complementation of Rational Sets on Countable Scattered Linear Orderings
In a preceding paper (Bruyère and Carton, automata on linear orderings, MFCS'01), automata have been introduced for words indexed by linear orderings. These automata are a generalization of automata for finite, infinite, bi-infinite and even transfinite words studied by Büchi. Kleene's theorem has been generalized to these words. We prove that rational sets of words on countable scattered linear orderings are closed under complementation using an algebraic approach
Towards Trace Metrics via Functor Lifting
We investigate the possibility of deriving metric trace semantics in a coalgebraic framework. First, we generalize a technique for systematically lifting functors from the category Set of sets to the category PMet of pseudometric spaces, by identifying conditions under which also natural transformations, monads and distributive laws can be lifted. By exploiting some recent work on an abstract determinization, these results enable the derivation of trace metrics starting from coalgebras in Set. More precisely, for a coalgebra in Set we determinize it, thus obtaining a coalgebra in the Eilenberg-Moore category of a monad. When the monad can be lifted to PMet, we can equip the final coalgebra with a behavioral distance. The trace distance between two states of the original coalgebra is the distance between their images in the determinized coalgebra through the unit of the monad. We show how our framework applies to nondeterministic automata and probabilistic automata
- …