LTL Realizability via Safety and Reachability Games

Alberto Camacho, Christian J. Muise, Jorge A. Baier, Sheila A. McIlraith

Introduction

Linear Temporal Logic (LTL) synthesis represents a significant challenge in automated programming, aiming to generate system controllers that are guaranteed to satisfy logical specifications. Traditionally, this 2-EXPTIME complete problem is addressed through "bounded synthesis," which reduces the task to a safety game—finding a strategy to avoid "bad" states indefinitely. However, safety-based approaches can struggle with certain specifications and often lack a unified framework for handling different turn-taking protocols, such as Mealy and Moore semantics.

This paper introduces a novel approach by reducing LTL synthesis to reachability games instead of safety games. By framing synthesis as a Fully Observable Non-Deterministic (FOND) planning problem, the authors leverage the powerful search heuristics developed in the AI planning community.

Theoretical Framework

A key contribution of this work is the formalization of a unified duality between Mealy-type (environment plays first) and Moore-type (agent plays first) semantics. The authors demonstrate that checking for unrealizability is equivalent to solving a dual game for the environment.

While standard methods utilize Universal $k$-coBüchi (UkCW) automata to construct safety games, this research introduces the use of Non-deterministic $k$-Büchi (NkBW) automata to create reachability games. In these games, the objective is to reach a "good prefix" that satisfies the goal. This theoretical mapping is summarized in the table below, showing how various specifications and automata constructions lead to specific realizability tests.

Table 1: Unified framework for LTL realizability and unrealizability tests across Mealy and Moore semantics.

Implementation via FOND Planning

The core algorithmic contribution is the implementation of two compilation techniques within the tool SynKit:

  • Safe2FOND: Compiles safety games into planning problems where the agent must avoid dead-ends.
  • Reach2FOND: Compiles reachability games into planning problems where the agent must reach a specific goal state.

By converting these games into FOND planning problems, SynKit can utilize off-the-shelf AI planners like PRP and MyND, effectively "importing" decades of optimization in search heuristics into the formal methods domain.

Experimental Evaluation

The authors evaluated SynKit using the SYNTCOMP 2017 benchmarks, which include industrial-inspired problems such as bus arbitration (Amba Decomposed) and resource management (Full Arbiter). The results indicate that SynKit is highly competitive with specialized synthesis tools like Acacia+, Bosy, and ltlsynt.

Table 2: Performance comparison of SynKit (using NkBW and UkCW) against state-of-the-art synthesis tools on SYNTCOMP 2017 benchmarks.

As shown in the experimental data, the reachability-based (NkBW) and safety-based (UkCW) approaches often exhibit complementary strengths. For instance, in the "Full Arbiter Unreal" set, SynKit correctly identified 9 out of 12 unrealizable cases, significantly outperforming tools like Acacia+ on that specific benchmark. The results suggest that a portfolio approach utilizing both reductions provides the most robust synthesis strategy.

Conclusion

This work demonstrates that reachability games are a viable and often superior alternative to traditional safety games for LTL synthesis. By bridging formal methods and AI planning, the authors provide a framework that benefits from advanced search heuristics. Future work aims to address state space explosion through automata decomposition and to optimize for strategy quality, such as controller size and robustness.

Summary updated

BibTeX
@inproceedings{camacho2018ltl,
  author = {Alberto Camacho and Christian J. Muise and Jorge A. Baier and Sheila A. McIlraith},
  title = {{LTL Realizability via Safety and Reachability Games}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/651},
}
Figure