SMT-Based Model Checking of Max-Plus Linear Systems

Muhammad Syifa'ul Mufid, Andrea Micheli, Alessandro Abate, Alessandro CimattiCONCUR 2021 · DOI

TL;DR

This paper introduces a novel approach to formally verify temporal properties of Max-Plus Linear (MPL) systems, which are crucial for modeling real-world systems like transportation networks. They achieve this by developing a new logic (TDLTL) and a family of SMT-based algorithms that efficiently check these properties, outperforming existing methods.

What Problem Does This Paper Address?

Max-Plus Linear (MPL) systems are powerful tools for modeling discrete-event systems, but analyzing their behavior, especially over time, presents significant challenges. Traditional methods often struggle with the infinite-state nature of these systems, leading to scalability issues and incomplete analyses. A key open problem has been how to formally specify and verify user-defined temporal properties for MPL systems in a complete and scalable manner. Existing approaches often rely on abstractions that can be exponential in size and are limited to small systems.

Methods

The authors introduce Time-Difference Linear Temporal Logic (TDLTL), a new logic designed to capture temporal properties of MPL systems by explicitly considering the time delays between events. They then propose a family of SMT-based model-checking algorithms for TDLTL over MPL systems. These algorithms leverage the inherent periodic behavior of MPL systems to establish a completeness threshold for verification. The core idea is to translate the problem into a Satisfiability Modulo Theory (SMT) problem over real numbers.

Key aspects of their approach include:

  • TDLTL: This logic extends Linear Temporal Logic (LTL) by incorporating propositions that express differences between state variables at different time points, directly reflecting the time-based nature of MPL systems.
  • SMT-based Verification: They formulate the model-checking problem as an SMT query. This allows them to leverage powerful SMT solvers for decidability.
  • Leveraging Periodicity: The algorithms exploit the transient and cyclicity properties of MPL systems to bound the search for counterexamples. This is crucial for achieving completeness.
  • Algorithmic Variants: They propose both "incremental" and "upfront" approaches. Incremental methods gradually increase the search bound, while upfront methods use the pre-computed completeness threshold. They also offer "unrolled" and "initialised" variants, differing in how they encode the system dynamics and temporal properties into SMT formulas.

Datasets

Not discussed in the paper. The experiments use randomly generated irreducible matrices and TDLTL formulas.

Key Insights and Ideas

  • TDLTL is a natural fit for MPL systems: The ability to express time differences directly in the logic makes it well-suited for specifying properties of systems where event timing is critical.
  • Periodicity is key to completeness: The authors demonstrate that the transient and cyclicity of MPL systems provide a theoretical upper bound for the completeness threshold, meaning that if no counterexample is found within this bound, the property holds for all behaviors.
  • SMT solvers can handle infinite-state systems: By carefully encoding MPL system dynamics and TDLTL properties into SMT formulas, the authors show that SMT solvers can effectively verify these systems, overcoming the limitations of traditional finite-state model checking.
  • Algorithmic choices matter: The experimental results highlight that different algorithmic variants (incremental vs. upfront, unrolled vs. initialised) have varying performance characteristics depending on whether the property is valid or invalid, and the complexity of the system.

Key Results

The paper presents comprehensive experimental results demonstrating the effectiveness of their approach.

  • Scalability: Their SMT-based methods can handle significantly larger MPL systems (up to dimension 40) compared to existing abstraction-based techniques, which are limited to much smaller dimensions.
  • Performance Gains: The proposed algorithms outperform a translation to the NUXMV symbolic model checker by orders of magnitude.
  • Efficiency: The "initialised-incremental" and "initialised-upfront" algorithms, which use fewer variables by encoding properties based on initial states, generally show better performance.
  • Completeness: For boundedly periodic MPL systems, their procedures are proven to be complete, meaning they can definitively determine the validity of a property. For unboundedly periodic systems, they are semi-complete and semi-decidable.

Limitations and Future Work

  • Irreducible Matrices: The current work focuses on irreducible matrices. The authors suggest generalizing the approach to reducible matrices as future work.
  • Parametric MPL Systems: They also propose extending the approach to handle parametric MPL systems, where matrices might contain symbolic expressions rather than just concrete values.
  • Timeout: While their methods are efficient, some experiments still resulted in timeouts, particularly for larger systems and more complex formulas, indicating that further optimizations might be needed for extremely challenging cases.

Summary updated

BibTeX
@inproceedings{mufid2021smt,
  author = {Muhammad Syifa'ul Mufid and Andrea Micheli and Alessandro Abate and Alessandro Cimatti},
  title = {{SMT-Based Model Checking of Max-Plus Linear Systems}},
  booktitle = {CONCUR},
  year = {2021},
  doi = {10.4230/lipics.concur.2021.22},
}

Loading related content...

Figure