A Logic of Singly Indexed Arrays

  • Authors:
  • Peter Habermehl;Radu Iosif;Tomá/š/ Vojnar

  • Affiliations:
  • LSV, ENS Cachan, CNRS, INRIA/ 61 av. du Pré/sident Wilson, F-94230 Cachan, France and LIAFA, University Paris 7, Case 7014, Paris Cedex 13 75205;VERIMAG, CNRS, Giè/res, France F-38610;FIT BUT, Brno, Czech Republic CZ-61266

  • Venue:
  • LPAR '08 Proceedings of the 15th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a logic interpreted over integer arrays, which allows difference bound comparisons between array elements situated within a constant sized window. We show that the satisfiability problem for the logic is undecidable for formulae with a quantifier prefix { ∃ , ∀ }* ∀* ∃* ∀*. For formulae with quantifier prefixes in the ∃* ∀* fragment, decidability is established by an automata-theoretic argument. For each formula in the ∃* ∀* fragment, we can build a flat counter automaton with difference bound transition rules (FCADBM) whose traces correspond to the models of the formula. The construction is modular, following the syntax of the formula. Decidability of the ∃* ∀* fragment of the logic is a consequence of the fact that reachability of a control state is decidable for FCADBM.