Time for Timed Monitorability
Thomas M. Grosen, Sean Kauffman, Kim G. Larsen, Martin Zimmermann
TL;DR
This work analyzes monitorability for real-time properties expressed as Timed Automata. It establishes a sharp boundary: strong and weak monitorability are decidable for deterministic Timed Muller Automata ($DTMA$) but undecidable for nondeterministic Timed Büchi Automata ($TBA$), with the notable exception of bounded weak $\bot$-monitorability for $TBA$. It further refines monitoring with step-bounded horizons and time-horizon verdicts, providing effective, zone-based methods for $DTMA$ and illustrating practical benefits for runtime verification of real-time systems. Overall, the results motivate using deterministic automata for monitorability analysis and offer actionable metrics to bound and schedule monitoring decisions in real time.
Abstract
Monitoring is an important part of the verification toolbox, in particular in situations where exhaustive verification using, e.g., model-checking is infeasible. The goal of online monitoring is to determine the satisfaction or violation of a specification during runtime, i.e., based on finite execution prefixes. However, not every specification is amenable to monitoring, e.g., properties for which no finite execution can witness satisfaction or violation. Monitorability is the question of whether a given specification is amenable to monitoring, and has been extensively studied in discrete time. Here, we study the monitorability problem for real-time properties expressed as Timed Automata. For specifications given by deterministic Timed Muller Automata, we prove decidability while we show that the problem is undecidable for specifications given by nondeterministic Timed Büchi automata. Furthermore, we refine monitorability to also determine bounds on the number of events as well as the time that must pass before monitoring the property may yield an informative verdict. We prove that for deterministic Timed Muller automata, such bounds can be effectively computed. In contrast we show that for nondeterministic Timed Büchi automata such bounds are not computable.
