Model-Checking One-Clock Priced Timed Automata

Patricia Bouyer, Kim Guldstrand Larsen, Nicolas Markey

TL;DR

This paper investigates the decidability and complexity of model-checking "priced timed automata" with a single clock. The authors establish that checking properties expressed in the branching-time logic WCTL is PSPACE-complete, while the linear-time logic WMTL is decidable under specific cost constraints, but undecidable if these constraints are relaxed. This work clarifies the boundaries of what can be efficiently verified in these real-time systems.

What Problem Does This Paper Address?

Real-time systems, where timing is critical, are often modeled using timed automata. However, these models typically don't account for resource consumption or costs associated with system behavior. "Priced timed automata" (PTAs) extend timed automata by adding cost information to locations and transitions, allowing for the analysis of optimal scheduling and resource management.

The challenge arises when we want to formally verify properties of these PTAs using temporal logics. While standard timed automata can be checked against logics like TCTL and MTL, extending these logics to handle costs (resulting in WCTL and WMTL) introduces significant complexity. Previous work showed that model-checking PTAs with even a few clocks against these cost-aware logics is undecidable. This paper focuses on a specific, yet important, simplification: PTAs with only one clock. The authors aim to determine if this restriction makes the model-checking problem decidable and, if so, what its complexity is.

Methods

The paper tackles the problem by:

  • Defining WCTL and WMTL: They formally define cost-extended versions of CTL (WCTL) and LTL (WMTL), introducing cost constraints on modalities.
  • Developing a Region-Based Approach: For WCTL, they introduce a "sufficient granularity" for the state space. This involves identifying a finite set of "regions" (intervals of clock values) such that the truth of any WCTL formula is uniform within each region. This is a crucial step for managing the continuous nature of time.
  • Constructing a Graph-Based Algorithm: For WCTL, they build an explicit graph where nodes represent symbolic states (location and region) and edges represent transitions. They then analyze paths in this graph to determine formula satisfaction. This leads to an EXPTIME algorithm, which is then optimized to PSPACE.
  • Reduction Techniques for WMTL: For WMTL, they employ reduction techniques. They show that decidability for a single-clock PTA with a "stopwatch cost" (costs are 0 or 1) can be proven by relating it to existing results for timed automata. Conversely, they demonstrate undecidability for slightly more general cases by reducing known undecidable problems (like the halting problem for counter machines) to their problem.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • The Power of a Single Clock: The restriction to a single clock dramatically impacts decidability. While PTAs with three clocks are generally undecidable for WCTL, a single clock makes it PSPACE-complete. This highlights how crucial the number of clocks is in real-time verification.
  • Granularity is Key: The concept of "sufficient granularity" for regions is essential. It's not just about dividing time into discrete intervals, but about finding the right intervals that capture all relevant changes in formula satisfaction. The paper shows how this granularity depends on the formula's structure and the automaton's costs.
  • Decidability Border is Sharp: The paper clearly delineates the boundary between decidability and undecidability for WMTL. The decidable case requires a single clock and a stopwatch cost. Even relaxing either of these conditions (e.g., allowing any general cost, or using two clocks) leads to undecidability. This is a strong result for understanding the limits of verification.
  • WCTL vs. WMTL Complexity: It's interesting that WCTL (branching-time) is PSPACE-complete, while WMTL (linear-time) is decidable under strict conditions but quickly becomes undecidable. This suggests that the branching nature of CTL, when combined with costs and a single clock, leads to a more complex but still manageable problem compared to the linear-time case with slightly relaxed cost constraints.

Key Results

  • WCTL Model-Checking: Model-checking one-clock priced timed automata against WCTL formulas is PSPACE-complete.
  • WMTL Model-Checking:
    • It is decidable for one-clock PTAs with a single stopwatch cost variable.
  • It is undecidable for:
  • One-clock PTAs with one general cost variable.
  • Two-clock PTAs with one stopwatch cost variable.
  • One-clock PTAs with two stopwatch cost variables.

Limitations and Future Work

  • WCTL for Two Clocks: The decidability of WCTL model-checking for two-clock PTAs is explicitly mentioned as an open question.
  • Multi-Constrained Modalities: The paper suggests exploring extensions with multiple cost constraints in modalities (e.g., cost1 <= 5 AND cost2 > 3).
  • Generalizing Undecidability Proofs: The undecidability results are shown to extend to WCTL (an extension of CTL with costs), indicating that these limitations are robust.
  • Practical Implementations: While algorithms are presented, the paper focuses on theoretical complexity. Future work could involve developing efficient implementations of these algorithms.

Summary updated

BibTeX
@inproceedings{bouyer2007model,
  author = {Patricia Bouyer and Kim Guldstrand Larsen and Nicolas Markey},
  title = {{Model-Checking One-Clock Priced Timed Automata}},
  booktitle = {FoSSaCS},
  year = {2007},
  doi = {10.1007/978-3-540-71389-0\_9},
}
Figure