,
Jürgen Giesl
Creative Commons Attribution 4.0 International license
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.
@InProceedings{meyer_et_al:LIPIcs.MFCS.2025.76,
author = {Meyer, \'{E}l\'{e}anore and Giesl, J\"{u}rgen},
title = {{Deciding Termination of Simple Randomized Loops}},
booktitle = {50th International Symposium on Mathematical Foundations of Computer Science (MFCS 2025)},
pages = {76:1--76:19},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-388-1},
ISSN = {1868-8969},
year = {2025},
volume = {345},
editor = {Gawrychowski, Pawe{\l} and Mazowiecki, Filip and Skrzypczak, Micha{\l}},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.MFCS.2025.76},
URN = {urn:nbn:de:0030-drops-241833},
doi = {10.4230/LIPIcs.MFCS.2025.76},
annote = {Keywords: decision procedures, randomized programs, linear loops, positive almost sure termination}
}
archived version
archived version