Quantitative Separation Logic and Programs with Lists - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Automated Reasoning Année : 2010

Quantitative Separation Logic and Programs with Lists

Radu Iosif
  • Fonction : Auteur
  • PersonId : 996510
Dorel Marius Bozga
  • Fonction : Auteur
Swann Perarnau
  • Fonction : Auteur

Résumé

This paper presents an extension of a decidable fragment of Separation Logic for singly-linked lists, defined by Berdine, Calcagno and O'Hearn \cite{berdine-calcagno-ohearn04}. Our main extension consists in introducing atomic formulae of the form $ls^k(x, y)$ describing a list segment of length $k$, stretching from $x$ to $y$, where$k$ is a logical variable interpreted over positive natural numbers, that may occur further inside Presburger constraints. We study the decidability of the full first-order logic combining unrestricted quantification of arithmetic and location variables. Although the full logic is found to be undecidable, validity of entailments between formulae with the quantifier prefix in the language $\exists^* \{\exists_\nat, \forall_\nat\}^*$ is decidable. We provide here a model theoretic method, based on a parametric notion of shape graphs. We have implemented our decision technique, providing a fully automated framework for the verification of quantitative properties expressed as pre- and post-conditions on programs working on lists and integer counters.
Fichier principal
Vignette du fichier
Qsl-jar.pdf (227.79 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

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

Licence

Domaine public

Identifiants

Citer

Radu Iosif, Dorel Marius Bozga, Swann Perarnau. Quantitative Separation Logic and Programs with Lists. Journal of Automated Reasoning, 2010, 45 (2), pp.131-156. ⟨10.1007/s10817-010-9179-9⟩. ⟨hal-01418870⟩
83 Consultations
41 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More