Abstract
Vectors and bags are basic collection data structures, which are used frequently in programs and specifications. Reasoning about these data structures is supported by established algorithms for deciding ground satisfiability in the theories of arrays (for vectors) and multisets (for bags), respectively. Yet, these decision procedures are only able to reason about vectors and bags in isolation, not about their combination.
This paper presents a decision procedure for the combination of the theories of vectors and bags, even when extended with a function bagof bridging between vectors and bags. The function bagof converts vectors into the bags of their elements, thus admitting vector/bag comparisons. Moreover, for certain syntactically restricted classes of ground formulae decidability is retained if the theory of vectors is extended further with a map function which applies uninterpreted functions to all elements of a vector.
This paper presents a decision procedure for the combination of the theories of vectors and bags, even when extended with a function bagof bridging between vectors and bags. The function bagof converts vectors into the bags of their elements, thus admitting vector/bag comparisons. Moreover, for certain syntactically restricted classes of ground formulae decidability is retained if the theory of vectors is extended further with a map function which applies uninterpreted functions to all elements of a vector.
Original language | English |
---|---|
Title of host publication | Verification, Model Checking, and Abstract Interpretation |
Subtitle of host publication | 10th International Conference, VMCAI 2009, Savannah, GA, USA, January 18-20, 2009. Proceedings |
Editors | Neil D Jones, Markus Müller-Olm |
Publisher | Springer |
Pages | 245-259 |
Number of pages | 15 |
Volume | 5403 |
ISBN (Electronic) | 978-3-540-93900-9 |
ISBN (Print) | 978-3-540-93899-6 |
DOIs | |
Publication status | Published - 2009 |
Event | 10th International Conference on Verification, Model Checking, and Abstract Interpretation - Savannah, Georgia, United States Duration: 18 Jan 2009 → 20 Jan 2009 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 5403 |
ISSN (Print) | 0302-9743 |
Conference
Conference | 10th International Conference on Verification, Model Checking, and Abstract Interpretation |
---|---|
Abbreviated title | VMCAI 2009 |
Country/Territory | United States |
City | Savannah, Georgia |
Period | 18/01/09 → 20/01/09 |
Keywords
- verification and program analysis
- decision procedures
- vectors
- multisets