What Else Is Decidable about Integer Arrays? - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2008

What Else Is Decidable about Integer Arrays?

Résumé

We introduce a new decidable logic for reasoning about infinite arrays of integers. The logic is in the ∃ * ∀ * first-order fragment and allows (1) Presburger constraints on existentially quantified variables, (2) difference constraints as well as periodicity constraints on universally quantified indices, and (3) difference constraints on values. In particular, using our logic, one can express constraints on consecutive elements of arrays (e.g. ∀i. 0 ≤ i < n → a[i + 1] = a[i] − 1) as well as periodic facts (e.g. ∀i. i ≡ 2 0 → a[i] = 0). The decision procedure follows the automata-theoretic approach: we translate formulae into a special class of Büchi counter automata such that any model of a formula corresponds to an accepting run of the automaton, and vice versa. The emptiness problem for this class of counter automata is shown to be decidable, as a consequence of earlier results on counter automata with a flat control structure and transitions based on difference constraints. We show interesting program properties expressible in our logic, and give an example of invariant verification for programs that handle integer arrays.
Fichier principal
Vignette du fichier
Fossacs08.pdf (482.21 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01418914 , version 1 (17-12-2016)

Identifiants

Citer

Peter Habermehl, Radu Iosif, Tomáš Vojnar. What Else Is Decidable about Integer Arrays?. Foundations of Software Science and Computational Structures, 11th International Conference, FOSSACS 2008, Mar 2008, Budapest, Hungary. ⟨10.1007/978-3-540-78499-9_33⟩. ⟨hal-01418914⟩
143 Consultations
151 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More