arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.11072cs.FLcs.LO
收藏

无需自动机的迹检查监控(扩展版)

Automata-less Monitoring via Trace-Checking (Extended Version)

Department of Mathematics, Computer Science and Physics University of Udine(乌迪内大学数学、计算机与物理系)

Andrea Brunello, Luca Geatti, Angelo Montanari, Nicola Saccomanno

AI总结:

针对运行时验证中DFA监控器双指数爆炸问题,提出基于内蕴安全/共安全公式的迹检查监控方法,复杂度为多项式级,并明确了LTL和LTLf中识别这类公式的复杂度。

摘要:

在运行时验证领域,监控指分析系统的当前执行过程,并基于观测到的有限迹判断其所有可能的后续执行是否满足给定规约。该任务通常通过从线性时序逻辑(LTL)或其有限字变体(LTLf)表达的逻辑规约中合成监控器——通常是确定性有限状态自动机(DFA)——来实现。遗憾的是,生成的DFA规模可能会随公式规模出现双指数爆炸问题。\n本文明确了无需构建此类DFA即可完成监控的若干条件。我们基于[Kupferman & Vardi, FMSD, 2001]中提出的内蕴安全与内蕴共安全公式概念,证明这类公式的监控可通过迹检查完成,即直接在当前系统迹上对公式求值,其复杂度关于迹长度和公式规模均为多项式级。此外,我们研究了在LTL和LTLf的安全片段与共安全片段中,识别内蕴安全与内蕴共安全公式的复杂度。针对LTLf,我们证明这些片段中的所有公式都是内蕴安全与内蕴共安全的,因此无需进行识别检查。针对LTL,我们证明该问题属于PSPACE复杂度类,较完整LTL的EXPSPACE复杂度有显著提升。

英文摘要:

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 finite-word 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑