10 research outputs found
LIPIcs, Volume 261, ICALP 2023, Complete Volume
LIPIcs, Volume 261, ICALP 2023, Complete Volum
Reachability analysis of reversal-bounded automata on seriesâparallel graphs
Extensions to finite-state automata on strings, such as multi-head automata or multi-counter automata, have been successfully used to encode many infinite-state non-regular verification problems. In this paper, we consider a generalization of automata-theoretic infinite-state verification from strings to labelled seriesâparallel graphs. We define a model of non-deterministic, 2-way, concurrent automata working on seriesâparallel graphs and communicating through shared registers on the nodes of the graph. We consider the following verification problem: given a family of seriesâparallel graphs described by a context-free graph transformation system (GTS), and a concurrent automaton over seriesâparallel graphs, is some graph generated by the GTS accepted by the automaton? The general problem is undecidable already for (one-way) multi-head automata over strings. We show that a bounded version, where the automata make a fixed number of reversals along the graph and use a fixed number of shared registers is decidable, even though there is no bound on the sizes of seriesâparallel graphs generated by the GTS. Our decidability result is based on establishing that the number of context switches can be bounded and on an encoding of the computation of bounded concurrent automata that allows us to reduce the reachability problem to the emptiness problem for pushdown automata
Path Logics for Querying Graphs: Combining Expressiveness and Efficiency
International audienceWe study logics expressing properties of paths in graphs that are tailored to querying graph databases: a data model for new applications such as social networks, the Semantic Web, biological data, crime detection, and others. The basic construct of such logics, a regular path query, checks for paths whose labels belong to a regular language. These logics fail to capture two commonly needed features: counting properties, and the ability to compare paths. It is known that regular path-comparison relations (e.g., prefix or equality) can be added without significant complexity overhead; however, adding common relations often demanded by applications (e.g., subword, subsequence, suffix) results in either undecidability or astronomical complexity. We propose, as a way around this problem, to use automata with counting functionalities, namely Parikh automata. They express many counting properties directly, and they approximate many relations of interest. We prove that with Parikh automata defining both languages and relations used in queries, we retain the low complexity of the standard path logics for graphs. In particular, this gives us efficient approximations to queries with prohibitively high complexity. We extend the best known decidability results by showing that even more expressive classes of relations are possible in query languages (sometimes with restriction on the shape of formulae). We also show that Parikh automata admit two convenient representations by analogs of regular expressions, making them usable in real-life querying
Recommended from our members
Program reliability through algorithmic design and analysis
textSoftware systems are ubiquitous in today's world and yet, remain vulnerable to the fallibility of human programmers as well as the unpredictability of their operating environments. The overarching goal of this dissertation is to develop algorithms to enable automated and efficient design and analysis of
reliable programs.
In the first and second parts of this dissertation, we focus on the development of programs that are free from programming errors. The intent is not to eliminate the human programmer, but instead to complement his or her expertise, with sound and efficient computational techniques, when possible. To this end, we make contributions in two specific domains.
Program debugging --- the process of fault localization and error elimination from a program found to be incorrect --- typically relies on expert human intuition and experience, and is often a lengthy, expensive part of the program development cycle. In the first part of the dissertation, we target automated debugging of sequential programs. A broad and informal statement of the (automated) program debugging problem is to suitably modify an
erroneous program, say P, to obtain a correct program, say P'. This problem is undecidable in general; it is hard to formalize; moreover, it is particularly challenging to assimilate and mechanize the customized, expert
programmer intuition involved in the choices made in manual program debugging. Our first contribution in this domain is a methodical formalization of the program debugging problem, that enables automation, while incorporating expert programmer intuition and intent. Our second contribution is a solution framework that can debug infinite-state, imperative, sequential programs written in higher-level programming languages such as C. Boolean programs, which are smaller, finite-state abstractions of infinite-state or large, finite-state programs, have been found to be tractable for program verification. In this dissertation, we utilize Boolean programs for program debugging. Our solution framework involves two main steps: (a) automated debugging of a Boolean program, corresponding to an erroneous program P, and (b) translation of the corrected Boolean program into a correct program P'.
Shared-memory concurrent programs are notoriously difficult to write, verify
and debug; this makes them excellent targets for automated program
completion, in particular, for synthesis of synchronization code. Extant work
in this domain has focused on either propositional temporal logic specifications with simplistic models of concurrent programs, or more refined
program models with the specifications limited to just safety properties. Moreover, there has been limited effort in developing adaptable and fully-automatic synthesis frameworks that are capable of generating synchronization at different levels of abstraction and granularity. In the
second part of this dissertation, we present a framework for synthesis of
synchronization for shared-memory concurrent programs with respect to temporal logic specifications. In particular, given a concurrent program composed of synchronization-free processes, and a temporal logic specification describing their expected concurrent behaviour, we generate synchronized processes such
that the resulting concurrent program satisfies the specification. We
provide the ability to synthesize readily-implementable synchronization code
based on lower-level primitives such as locks and condition variables. We
enable synchronization synthesis of finite-state concurrent programs composed of processes that may have local and shared variables, may be straight-line or branching programs, may be ongoing or terminating, and may have program-initialized or user-initialized variables. We also facilitate
expression of safety and liveness properties over both control and data
variables by proposing an extension of propositional computation tree logic.
Most program analyses, verification, debugging and synthesis methodologies target traditional correctness properties such as safety
and liveness. These techniques typically do not provide a quantitative
measure of the sensitivity of a computational system's behaviour to
unpredictability in the operating environment. We propose that the
core property of interest in reasoning in the presence of such uncertainty is robustness --- small perturbations to the operating environment do not change the system's observable behavior substantially. In well-established areas such as control theory, robustness has always been a fundamental concern; however, the
techniques and results therein are not directly applicable to computational systems with large amounts of discretized, discontinuous
behavior. Hence, robustness analysis of software programs used in heterogeneous settings necessitates development of new theoretical
frameworks and algorithms.
In the third part of this dissertation, we target robustness analysis of two
important classes of discrete systems --- string transducers and networked
systems of Mealy machines. For each system, we formally define robustness of the system with respect to a specific source of uncertainty. In particular, we
analyze the behaviour of transducers in the presence of input perturbations,
and the behaviour of networked systems in the presence of channel
perturbations. Our overall approach is automata-theoretic, and necessitates the use of specialized distance-tracking automata for tracking various
distance metrics between two strings. We present constructions for such
automata and use them to develop decision procedures based on reducing the problem of robustness verification of our systems to the problem of checking
the emptiness of certain automata. Thus, the system under consideration is robust if and only if the languages of particular automata are empty.Electrical and Computer Engineerin
Model checking infinite-state systems: generic and specific approaches
Model checking is a fully-automatic formal verification method that has been extremely
successful in validating and verifying safety-critical systems in the past three
decades. In the past fifteen years, there has been a lot of work in extending many
model checking algorithms over finite-state systems to finitely representable infinitestate
systems. Unlike in the case of finite systems, decidability can easily become a
problem in the case of infinite-state model checking.
In this thesis, we present generic and specific techniques that can be used to derive
decidability with near-optimal computational complexity for various model checking
problems over infinite-state systems. Generic techniques and specific techniques primarily
differ in the way in which a decidability result is derived. Generic techniques is
a âtop-downâ approach wherein we start with a Turing-powerful formalismfor infinitestate
systems (in the sense of being able to generate the computation graphs of Turing
machines up to isomorphisms), and then impose semantic restrictions whereby the
desired model checking problem becomes decidable. In other words, to show that a
subclass of the infinite-state systems that is generated by this formalism is decidable
with respect to the model checking problem under consideration, we will simply have
to prove that this subclass satisfies the semantic restriction. On the other hand, specific
techniques is a âbottom-upâ approach in the sense that we restrict to a non-Turing
powerful formalism of infinite-state systems at the outset. The main benefit of generic
techniques is that they can be used as algorithmic metatheorems, i.e., they can give
unified proofs of decidability of various model checking problems over infinite-state
systems. Specific techniques are more flexible in the sense they can be used to derive
decidability or optimal complexity when generic techniques fail.
In the first part of the thesis, we adopt word/tree automatic transition systems as
a generic formalism of infinite-state systems. Such formalisms can be used to generate
many interesting classes of infinite-state systems that have been considered in the
literature, e.g., the computation graphs of counter systems, Turing machines, pushdown
systems, prefix-recognizable systems, regular ground-tree rewrite systems, PAprocesses,
order-2 collapsible pushdown systems. Although the generality of these
formalisms make most interesting model checking problems (even safety) undecidable,
they are known to have nice closure and algorithmic properties. We use these
nice properties to obtain several algorithmic metatheorems over word/tree automatic
systems, e.g., for deriving decidability of various model checking problems including
recurrent reachability, and Linear Temporal Logic (LTL) with complex fairness constraints. These algorithmic metatheorems can be used to uniformly prove decidability
with optimal (or near-optimal) complexity of various model checking problems over
many classes of infinite-state systems that have been considered in the literature. In
fact, many of these decidability/complexity results were not previously known in the
literature.
In the second part of the thesis, we study various model checking problems over
subclasses of counter systems that were already known to be decidable. In particular,
we consider reversal-bounded counter systems (and their extensions with discrete
clocks), one-counter processes, and networks of one-counter processes. We shall derive
optimal complexity of various model checking problems including: model checking
LTL, EF-logic, and first-order logic with reachability relations (and restrictions
thereof). In most cases, we obtain a single/double exponential reduction in the previously
known upper bounds on the complexity of the problems
The Effects of Bounding Syntactic Resources on Presburger LTL
International audienceLTL over Presburger constraints is the extension of LTL where the atomic formulae are quantifier-free Presburger formulae having as free variables the counters at different states of the model. This logic is known to admit undecidable satisfiability and model-checking problems. We study decidability and complexity issues for fragments of LTL with Presburger constraints obtained by restricting the syntactic resources of the formulae (the number of variables, the maximal distance between two states for which counters can be compared and, to a smaller extent, the set of Presburger constraints) while preserving the strength of the logical operators. We provide a complete picture refining known results from the literature. We show that model-checking and satisfiability problems for the fragments of LTL with difference constraints restricted to two variables and distance one and to one variable and distance two are highly undecidable, enlarging significantly the class of known undecidable fragments. On the positive side, we prove that the fragment restricted to one variable and to distance one augmented with propositional variables is pspace-complete. Since the atomic formulae can state quantitative properties on the counters, this extends some results about model-checking pushdown systems and one-counter automata. In order to establish the pspace upper bound, we show that the nonemptiness problem for BĂŒchi one-counter automata taking values in Z and allowing zero tests and sign tests, is only nlogspace-complete. Finally, we establish that model-checking one-counter automata with complete quantifier-free Presburger LTL restricted to one variable is also pspace-complete whereas the satisfiability problem is undecidable
Reasoning about reversal-bounded counter machines
International audienceIn this paper, we present a short survey on reversal-bounded counter machines. It focuses on the main techniques for model-checking such counter machines with specifications expressed with formulae from some linear-time temporal logic. All the decision procedures are designed by translation into Presburger arithmetic. We provide a proof that is alternative to Ibarra's original one for showing that reachability sets are effectively definable in Presburger arithmetic. Extensions to repeated control state reachability and to additional temporal properties are discussed in the paper. The article is written to the honor of Professor Ewa OrĆowska and focuses on several topics that are developped in her works