Skip to main content
QUICK REVIEW

[Paper Review] Satisfiability-Based Methods for Reactive Synthesis from Safety Specifications

Roderick Bloem, Uwe Egly|arXiv (Cornell University)|Apr 21, 2016
Formal Methods in VerificationComputer Science101 references4 citations
TL;DR

This paper presents novel satisfiability-based algorithms for reactive synthesis from safety specifications using SAT solvers, QBF solvers, and EPR, leveraging query learning, interpolation, and template-based synthesis. The approach outperforms a basic BDD-based tool and is competitive with highly optimized BDD tools, winning two medals in the SyntComp competition, demonstrating significant scalability improvements through quantifier expansion, unreachable state pruning, and variable independence detection.

ABSTRACT

Existing approaches to synthesize reactive systems from declarative specifications mostly rely on Binary Decision Diagrams (BDDs), inheriting their scalability issues. We present novel algorithms for safety specifications that use decision procedures for propositional formulas (SAT solvers), Quantified Boolean Formulas (QBF solvers), or Effectively Propositional Logic (EPR). Our algorithms are based on query learning, templates, reduction to EPR, QBF certification, and interpolation. A parallelization combines multiple algorithms. Our optimizations expand quantifiers and utilize unreachable states and variable independencies. Our approach outperforms a simple BDD-based tool and is competitive with a highly optimized one. It won two medals in the SyntComp competition.

Motivation & Objective

  • To address the scalability limitations of BDD-based reactive synthesis tools in handling large reactive systems.
  • To develop efficient, decision procedure-based synthesis algorithms that avoid BDDs' exponential blowup in complex systems.
  • To improve performance through optimizations like quantifier expansion, unreachable state detection, and variable independence analysis.
  • To demonstrate competitiveness with state-of-the-art BDD-based tools and achieve strong results in formal synthesis competitions.
  • To explore the feasibility of satisfiability-based synthesis for safety specifications using SAT, QBF, and EPR, with potential extension to richer logic formats.

Proposed method

  • Employing query learning to iteratively refine system strategies based on counterexamples from decision procedures.
  • Using Craig interpolation to extract circuit components from proofs of unsatisfiability in SAT and QBF solving.
  • Applying template-based synthesis to constrain the search space and guide synthesis toward correct-by-construction implementations.
  • Reducing safety synthesis problems to EPR and QBF for leverage of modern decision procedures.
  • Implementing parallelization across multiple algorithms and solver configurations to improve performance and robustness.
  • Optimizing by expanding quantifiers, detecting unreachable states, and exploiting variable independencies to reduce state space explosion.

Experimental results

Research questions

  • RQ1Can satisfiability-based methods outperform BDD-based approaches in reactive synthesis from safety specifications?
  • RQ2How effective are SAT, QBF, and EPR solvers in synthesizing correct-by-construction reactive systems?
  • RQ3To what extent do optimizations like quantifier expansion and unreachable state detection improve scalability?
  • RQ4Can parallelization of multiple synthesis algorithms and solver configurations yield performance gains?
  • RQ5What is the potential of interpolation and template-based methods in generating compact, correct system implementations?

Key findings

  • The proposed satisfiability-based approach outperforms a simple BDD-based synthesis tool and is competitive with highly optimized BDD tools.
  • The method achieved two medals in the SyntComp competition, indicating strong practical performance and robustness.
  • Quantifier expansion and unreachable state detection significantly reduce state space explosion, improving scalability.
  • Variable independence analysis and pruning of irrelevant variables contribute to performance gains in large benchmarks.
  • Parallelization of multiple algorithms and solver configurations yields measurable speedups and improved resilience to input variability.
  • The EPR-based reduction, while less effective in experiments, opens a path for future exploration with emerging DQBF solvers.

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.