Show simple item record

An Algorithm for Deciding BAPA: Boolean Algebra with Presburger Arithmetic

dc.date.accessioned2005-12-22T01:35:58Z
dc.date.accessioned2018-11-24T10:24:13Z
dc.date.available2005-12-22T01:35:58Z
dc.date.available2018-11-24T10:24:13Z
dc.date.issued2004-07-19
dc.identifier.urihttp://hdl.handle.net/1721.1/30488
dc.identifier.urihttp://repository.aust.edu.ng/xmlui/handle/1721.1/30488
dc.description.abstractWe describe an algorithm for deciding the first-order multisorted theory BAPA, which combines 1) Boolean algebras of sets of uninterpreted elements (BA) and 2) Presburger arithmetic operations (PA). BAPA can express the relationship between integer variables and cardinalities of sets, and supports arbitrary quantification over both sets and integers.Our motivation for BAPA is deciding verification conditions that arise in the static analysis of data structure consistency properties. Data structures often use an integer variable to keep track of the number of elements they store; an invariant of such a data structure is that the value of the integer variable is equal to the number of elements stored in the data structure. When the data structure content is represented by a set, the resulting constraints can be captured in BAPA. BAPA formulas with quantifier alternations arise when annotations contain quantifiers themselves, or when proving simulation relation conditions for refinement and equivalence of program fragments. Furthermore, BAPA constraints can be used to extend the techniques for proving the termination of integer programs to programs that manipulate data structures, and have applications in constraint databases.We give a formal description of a decision procedure for BAPA, which implies the decidability of the satisfiability and validity problems for BAPA. We analyze our algorithm and obtain an elementary upper bound on the running time, thereby giving the first complexity bound for BAPA. Because it works by a reduction to PA, our algorithm yields the decidability of a combination of sets of uninterpreted elements with any decidable extension of PA. Our algorithm can also be used to yield an optimal decision procedure for BA though a reduction to PA with bounded quantifiers.We have implemented our algorithm and used it to discharge verification conditions in the Jahob system for data structure consistency checking of Java programs; our experience with the algorithm is promising.
dc.format.extent26 p.
dc.format.extent26003902 bytes
dc.format.extent1120584 bytes
dc.language.isoen_US
dc.titleAn Algorithm for Deciding BAPA: Boolean Algebra with Presburger Arithmetic


Files in this item

FilesSizeFormatView
MIT-CSAIL-TR-2004-049.pdf1.120Mbapplication/pdfView/Open
MIT-CSAIL-TR-2004-049.ps26.00Mbapplication/postscriptView/Open

This item appears in the following Collection(s)

Show simple item record