1,331 research outputs found
Towards a Uniform Theory of Effectful State Machines
Using recent developments in coalgebraic and monad-based semantics, we
present a uniform study of various notions of machines, e.g. finite state
machines, multi-stack machines, Turing machines, valence automata, and weighted
automata. They are instances of Jacobs' notion of a T-automaton, where T is a
monad. We show that the generic language semantics for T-automata correctly
instantiates the usual language semantics for a number of known classes of
machines/languages, including regular, context-free, recursively-enumerable and
various subclasses of context free languages (e.g. deterministic and real-time
ones). Moreover, our approach provides new generic techniques for studying the
expressivity power of various machine-based models.Comment: final version accepted by TOC
Efficient and Modular Coalgebraic Partition Refinement
We present a generic partition refinement algorithm that quotients
coalgebraic systems by behavioural equivalence, an important task in system
analysis and verification. Coalgebraic generality allows us to cover not only
classical relational systems but also, e.g. various forms of weighted systems
and furthermore to flexibly combine existing system types. Under assumptions on
the type functor that allow representing its finite coalgebras in terms of
nodes and edges, our algorithm runs in time where
and are the numbers of nodes and edges, respectively. The generic
complexity result and the possibility of combining system types yields a
toolbox for efficient partition refinement algorithms. Instances of our generic
algorithm match the run-time of the best known algorithms for unlabelled
transition systems, Markov chains, deterministic automata (with fixed
alphabets), Segala systems, and for color refinement.Comment: Extended journal version of the conference paper arXiv:1705.08362.
Beside reorganization of the material, the introductory section 3 is entirely
new and the other new section 7 contains new mathematical result
Logical Relations for Monadic Types
Logical relations and their generalizations are a fundamental tool in proving
properties of lambda-calculi, e.g., yielding sound principles for observational
equivalence. We propose a natural notion of logical relations able to deal with
the monadic types of Moggi's computational lambda-calculus. The treatment is
categorical, and is based on notions of subsconing, mono factorization systems,
and monad morphisms. Our approach has a number of interesting applications,
including cases for lambda-calculi with non-determinism (where being in logical
relation means being bisimilar), dynamic name creation, and probabilistic
systems.Comment: 83 page
Efficient Coalgebraic Partition Refinement
We present a generic partition refinement algorithm that quotients coalgebraic systems by behavioural equivalence, an important task in reactive verification; coalgebraic generality implies in particular that we cover not only classical relational systems but also various forms of weighted systems. Under assumptions on the type functor that allow representing its finite coalgebras in terms of nodes and edges, our algorithm runs in time O(m log n) where n and m are the numbers of nodes and edges, respectively. Instances of our generic algorithm thus match the runtime of the best known algorithms for unlabelled transition systems, Markov chains, and deterministic automata (with fixed alphabets), and improve the best known algorithms for Segala systems
- …