Back to Search Start Over

What's Decidable About Arrays?

Authors :
Emerson, E. Allen
Namjoshi, Kedar S.
Bradley, Aaron R.
Manna, Zohar
Sipma, Henny B.
Source :
Verification, Model Checking & Abstract Interpretation (9783540311393); 2005, p427-442, 16p
Publication Year :
2005

Abstract

Motivated by applications to program verification, we study a decision procedure for satisfiability in an expressive fragment of a theory of arrays, which is parameterized by the theories of the array elements. The decision procedure reduces satisfiability of a formula of the fragment to satisfiability of an equisatisfiable quantifier-free formula in the combined theory of equality with uninterpreted functions (EUF), Presburger arithmetic, and the element theories. This fragment allows a constrained use of universal quantification, so that one quantifier alternation is allowed, with some syntactic restrictions. It allows expressing, for example, that an assertion holds for all elements in a given index range, that two arrays are equal in a given range, or that an array is sorted. We demonstrate its expressiveness through applications to verification of sorting algorithms and parameterized systems. We also prove that satisfiability is undecidable for several natural extensions to the fragment. Finally, we describe our implementation in the verifying compiler. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISBNs :
9783540311393
Database :
Supplemental Index
Journal :
Verification, Model Checking & Abstract Interpretation (9783540311393)
Publication Type :
Book
Accession number :
32911902
Full Text :
https://doi.org/10.1007/11609773_28