[Paper Review] Reachability in Timed Automata with Diagonal Constraints
This paper introduces a novel simulation relation ≼d_LU for timed automata with diagonal constraints, enabling efficient forward reachability analysis. By encoding simulation violations as SMT-solvable formulas in linear arithmetic, the method achieves significant reductions in explored zones—demonstrated experimentally—while maintaining correctness despite the NP-completeness of the underlying decision problem.
We consider the reachability problem for timed automata having diagonal constraints (like x - y < 5) as guards in transitions. The best algorithms for timed automata proceed by enumerating reachable sets of its configurations, stored in a data structure called "zones". Simulation relations between zones are essential to ensure termination and efficiency. The algorithm employs a simulation test Z <= Z' which ascertains that zone Z does not reach more states than zone Z', and hence further enumeration from Z is not necessary. No effective simulations are known for timed automata containing diagonal constraints as guards. We propose a simulation relation <=_{LU}^d for timed automata with diagonal constraints. On the negative side, we show that deciding Z not <=_{LU}^d Z' is NP-complete. On the positive side, we identify a witness for Z not <=_{LU}^d Z' and propose an algorithm to decide the existence of such a witness using an SMT solver. The shape of the witness reveals that the simulation test is likely to be efficient in practice.
Motivation & Objective
- To address the lack of effective simulation relations for timed automata with diagonal constraints, which hinders efficient forward reachability analysis.
- To enable the use of implicit abstraction techniques—commonly used in diagonal-free timed automata—within models that include diagonal guards.
- To develop a simulation test Z ≼d_LU Z′ that is both sound and practical for use in model checking tools.
Proposed method
- Extends the classical ≼LU simulation relation to handle diagonal constraints, resulting in a new simulation ≼d_LU.
- Characterizes the negation of the simulation test (Z ≸≼d_LU Z′) by identifying a witness structure involving clock valuations and constraint clauses.
- Encodes the existence of such a witness as a satisfiability problem in linear arithmetic, solvable via SMT solvers like Z3.
- Uses the SMT formula to decide whether Z ≸≼d_LU Z′, enabling efficient pruning of redundant zone explorations in forward analysis.
- Implements the simulation test in a prototype tool, T-Checker, for integration into existing verification pipelines.
- Employs a symbolic representation of zones using difference bound matrices and leverages topological closure and equivalence classes to simplify witness search.
Experimental results
Research questions
- RQ1Can a sound and effective simulation relation be defined for timed automata with diagonal constraints, extending the classical ≼LU relation?
- RQ2Is the decision problem Z ≸≼d_LU Z′ decidable, and what is its computational complexity?
- RQ3Can the existence of a witness for Z ≸≼d_LU Z′ be encoded as a formula in linear arithmetic to enable efficient SMT-based checking?
- RQ4Does the proposed simulation test lead to a practical reduction in the number of zones explored during forward reachability analysis?
- RQ5Can the framework be extended to support optimizations and analysis techniques developed for diagonal-free timed automata?
Key findings
- The simulation test Z ≸≼d_LU Z′ is NP-complete, establishing a theoretical boundary for the complexity of this problem.
- A witness for Z ≸≼d_LU Z′ can be characterized and encoded as a satisfiable formula in linear arithmetic, enabling efficient SMT-based decision procedures.
- Experiments show a drastic reduction in the number of zones explored when using ≼d_LU on models with diagonal constraints compared to converting them to diagonal-free form.
- For Fischer 5 (10 clocks), the number of zones was reduced from 1,926,991 (diagonal-free) to 15,947 (with diagonal constraints and ≼d_LU), a reduction of over 99%.
- Despite the higher cost per simulation test, the overall performance improves due to fewer zone explorations, indicating strong potential for optimization.
- The framework enables the extension of optimizations and analysis techniques from diagonal-free timed automata to models with diagonal constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.