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

简单随机循环的终止性判定

Deciding Termination of Simple Randomized Loops

Éléanore Meyer, Jürgen Giesl

AI总结:

本文证明了一类由单循环、线性循环条件和两个线性可交换可对角化更新组成的简单随机程序的全称正几乎必然终止性是可判定的,将Tiwari 2004年的研究扩展到随机程序领域。

摘要:

我们证明了对于一类简单随机程序,全称正几乎必然终止性(UPAST)是可判定的,即可以判定这类程序对所有输入的期望运行时间是否有限。该类包含所有由单个循环组成的程序,其循环条件为线性,循环体由两个线性可交换且可对角化的更新组成。在循环的每次迭代中,根据固定概率随机选择要执行的更新。我们证明了该类程序的UPAST可判定性,其中程序的变量和输入可以在实数的各种子半环上取值。通过这种方式,我们将Tiwari于2004年开创的研究路线扩展到了随机程序领域。

英文摘要:

We show that universal positive almost sure termination (UPAST) is decidable for a class of simple randomized programs, i.e., it is decidable whether the expected runtime of such a program is finite for all inputs. Our class contains all programs that consist of a single loop, with a linear loop guard and a loop body composed of two linear commuting and diagonalizable updates. In each iteration of the loop, the update to be carried out is picked at random, according to a fixed probability. We show the decidability of UPAST for this class of programs, where the program's variables and inputs may range over various sub-semirings of the real numbers. In this way, we extend a line of research initiated by Tiwari in 2004 into the realm of randomized programs.

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

↑