An Efficient Cyclic Entailment Procedure in a Fragment of Separation Logic

10/02/2022
by   Quang Loc Le, et al.
0

An efficient entailment proof system is essential to compositional verification using separation logic. Unfortunately, existing decision procedures are either inexpressive or inefficient. For example, Smallfoot is an efficient procedure but only works with hardwired lists and trees. Other procedures that can support general inductive predicates run exponentially in time as their proof search requires back-tracking to deal with a disjunction in the consequent. This paper presents a decision procedure to derive cyclic entailment proofs for general inductive predicates in polynomial time. Our procedure is efficient and does not require back-tracking; it uses normalisation rules that help avoid the introduction of disjunction in the consequent. Moreover, our decidable fragment is sufficiently expressive: It is based on compositional predicates and can capture a wide range of data structures, including sorted and nested list segments, skip lists with fast forward pointers, and binary search trees. We have implemented the proposal in a prototype tool and evaluated it over challenging problems taken from a recent separation logic competition. The experimental results confirm the efficiency of the proposed system.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/15/2023

Tractable and Intractable Entailment Problems in Separation Logic with Inductively Defined Predicates

We establish various complexity results for the entailment problem betwe...
research
10/17/2017

Enhancing Inductive Entailment Proofs in Separation Logic with Lemma Synthesis

This paper presents an approach to lemma synthesis to support advanced i...
research
04/11/2018

Completeness of Cyclic Proofs for Symbolic Heaps

Separation logic is successful for software verification in both theory ...
research
10/26/2017

Automated Lemma Synthesis in Symbolic-Heap Separation Logic

The symbolic-heap fragment of separation logic has been actively develop...
research
01/31/2022

A Proof Procedure For Separation Logic With Inductive Definitions and Theory Reasoning

A proof procedure, in the spirit of the sequent calculus, is proposed to...
research
06/18/2020

Bi-Abduction for Shapes with Ordered Data

Shape analysis is of great importance for the verification of the correc...
research
11/02/2018

Separation Logic with Linearly Compositional Inductive Predicates and Set Data Constraints

We identify difference-bound set constraints (DBS), an analogy of differ...

Please sign up or login with your details

Forgot password? Click here to reset