Abstract
We present a decision procedure for checking entailment between separation logic formulas with inductive predicates specifying complex data structures corresponding to finite nesting of various kinds of singly linked lists: acyclic or cyclic, nested lists, skip lists, etc. The decision procedure is compositional in the sense that it reduces the problem of checking entailment between two arbitrary formulas to the problem of checking entailment between a formula and an atom. Subsequently, in case the atom is a predicate, we reduce the entailment to testing membership of a tree derived from the formula in the language of a tree automaton derived from the predicate. The procedure is later also extended to doubly linked lists. We implemented this decision procedure and tested it successfully on verification conditions obtained from programs using both singly and doubly linked nested lists as well as skip lists.
| Original language | English |
|---|---|
| Pages (from-to) | 575-607 |
| Number of pages | 33 |
| Journal | Formal Methods in System Design |
| Volume | 51 |
| Issue number | 3 |
| DOIs | |
| Publication status | Published - 1 Dec 2017 |
| Externally published | Yes |
Keywords
- Decision procedure
- Program analysis
- Separation logic
- Tree automata