Volume Computation for Boolean Combination of Linear Arithmetic Constraints

  • Authors:
  • Feifei Ma;Sheng Liu;Jian Zhang

  • Affiliations:
  • State Key Laboratory of Computer Science Institute of Software, Chinese Academy of Sciences, and Graduate University, Chinese Academy of Sciences,;State Key Laboratory of Computer Science Institute of Software, Chinese Academy of Sciences, and Graduate University, Chinese Academy of Sciences,;State Key Laboratory of Computer Science Institute of Software, Chinese Academy of Sciences,

  • Venue:
  • CADE-22 Proceedings of the 22nd International Conference on Automated Deduction
  • Year:
  • 2009

Quantified Score

Hi-index 0.02

Visualization

Abstract

There are many works on the satisfiability problem for various logics and constraint languages, such as SAT and Satisfiability Modulo Theories (SMT). On the other hand, the counting version of decision problems is also quite important in automated reasoning. In this paper, we study a counting version of SMT, i.e., how to compute the volume of the solution space, given a set of Boolean combinations of linear constraints. The problem generalizes the model counting problem and the volume computation problem for convex polytopes. It has potential applications to program analysis and verification, as well as approximate reasoning, yet it has received little attention. We first give a straightforward method, and then propose an improved algorithm. We also describe two ways of incorporating theory-level lemma learning technique into the algorithm. They have been implemented, and some experimental results are given. Through an example program, we show that our tool can be used to compute how often a given program path is executed.