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{FITPUB8817, author = "Peter Habermehl and Radu Iosif and Tom\'{a}\v{s} Vojnar", title = "A Logic of Singly Indexed Arrays", pages = 19, year = 2008, location = "TR-2008-9, Grenoble, FR", publisher = "VERIMAG", language = "english", url = "https://www.fit.vut.cz/research/publication/8817" }