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

效应高阶程序时间验证的denotational积构造

A Denotational Product Construction for Temporal Verification of Effectful Higher-Order Programs

National Institute of Informatics(信息处理研究所);Kyoto University(京都大学);Waseda University(早稻田大学);Tohoku University(东北大学)

Kazuki Watanabe, Mayuko Kori, Taro Sekiyama, Satoshi Kura, Hiroshi Unno

AI总结:

本文提出一个范畴框架,通过denotational积构造将效应高阶程序的线性时间安全性验证归约为最弱前置条件计算,并实现了首个支持递归概率高阶程序的自动化验证器。

摘要:

我们提出了一个用于效应高阶程序(包括概率高阶程序)的线性时间时间验证的范畴框架。我们的框架提供了一种通用的denotational归约——即denotational积构造——从效应高阶程序的线性时间安全性验证到积程序最弱前置条件的计算。这种归约使我们能够应用现有的算法来进行这类经过充分研究的最弱前置条件计算,其中一些算法可作为现成的求解器使用。我们通过证明在强monad态射下的保真定理以及沿纤维化存在合适的提升,展示了我们的denotational积构造的正确性。我们将我们的框架实例化用于概率和天使非确定性高阶程序,并基于Kura和Unno开发的现有求解器,为概率情况实现了一个自动化求解器。据我们所知,这是第一个用于带递归的概率高阶程序线性时间时间验证的自动化验证器。

英文摘要:

We propose a categorical framework for linear-time temporal verification of effectful higher-order programs, including probabilistic higher-order programs. Our framework provides a generic denotational reduction -- namely, a denotational product construction -- from linear-time safety verification of effectful higher-order programs to computation of weakest pre-conditions of product programs. This reduction enables us to apply existing algorithms for such well-studied computations of weakest pre-conditions, some of which are available as off-the-shelf solvers. We show the correctness of our denotational product construction by proving a preservation theorem under strong monad morphisms and an existence of suitable liftings along a fibration. We instantiate our framework with both probabilistic and angelic nondeterministic higher-order programs, and implement an automated solver for the probabilistic case based on the existing solver developed by Kura and Unno. To the best of our knowledge, this is the first automated verifier for linear-time temporal verification of probabilistic higher-order programs with recursion.

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

↑