Specification Decomposition for Reactive Synthesis (Full Version)

Bernd Finkbeiner, Gideon Geier, Noemi PassingarXiv 2021

Introduction: The Scalability Wall in Reactive Synthesis

Reactive synthesis is often described as the "holy grail" of formal methods: the ability to automatically transform a high-level specification into a guaranteed bug-free implementation. Instead of manually writing code and then verifying it, developers specify what a system should do—typically using Linear-time Temporal Logic (LTL)—and a synthesis tool generates the how.

However, this "push-button" convenience comes with a massive computational cost. LTL synthesis is 2EXPTIME-complete, meaning that as specifications grow, the search space for a valid implementation explodes. Traditional tools often hit a "scalability wall," running out of memory or time on complex real-world problems. This paper introduces a sound and complete modular synthesis algorithm that breaks this wall by automatically decomposing massive specifications into smaller, independent, and easily solvable sub-tasks.

Modular Synthesis: A Divide-and-Conquer Approach

The core innovation presented is a framework for Modular Synthesis. Unlike previous compositional approaches that required complex negotiations between components or were limited to specific types of properties, this method ensures that sub-specifications $s_1, \dots, s_k$ are entirely independent.

By ensuring independence, the algorithm allows existing synthesis tools to be used as "black boxes." You solve each sub-problem separately and then simply plug the resulting components together. The authors prove a "Language Composition" criterion: if the sub-specifications are independent and non-contradictory, their parallel composition is mathematically guaranteed to satisfy the original global specification.

Semantic vs. Syntactic Decomposition

The authors propose two primary methods for achieving this decomposition:

  1. Automaton-Based Decomposition (Semantic): This approach translates the LTL specification into a Nondeterministic Büchi Automaton (NBA). It then uses projection operations to split the NBA based on disjoint sets of output variables. While semantically precise and capable of finding optimal splits, it can be computationally expensive due to the nature of automaton operations.
Figure 4.1: The original NBA A for the LTL formula φ = ♢o1 ∧ □(i → ♢o2).
Figure 4.2: The resulting minimized sub-automata after semantic decomposition.
  1. LTL-Based Decomposition (Syntactic): To prioritize speed, the authors developed a fast syntactic approximation. This method rewrites the LTL formula into a conjunctive form and groups conjuncts that share output variables. A key feature is "Assumption Dropping," where the algorithm identifies and removes unnecessary assumptions for specific sub-guarantees, further simplifying the synthesis task.

Experimental Evaluation and Results

The framework was evaluated using 346 benchmarks from SYNTCOMP (the international Reactive Synthesis Competition), focusing on 207 "realistic" candidates for decomposition. Two state-of-the-art tools, BoSy and Strix, were used as the underlying solvers.

The results demonstrate that modular synthesis acts as a powerful "lightning-fast" preprocessing step:

  • Negligible Overhead: The LTL-based decomposition typically completes in under 26 milliseconds.
  • Dramatic Speedups: On a standard "generalized buffer" benchmark, synthesis time dropped from a 1-hour timeout to just 28 seconds.
  • Expanded Solvability: The preprocessing allowed BoSy to solve 9 additional benchmarks and Strix to solve 5 more that were previously "unsolvable" within time limits.
  • Efficient Implementations: The resulting hardware/software implementations (measured in AIGER gates) were often smaller or equal in size to those produced by non-compositional methods.

Conclusion and Future Directions

By treating synthesis as a black box and focusing on output independence, this modular approach provides a practical path forward for scaling reactive synthesis to complex industrial systems. While not all specifications are decomposable, the negligible overhead makes it an ideal default preprocessing step.

Future work aims to enhance the syntactic LTL-based method to uncover more semantic independence and to leverage the inherent parallelism of the sub-tasks. By running sub-synthesis tasks in parallel, the wall-clock time for complex system design could be reduced even further, bringing the "holy grail" of automated programming closer to reality.

Summary updated

BibTeX
@misc{finkbeiner2021specification,
  author = {Bernd Finkbeiner and Gideon Geier and Noemi Passing},
  title = {{Specification Decomposition for Reactive Synthesis (Full Version)}},
  year = {2021},
  eprint = {2103.08459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.08459},
}
Figure