Decision Procedures for Queues with Integer Constraints

Queues are a widely used data structure in programming languages. They also provide an important synchronization mechanism in modeling distributed protocols. In this paper we extend the theory of queues with a length function that maps a queue to its size, resulting in a combined theory of queues and Presburger arithmetic. This extension provides a natural but tight coupling between the two theories, and hence the general Nelson-Oppen combination method for decision procedures is not applicable. We present a decision procedure for the quantifier-free theory and a quantifier elimination procedure for the first-order theory that can remove a block of existential quantifiers in one step.

[1]  Thomas Schwentick,et al.  A model-theoretic approach to regular string relations , 2001, Proceedings 16th Annual IEEE Symposium on Logic in Computer Science.

[2]  Donald W. Loveland,et al.  Presburger arithmetic with bounded quantifier alternation , 1978, STOC.

[3]  Chen C. Chang,et al.  Model Theory: Third Edition (Dover Books On Mathematics) By C.C. Chang;H. Jerome Keisler;Mathematics , 1966 .

[4]  Henny B. Sipma,et al.  Decision Procedures for Recursive Data Structures with Integer Constraints , 2004, IJCAR.

[5]  Andrei Voronkov,et al.  Upper Bounds for a Theory of Queues , 2003, ICALP.

[6]  David Aspinall,et al.  Formalising Java's Data Race Free Guarantee , 2007, TPHOLs.

[7]  Greg Nelson,et al.  Simplification by Cooperating Decision Procedures , 1979, TOPL.

[8]  Robin Milner,et al.  On Observing Nondeterminism and Concurrency , 1980, ICALP.

[9]  Andrei Voronkov,et al.  A decision procedure for term algebras with queues , 2001, TOCL.

[10]  M. Lothaire,et al.  Applied Combinatorics on Words , 2005 .

[11]  Wolfgang Thomas Infinite Trees and Automation-Definable Relations over omega-Words , 1992, Theor. Comput. Sci..

[12]  Larry Wos,et al.  What Is Automated Reasoning? , 1987, J. Autom. Reason..

[13]  Z. Manna,et al.  Integrating decision procedures for temporal verification , 1998 .

[14]  Felix Klaedtke,et al.  Monadic Second-Order Logics with Cardinalities , 2003, ICALP.

[15]  Herbert B. Enderton,et al.  A mathematical introduction to logic , 1972 .

[16]  Henny B. Sipma,et al.  Term Algebras with Length Function and Bounded Quantifier Alternation , 2004, TPHOLs.

[17]  Wilfrid Hodges,et al.  Model Theory: The existential case , 1993 .