Quantitative Separation Logic and Programs with Lists - Archive ouverte HAL Access content directly
Conference Papers Year : 2008

Quantitative Separation Logic and Programs with Lists

Marius Bozga
Radu Iosif
  • Function : Author
  • PersonId : 840083
Swann Perarnau
  • Function : Author

Abstract

This paper presents an extension of a decidable fragment of Separation Logic for singly-linked lists, defined by Berdine, Calcagno and O'Hearn. 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
ijcar2008.pdf (167.18 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-00359290 , version 1 (06-02-2009)

Identifiers

Cite

Marius Bozga, Radu Iosif, Swann Perarnau. Quantitative Separation Logic and Programs with Lists. Automated Reasoning 4th International Joint Conference, IJCAR 2008, Aug 2008, Sydney, Australia. pp.34-49, ⟨10.1007/978-3-540-71070-7⟩. ⟨hal-00359290⟩
158 View
133 Download

Altmetric

Share

Gmail Facebook X LinkedIn More