Publication Details
A Logic of Singly Indexed Arrays
mathematical logic, arrays, decidability, decision procedure, formal verification, automata
This report is the full version of an LPAR'08 paper, in which 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 $\{\exists,\forall\}^*\forall^*\exists^*\forall^*$. For formulae with quantifier prefixes in the $\exists^*\forall^*$ fragment, decidability is established by an automata-theoretic argument. For each formula in the $\exists^*\forall^*$ 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 $\exists^*\forall^*$ fragment of the logic is a consequence of the fact that reachability of a control state is decidable for FCADBM.
@techreport{BUT63914,
author="Peter {Habermehl} and Iosif {Radu} and Tomáš {Vojnar}",
title="A Logic of Singly Indexed Arrays",
year="2008",
publisher="VERIMAG",
address="TR-2008-9, Grenoble",
pages="19",
url="http://www-verimag.imag.fr/TR/TR-2008-9.ps"
}