Unifying Decidable Entailments in Separation Logic with Inductive Definitions
The entailment problem φψ in Separation Logic <cit.>, between separated conjunctions of equational (x y and x y), spatial (x ↦ (y_1,…,y_)) and predicate (p(x_1,…,x_n)) atoms, interpreted by a finite set of inductive rules, is undecidable in general. Certain restrictions on the set of inductive definitions lead to decidable classes of entailment problems. Currently, there are two such decidable classes, based on two restrictions, called establishment <cit.> and restrictedness <cit.>, respectively. Both classes are shown to be in by the independent proofs from <cit.> and <cit.>, respectively, and a many-one reduction of established to restricted entailment problems has been given <cit.>. In this paper, we strictly generalize the restricted class, by distinguishing the conditions that apply only to the left- (φ) and the right- (ψ) hand side of entailments, respectively. We provide a many-one reduction of this generalized class, called safe, to the established class. Together with the reduction of established to restricted entailment problems, this new reduction closes the loop and shows that the three classes of entailment problems (respectively established, restricted and safe) form a single, unified, -complete class.
READ FULL TEXT