Fast LTL Satisfiability Checking by SAT Solvers

Jianwen Li, Geguang Pu, Lijun Zhang, Moshe Y. Vardi, Jifeng HearXiv 2014

Abstract

Linear Temporal Logic (LTL) satisfiability checking is a critical step in formal verification, yet it often remains a computational bottleneck. This paper introduces a novel approach that leverages the power of modern Boolean SAT solvers by transforming LTL formulas into "obligation formulas." By abstracting temporal information into pure Boolean representations, the proposed tool, Aalta v0.2, achieves significant performance gains—up to 1000x speedups—over existing state-of-the-art solvers.

Introduction

Linear Temporal Logic (LTL) is widely used to specify the desired behavior of reactive systems over time. Before a system can be verified against an LTL specification, it is essential to ensure that the specification itself is satisfiable. An unsatisfiable specification is self-contradictory, making any subsequent verification effort futile.

Historically, LTL satisfiability checkers have relied on automata-based methods or temporal resolution. While effective, these methods have not benefited from the rapid advancements seen in Boolean SAT solvers. Bounded Model Checking (BMC) utilizes SAT solvers but is typically incomplete, meaning it cannot prove unsatisfiability. This paper addresses the need for a complete LTL checker that harnesses the efficiency of modern SAT technology.

Methodology: Obligation Formulas

The core contribution of this work is the framework of Obligation Formulas. The authors propose a two-pronged approach to handle both satisfiability and unsatisfiability efficiently.

  1. Obligation Formulas ($of(\phi)$): This method transforms an LTL formula into a Boolean formula that represents the immediate obligations required for the LTL formula to hold. By stripping away temporal depth, a standard SAT solver can quickly determine if these obligations are satisfiable. If the Boolean obligation formula is satisfiable, the original LTL formula is guaranteed to be satisfiable, providing a high-speed "shortcut."
  2. Obligation Formulas with Position ($ofp(\phi)$): To prove unsatisfiability, the authors introduce positional metadata (start time and duration) to literals. This allows the SAT solver to detect "positional contradictions"—instances where a literal and its negation are required at the same time step across different parts of the formula.
  3. Implementation: These techniques are implemented in Aalta v0.2, which uses MiniSat as its core engine. The tool integrates these SAT-based heuristics into a complete transition system search, ensuring both speed and soundness.

Experimental Evaluation

The authors conducted an extensive evaluation using several benchmark suites, including the Schuppan collection (7,446 real-world formulas) and various sets of random formulas.

Comparison of Aalta v0.2 against other LTL solvers across various benchmark suites.

Key Results

Aalta v0.2 demonstrated superior performance across nearly all tested categories:

  • Performance Dominance: As shown in the benchmark table, Aalta v0.2 frequently outperformed established solvers like pltl, ls4, and NuSMV-BDD, winning the most performance races (8 best results) in the Schuppan suite.
  • Scalability: The tool exhibits excellent scaling characteristics. While other solvers' checking times increase exponentially with the number of instances, Aalta v0.2 maintains a much lower growth rate.
  • Speedups: The authors reported speedups of up to 1000x for satisfiable formulas and 500x for unsatisfiable ones compared to the previous version, Aalta v0.1.
Checking time performance as the number of instances increases, demonstrating Aalta v0.2's scalability.

Discussion and Future Work

The shift from "obligation sets" to "obligation formulas" is a key insight of this paper, preventing the exponential state-space explosion common in previous methods. By projecting temporal constraints into a format SAT solvers can digest, Aalta v0.2 bridges the gap between complex logic and high-performance search.

Future work includes a more detailed comparison with newer SAT-based techniques like IC3 and refining the "tagging" process for complex formulas with repeated atoms. While the current positional heuristics are powerful, they do not catch every contradiction, leaving room for further optimization in proving unsatisfiability for the most complex edge cases.

Summary updated

BibTeX
@misc{li2014fast,
  author = {Jianwen Li and Geguang Pu and Lijun Zhang and Moshe Y. Vardi and Jifeng He},
  title = {{Fast LTL Satisfiability Checking by SAT Solvers}},
  year = {2014},
  eprint = {1401.5677},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1401.5677},
}
Figure