Abstract
This paper deals with model checking problems with respect to LTL properties under fairness assumptions. We first present an efficient algorithm to deal with a fragment of fairness assumptions and then extend the algorithm to handle arbitrary fairness assumptions. Notably, by making use of some syntactic transformations, our algorithm avoids constructing corresponding Büchi automata for the whole fairness assumptions, which can be very large in practice. We implement our algorithm in NuSMV and consider a large selection of formulas. Our experiments show that in many cases our approach exceeds the automata-theoretic approach up to several orders of magnitude, in both time and memory.
Introduction
In formal verification, Linear Temporal Logic (LTL) is essential for describing system behaviors over time. However, many systems require fairness assumptions—such as "if a process requests a resource infinitely often, it should eventually receive it"—to function correctly. The traditional automata-theoretic approach involves constructing a Büchi automaton representing property violations. For complex fairness assumptions, this automaton can grow exponentially, leading to the "state-space explosion" problem where model checkers exhaust available time or memory.
Methodology
The proposed approach shifts from an automata-centric model to a syntax-driven one, utilizing three primary steps:
- Syntactic Flattening: Instead of building a monolithic automaton, the algorithm uses a "flatten" operation ($fnf$) to transform fairness formulas into a Fair Normal Form (FNF), represented as a disjunction of simpler sub-formulas.
- Fragment-Specific Optimization:
- For formulas restricted to "Always" ($G$) and "Eventually" ($F$) modalities, the method avoids Büchi construction entirely. It instead analyzes Strongly Connected Components (SCCs) on the system's Kripke structure to identify fair paths.
- For general LTL, the formula is decomposed so that only minimal, necessary components are converted into automata.
- Generic LTL Acceleration: This framework is extended to accelerate the verification of any generic LTL formula when paired with fairness constraints.
The algorithm was implemented as an extension to the symbolic model checker NuSMV.
Experimental Evaluation
The algorithm was benchmarked against classic concurrent computing models including the Dining Philosophers (PD) (6 to 12 philosophers) and the Binary Semaphore Protocol (BS) (4 to 16 processes). Additionally, complex LTL patterns (p1–p16) were generated to stress-test the logic transformations.
Performance Results
The experimental results demonstrate significant improvements over the standard NuSMV implementation. In several instances, the proposed algorithm completed verification in seconds, whereas NuSMV reached a time-out (T-O) of 2 hours or a memory-out (M-O).
As shown in the performance table, for larger models like BS12 and BS16, the new approach maintains low execution times and manageable memory usage while the baseline fails. Visual analysis of the runtime and memory scatter plots further confirms that the proposed method consistently outperforms NuSMV, often by several orders of magnitude.
Conclusion
By leveraging the mathematical properties of fairness and employing syntactic decomposition, this research provides a scalable solution to the state-space explosion problem in LTL model checking. While syntactic transformations can occasionally lead to formula length blow-up, the overall reduction in automaton size leads to massive practical gains. Future work includes refining heuristics to identify "Fast LTL" fragments and integrating these optimizations into other model checkers like Spin or Spot.
Summary updated