一句话:提出 PHORS 概率高阶程序模型,证明二阶几乎必然终止不可判定,并给出终止概率的不动点刻画与近似算法。
过去二十年,概率系统与高阶程序的模型检测均取得显著进展,但两者结合的研究仍较少。本文启动概率高阶模型检测研究,提出 PHORS——高阶递归方案(HORS)的概率扩展,作为概率高阶程序模型;它也可视为递归马尔可夫链的高阶扩展。作者研究概率终止/可达问题,证明二阶 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.