Archive | 2021

Faster algorithms for quantitative verification in bounded 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, the ratio, 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 bounded treewidth—a class that contains the control flow graphs of most programs. Let n denote the number of nodes of a graph, m the number of edges (for bounded treewidth m = O(n)) and W the largest absolute value of the weights. Our main theoretical results are as follows. First, for the minimum initial credit problem we show that (1) for general graphs the problem can be solved in O(n2 · m) time and the associated decision problem in O(n · m) time, improving the previous known O(n3 · m · log(n · W )) and O(n2 · m) bounds, respectively; and (2) for bounded treewidth graphs we present an algorithm that requires O(n ·log n) time. Second, for bounded treewidth graphs we present an algorithm that approximates the mean-payoff value within a factor of 1+ in time O(n · log(n/ )) as compared to the classical exact algorithms on general graphs that require quadratic time. Third, for the ratio property we present an algorithm that for bounded treewidth graphs works in time O(n · log(|a · b|)) = O(n · log(n · W )), when the output is b , as compared to the previously best known algorithm on general graphs with running time O(n2 · log(n · W )). We have implemented some of our algorithms and show that they present a significant speedup on standard benchmarks. The bulk of this work was done while R. Ibsen-Jensen and A. Pavlogiannis were at IST Austria. B Andreas Pavlogiannis [email protected] Krishnendu Chatterjee [email protected] Rasmus Ibsen-Jensen [email protected] 1 IST Austria, Am Campus 1, 3400 Klosterneuburg, Austria 2 University of Liverpool, Liverpool L69 3BX, UK 3 Aarhus University, Aabogade 34, 8200 Aarhus, Denmark

Volume None
Pages None
DOI 10.1007/s10703-021-00373-5
Language English
Journal None

Full Text