Automata-less Monitoring via Trace-Checking
Andrea Brunello, Luca Geatti, Angelo Montanari, Nicola Saccomanno
Abstract
In runtime verification, monitoring consists of analyzing the current execution of a system and determining, on the basis of the observed finite trace, whether all its possible continuations satisfy or violate a given specification. This is typically done by synthesizing a monitor-often a Deterministic Finite State Automaton (DFA)-from logical specifications expressed in Linear Temporal Logic (LTL) or in its finiteword variant (LTLf). Unfortunately, the size of the resulting DFA may incur a doubly exponential blow-up in the size of the formula. In this paper, we identify some conditions under which monitoring can be done without constructing such a DFA. We build on the notion of intentionally safe and cosafe formulas, introduced in [Kupferman & Vardi, FMSD, 2001], to show that monitoring of these formulas can be carried out through trace-checking, that is, by directly evaluating them on the current system trace, with a polynomial complexity in the size of both the trace and the formula. In addition, we investigate the complexity of recognizing intentionally safe and cosafe formulas for the safety and cosafety fragments of LTL and LTLf. As for LTLf, we show that all formulas in these fragments are intentionally safe and cosafe, thus removing the need for the check. As for LTL, we prove that the problem is in PSPACE, significantly improving over the EXPSPACE complexity of full LTL.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4d1c41fd-bb20-446e-844f-0faf218b1101Related papers
- Complexity of Safety and coSafety Fragments of Linear Temporal LogicAlessandro Artale, Luca Geatti, Nicola Gigante, Andrea Mazzullo et al.AAAI 2023 · 11 citations
- Monitoring Arithmetic Temporal Properties on Finite TracesPaolo Felli, Marco Montali, Fabio Patrizi, Sarah WinklerAAAI 2023 · 14 citations
- Quantitative and Approximate MonitoringThomas A. Henzinger, N. Ege SaraçLICS 2021 · 15 citations
- General Anticipatory Runtime VerificationRaik Hipler, Hannes Kallwies, Martin Leucker, César SánchezCAV 2024
- Quantitative Monitoring of Signal First-Order LogicMarek Chalupa, Thomas A. Henzinger, N. Ege Saraç, Emily YuFM 2026
