Skip to main content
QUICK REVIEW

[Paper Review] Simulations for Event-Clock Automata

S. Akshay, Paul Gastin|arXiv (Cornell University)|Jan 1, 2022
Formal Methods in VerificationComputer Science2 citations
TL;DR

This paper presents a zone-based reachability algorithm for event-clock automata (ECA) using G-simulation to ensure finiteness, overcoming the challenge posed by prophecy clocks. Unlike prior approaches, it shows that even event-predicting ECAs (with only prophecy clocks) achieve finiteness without simulations, and general ECAs benefit from the coarsest known simulation relation in timed automata, enabling efficient, practical verification of timed specifications.

ABSTRACT

Event-clock automata are a well-known subclass of timed automata which enjoy admirable theoretical properties, e.g., determinizability, and are practically useful to capture timed specifications. However, unlike for timed automata, there exist no implementations for event-clock automata. A main reason for this is the difficulty in adapting zone-based algorithms, critical in the timed automata setting, to the event-clock automata setting. This difficulty was studied in [Gilles Geeraerts et al., 2011; Gilles Geeraerts et al., 2014], where the authors also proposed a solution using zone extrapolations. In this paper, we propose an alternative zone-based algorithm, using simulations for finiteness, to solve the reachability problem for event-clock automata. Our algorithm exploits the 𝒢-simulation framework, which is the coarsest known simulation relation for reachability, and has been recently used for advances in other extensions of timed automata.

Motivation & Objective

  • Address the lack of efficient, zone-based algorithms for event-clock automata (ECA), despite their theoretical advantages and practical relevance in specifying timed behaviors.
  • Overcome the fundamental challenge of prophecy clocks—unlike standard clocks, they introduce undefined values and time-to-next-event semantics that break standard zone abstraction.
  • Develop a simulation-based zone enumeration method that ensures finiteness in ECA reachability, enabling practical implementation of ECA model checking.
  • Demonstrate that even the subclass of event-predicting automata (with only prophecy clocks) achieves finiteness without simulations, a surprising and novel insight.
  • Bridge the gap between timed automata technology and ECA by adapting the G-simulation framework to the ECA setting, enabling transfer of existing TA tooling advances.

Proposed method

  • Introduce a new representation for prophecy clocks and undefined values in zone graphs, enabling consistent zone abstraction despite non-standard clock semantics.
  • Adapt the G-simulation framework—a coarsest simulation relation in timed automata literature—to the ECA setting to ensure finite zone enumeration.
  • Define a simulation relation ⪯A on zones that respects the structure of event-clock automata, using the ∼M equivalence relation on clock differences to bound zone complexity.
  • Prove that the simulation relation ⪯A is finite by showing that the downset of each zone under ⪯A is a finite union of ∼M-classes, leveraging bounded clock differences.
  • Construct a zone graph where nodes are (state, zone) pairs, and transitions are defined via zone operations (e.g., time elapse, action transitions), with simulation used to prune redundant zones.
  • Leverage the fact that for event-predicting ECAs (only prophecy clocks), no simulation is needed for finiteness, due to inherent structural constraints on clock differences.

Experimental results

Research questions

  • RQ1Can a zone-based reachability algorithm be designed for event-clock automata that ensures finiteness despite the presence of prophecy clocks?
  • RQ2What is the role of simulations in ensuring finiteness in ECA zone graphs, and can finiteness be achieved without simulations in certain subclasses?
  • RQ3How can the G-simulation framework—previously used in extensions of timed automata—be adapted to handle the unique semantics of prophecy clocks in ECAs?
  • RQ4To what extent can existing timed automata verification technology be transferred to ECA through simulation-based zone abstraction?
  • RQ5Is there a structural property of event-predicting ECAs (those with only prophecy clocks) that inherently prevents infinite zone explosion?

Key findings

  • The simulation relation ⪯A used in the zone graph is finite, ensuring that the reachability algorithm terminates and is complete.
  • For event-predicting automata (a subclass of ECA using only prophecy clocks), finiteness of the zone graph is achieved without any simulation, due to bounded clock difference constraints.
  • The number of distinct zones enumerated in the algorithm is bounded by 2^r, where r is the number of ∼M-equivalence classes of clock differences, analogous to the region-based bound in classical timed automata.
  • The proposed algorithm is structurally identical to standard timed automata reachability algorithms, enabling direct reuse of existing TA tooling and optimization techniques.
  • The authors implemented the algorithm in TChecker, resulting in the first open-source tool capable of handling event-clock automata, demonstrating practical feasibility.
  • The work establishes that ECA reachability can be solved efficiently using zone-based methods, overcoming the limitations of prior translations to timed automata, which incur exponential blowup in the worst case.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.