Reasoning in the Bernays-Schönfinkel-Ramsey Fragment of Separation Logic

From MaRDI portal
Publication:2961583

DOI10.1007/978-3-319-52234-0_25zbMATH Open1484.68104arXiv1610.04707OpenAlexW2537376148MaRDI QIDQ2961583FDOQ2961583


Authors: Andrew Reynolds, Radu Iosif, C. Şerban Edit this on Wikidata


Publication date: 21 February 2017

Published in: Lecture Notes in Computer Science (Search for Journal in Brave)

Abstract: Separation Logic (SL) is a well-known assertion language used in Hoare-style modular proof systems for programs with dynamically allocated data structures. In this paper we investigate the fragment of first-order SL restricted to the Bernays-Schoenfinkel-Ramsey quantifier prefix existsforall, where the quantified variables range over the set of memory locations. When this set is uninterpreted (has no associated theory) the fragment is PSPACE-complete, which matches the complexity of the quantifier-free fragment. However, SL becomes undecidable when the quantifier prefix belongs to existsforallexists instead, or when the memory locations are interpreted as integers with linear arithmetic constraints, thus setting a sharp boundary for decidability within SL. We have implemented a decision procedure for the decidable fragment of existsforallSL as a specialized solver inside a DPLL(T) architecture, within the CVC4 SMT solver. The evaluation of our implementation was carried out using two sets of verification conditions, produced by (i) unfolding inductive predicates, and (ii) a weakest precondition-based verification condition generator. Experimental data shows that automated quantifier instantiation has little overhead, compared to manual model-based instantiation.


Full work available at URL: https://arxiv.org/abs/1610.04707




Recommendations



Cites Work


Cited In (11)

Uses Software





This page was built for publication: Reasoning in the Bernays-Schönfinkel-Ramsey Fragment of Separation Logic

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2961583)