2008 | OriginalPaper | Chapter
A Logic of Singly Indexed Arrays
Authors : Peter Habermehl, Radu Iosif, Tomáš Vojnar
Published in: Logic for Programming, Artificial Intelligence, and Reasoning
Publisher: Springer Berlin Heidelberg
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
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.