Skip to main content
QUICK REVIEW

[Paper Review] On the Expressive Completeness of Bernays-Sch\\"onfinkel-Ramsey Separation Logic

Mnacho Echenim, Radu Iosif|arXiv (Cornell University)|Feb 1, 2018
Logic, programming, and type systemsComputer Science11 references4 citations
TL;DR

This paper investigates the satisfiability problem for Bernays-Schönfinkel-Ramsey Separation Logic ($\mathsf{BSR}(\mathsf{SL}^{k})$), showing that the general fragment is undecidable due to universal quantifiers within positive occurrences of separating implications. It identifies two decidable subfragments—$\mathsf{BSR}^{\mathit{fin}}(\mathsf{SL}^{k})$ and $\mathsf{BSR}^{\mathit{inf}}(\mathsf{SL}^{k})$—by restricting the polarity and scope of universally quantified variables in separating implications, proving both are PSPACE-complete via a controlled elimination of separating connectives into first-order equivalents.

ABSTRACT

This paper investigates the satisfiability problem for Separation Logic, with unrestricted nesting of separating conjunctions and implications, for prenex formulae with quantifier prefix in the language $\\exists^*\\forall^*$, in the cases where the universe of possible locations is either countably infinite or finite. In analogy with first-order logic with uninterpreted predicates and equality, we call this fragment Bernays-Sch\\"onfinkel-Ramsey Separation Logic [BSR(SLk)]. We show that, unlike in first-order logic, the (in)finite satisfiability problem is undecidable for BSR(SLk) and we define two non-trivial subsets thereof, that are decidable for finite and infinite satisfiability, respectively, by controlling the occurrences of universally quantified variables within the scope of separating implications, as well as the polarity of the occurrences of the latter. The decidability results are obtained by a controlled elimination of separating connectives, described as (i) an effective translation of a prenex form Separation Logic formula into a combination of a small number of \\emph{test formulae}, using only first-order connectives, followed by (ii) a translation of the latter into an equisatisfiable first-order formula.

Motivation & Objective

  • To analyze the decidability of the satisfiability problem for Separation Logic with quantifier prefix $\exists^*\forall^*$, denoted $\mathsf{BSR}(\mathsf{SL}^{k})$, over both finite and infinite heaps.
  • To identify non-trivial subfragments of $\mathsf{BSR}(\mathsf{SL}^{k})$ that are decidable for finite and infinite satisfiability, respectively.
  • To establish expressive completeness by translating $\mathsf{SL}^{k}$ formulae into boolean combinations of test formulae and equisatisfiable first-order logic formulae.
  • To provide a foundation for automated verification by identifying decidable fragments that align with practical verification conditions.

Proposed method

  • Propose two subfragments: $\mathsf{BSR}^{\mathit{fin}}(\mathsf{SL}^{k})$ and $\mathsf{BSR}^{\mathit{inf}}(\mathsf{SL}^{k})$, by restricting universally quantified variables to occur only in negative or non-positive contexts within separating implications.
  • Introduce a translation mechanism that eliminates separating connectives by expressing each formula as a boolean combination of test formulae, using only first-order connectives.
  • Construct a translation $\delta(\phi)$ that maps prenex $\mathsf{SL}^{k}$ formulae into equisatisfiable first-order formulae, preserving satisfiability over finite and infinite universes.
  • Use a controlled elimination of $*$ and $\mathrel{\mbox{$\mathord{-}\mathord{-}\mathord{*}$}}$ via minterm decomposition and model construction with bounded universe size.
  • Prove PSPACE-completeness by showing that finite models of the translated formulae can be guessed and verified in polynomial space, with universe size bounded by $\mathcal{O}(\mathsf{size}(\phi)^2)$.
  • Leverage the equivalence between $\tau(\varphi') \land \mathcal{A}(\varphi')$ and a $\mathsf{BSR}(\mathsf{FO})$ formula to reduce satisfiability to first-order logic problems with bounded models.

Experimental results

Research questions

  • RQ1Is the satisfiability problem decidable for $\mathsf{BSR}(\mathsf{SL}^{k})$ over finite and infinite heaps when $k \geq 2$?
  • RQ2What syntactic restrictions on universally quantified variables within separating implications lead to decidable fragments of $\mathsf{BSR}(\mathsf{SL}^{k})$?
  • RQ3Can separating connectives in $\mathsf{SL}^{k}$ be systematically eliminated via a translation into first-order logic with test formulae, preserving equisatisfiability?
  • RQ4What is the complexity of the finite and infinite satisfiability problems for the resulting decidable subfragments?
  • RQ5Can the proposed translation technique be used to recover known complexity results for quantifier-free $\mathsf{SL}^{k}$, such as PSPACE-completeness?

Key findings

  • The general $\mathsf{BSR}(\mathsf{SL}^{k})$ fragment is undecidable for $k \geq 2$, primarily due to universal quantifiers within the scope of positively polarized separating implications.
  • The fragment $\mathsf{BSR}^{\mathit{fin}}(\mathsf{SL}^{k})$, which disallows positive occurrences of separating implications with universally quantified variables, is decidable and PSPACE-complete for finite satisfiability.
  • The fragment $\mathsf{BSR}^{\mathit{inf}}(\mathsf{SL}^{k})$, which restricts universally quantified variables to non-positive contexts in separating implications, is decidable and PSPACE-complete for infinite satisfiability.
  • The translation of $\mathsf{SL}^{k}$ formulae into boolean combinations of test formulae enables a controlled elimination of separating connectives, reducing the problem to first-order logic.
  • The size of the smallest model for the translated first-order formulae is bounded by $\mathcal{O}(\mathsf{size}(\phi)^2)$, enabling polynomial-space model checking.
  • The results recover the PSPACE-completeness of quantifier-free $\mathsf{SL}^{k}$ by showing that $\phi \multimap \top$ lies in both $\mathsf{BSR}^{\mathit{fin}}(\mathsf{SL}^{k})$ and $\mathsf{BSR}^{\mathit{inf}}(\mathsf{SL}^{k})$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.