Back to Search Start Over

Decision procedures for term algebras with integer constraints

Authors :
Zhang, Ting
Sipma, Henny B.
Manna, Zohar
Source :
Information & Computation. Oct2006, Vol. 204 Issue 10, p1526-1574. 49p.
Publication Year :
2006

Abstract

Abstract: Term algebras can model recursive data structures which are widely used in programming languages. To verify programs we must be able to reason about these structures. However, as programming languages often involve multiple data domains, in program verification decision procedures for a single theory are usually not applicable. An important class of mixed constraints consists of combinations of data structures with integer constraints on the size of data structures. Such constraints can express memory safety properties such as absence of memory overflow and out-of-bound array access, which are crucial for program correctness. In this paper we extend the theory of term algebras with the length function which maps a term to its size, resulting in a combined theory of term algebras and Presburger arithmetic. This arithmetic extension provides a natural but tight coupling between the two theories, and hence the general purpose combination methods like Nelson-Oppen combination are not applicable. We present decision procedures for quantifier-free theories in structures with an infinite constant domain and with a finite constant domain. We also present a quantifier elimination procedure for the extended first-order theory that can remove a block of existential quantifiers in one step. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
08905401
Volume :
204
Issue :
10
Database :
Academic Search Index
Journal :
Information & Computation
Publication Type :
Academic Journal
Accession number :
22418598
Full Text :
https://doi.org/10.1016/j.ic.2006.03.004