## Technical report

Publication language: HABERMEHL Peter, IOSIF Radu and VOJNAR Tomá¹. A Logic of Singly Indexed Arrays. TR-2008-9, Grenoble: VERIMAG, 2008. english A Logic of Singly Indexed Arrays Jednoindexová logika nad poli 19 TR-2008-9, Grenoble, FR 2008 VERIMAG http://www-verimag.imag.fr/TR/TR-2008-9.ps [PS] 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{ 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 = {http://www.fit.vutbr.cz/research/view_pub.php?id=8817} }```