arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.03515cs.LOcs.PL
收藏

概率算子优先级自动机的模型检测

Model Checking Probabilistic Operator Precedence Automata

TU Wien(维也纳工业大学);AIT Austrian Institute of Technology(奥地利技术研究院)

Francesco Pontiggia, Ezio Bartocci, Michele Chiari

AI总结:

本文针对概率下推自动机,引入概率算子优先级自动机,并针对POTLf$\chi$规范开发了最优的EXPTIME/EXPSPACE概率模型检测算法,同时支持LTL规范,为递归概率程序验证提供了首个最优上下文无关逻辑。

摘要:

我们研究了概率下推自动机的上下文无关规范模型检测问题,并将其应用于递归概率程序的验证。算子优先级语言(OPLs)是上下文无关语言的一个具有表达力的子类,适用于递归程序的模型检测。由此衍生的优先级导向时序逻辑(POTL)能够表达基本的OPL规范,如前置/后置条件和异常安全性。我们引入了概率算子优先级自动机(pOPA),这是一类轨迹为OPL的概率下推自动机,并研究了它们针对POTL规范的模型检测问题。我们识别了POTL的一个片段,称为POTLf$\chi$,为此我们开发了一个用于定性概率模型检测的EXPTIME算法,以及一个用于定量变体的EXPSPACE算法。这些算法依赖于从POTLf$\chi$公式生成的自动机的分离性质。凭借相同的性质,这些算法还允许对pOPA进行针对线性时序逻辑(LTL)规范的模型检测。POTLf$\chi$因此成为第一个为其开发了最优概率模型检测算法的上下文无关逻辑,其复杂度与EXPTIME下界相匹配。相比之下,针对CaRet(一种基于可见下推语言(VPL)的著名时序逻辑)的概率模型检测的最佳已知算法是双指数复杂度的。

英文摘要:

We address the problem of model checking context-free specifications for probabilistic pushdown automata, with applications in the verification of recursive probabilistic programs. Operator Precedence Languages (OPLs) are an expressive subclass of context-free languages suitable for model checking recursive programs. The derived Precedence Oriented Temporal Logic (POTL) can express fundamental OPL specifications such as pre/post-conditions and exception safety. We introduce probabilistic Operator Precedence Automata(pOPA), a class of probabilistic pushdown automata whose traces are OPLs, and study their model checking problem against POTL specifications. We identify a fragment of POTL, called POTLf$χ$, for which we develop an EXPTIME algorithm for qualitative probabilistic model checking, and an EXPSPACE algorithm for the quantitative variant. The algorithms rely on the property of separation of automata generated from POTLf$χ$ formulas. By the same property, the algorithms allow for model checking pOPA against Linear Temporal Logic (LTL) specifications. POTLf$χ$ is then the first context-free logic for which an optimal probabilistic model checking algorithm has been developed, matching its EXPTIME lower bound in complexity. In comparison, the best known algorithm for probabilistic model checking of CaRet, a prominent temporal logic based on Visibly Pushdown Languages (VPL), is doubly exponential.

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

↑