Deciding Extensions of the Theories of Vectors and Bags

  • Patrick Maier
Conference paper

DOI: 10.1007/978-3-540-93900-9_21

Part of the Lecture Notes in Computer Science book series (LNCS, volume 5403)
Cite this paper as:
Maier P. (2008) Deciding Extensions of the Theories of Vectors and Bags. In: Jones N.D., Müller-Olm M. (eds) Verification, Model Checking, and Abstract Interpretation. VMCAI 2009. Lecture Notes in Computer Science, vol 5403. Springer, Berlin, Heidelberg

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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Patrick Maier
    • 1
  1. 1.Laboratory for Foundations of Computer Science School of InformaticsThe University of EdinburghScotland

Personalised recommendations