Faster Algorithms for Quantitative Verification in Constant Treewidth Graphs
Abstract
We consider the core algorithmic problems related to verification of systems with respect to three classical quantitative properties, namely, the mean-payoff property, the ratio property, and the minimum initial credit for energy property. The algorithmic problem given a graph and a quantitative property asks to compute the optimal value (the infimum value over all traces) from every node of the graph. We consider graphs with constant treewidth, and it is well-known that the control-flow graphs of most programs have constant treewidth. Let denote the number of nodes of a graph, the number of edges (for constant treewidth graphs ) and the largest absolute value of the weights. Our main theoretical results are as follows. First, for constant treewidth graphs we present an algorithm that approximates the mean-payoff value within a multiplicative factor of in time and linear space, as compared to the classical algorithms that require quadratic time. Second, for the ratio property we present an algorithm that for constant treewidth graphs works in time , when the output is , as compared to the previously best known algorithm with running time . Third, for the minimum initial credit problem we show that (i) for general graphs the problem can be solved in time and the associated decision problem can be solved in time, improving the previous known and bounds, respectively; and (ii) for constant treewidth graphs we present an algorithm that requires time, improving the previous known bound.
Cite
@article{arxiv.1504.07384,
title = {Faster Algorithms for Quantitative Verification in Constant Treewidth Graphs},
author = {Krishnendu Chatterjee and Rasmus Ibsen-Jensen and Andreas Pavlogiannis},
journal= {arXiv preprint arXiv:1504.07384},
year = {2015}
}