arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.02133cs.PLcs.LO
收藏

概率高阶递归程序的终止问题

On the Termination Problem for Probabilistic Higher-Order Recursive Programs

The University of Tokyo(东京大学);University of Bologna(博洛尼亚大学);Aix Marseille Univ, Université de Toulon, CNRS, LIS(艾克斯-马赛大学,土伦大学,法国国家科学研究中心,信息系统实验室)

Naoki Kobayashi, Ugo Dal Lago, Charles Grellois

AI总结:

本文针对概率高阶模型检查问题展开研究,引入PHORS作为概率高阶程序模型,证明二阶PHORS几乎必然终止性不可判定,给出终止概率不动点刻画并实现了近似计算过程,经初步实验验证其运行良好。

摘要:

在过去二十年中,概率系统和高阶程序的模型检查都取得了诸多进展。尽管高阶概率编程语言已经出现,但将这两种方法结合起来的研究却很少。本文针对概率高阶模型检查问题展开研究,给出了首批理论与实验结果。作为实现目标的第一步,我们引入了PHORS(高阶递归方案的概率扩展)作为概率高阶程序的模型,该模型也可视为递归马尔可夫链的高阶扩展。随后我们研究了概率终止问题,即等价的概率可达性问题。我们证明了二阶PHORS的几乎必然终止性是不可判定的,还给出了PHORS终止概率的不动点刻画,并开发了一种用于近似计算终止概率的可靠(但可能不完整)过程。我们已为二阶PHORS实现了该过程,文末报告的初步实验证实该过程运行良好。

英文摘要:

In the last two decades, there has been much progress on model checking of both probabilistic systems and higher-order programs. In spite of the emergence of higher-order probabilistic programming languages, not much has been done to combine those two approaches. In this paper, we initiate a study on the probabilistic higher-order model checking problem, by giving some first theoretical and experimental results. As a first step towards our goal, we introduce PHORS, a probabilistic extension of higher-order recursion schemes (HORS), as a model of probabilistic higher-order programs. The model of PHORS may alternatively be viewed as a higher-order extension of recursive Markov chains. We then investigate the probabilistic termination problem -- or, equivalently, the probabilistic reachability problem. We prove that almost sure termination of order-2 PHORS is undecidable. We also provide a fixpoint characterization of the termination probability of PHORS, and develop a sound (but possibly incomplete) procedure for approximately computing the termination probability. We have implemented the procedure for order-2 PHORSs, and confirmed that the procedure works well through preliminary experiments that are reported at the end of the article.

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

↑