Algorithmic Analysis of Qualitative and Quantitative Termination Problems for Affine Probabilistic Programs
Krishnendu Chatterjee, Hongfei Fu, Petr Novotny, Rouzbeh Hasheminezhad

TL;DR
This paper develops algorithmic methods for analyzing the termination behavior of affine probabilistic programs, providing complexity results and practical algorithms for qualitative and quantitative termination questions.
Contribution
It introduces polynomial-time algorithms for membership in LRAPP with demonic non-determinism and complexity bounds for other cases, advancing the analysis of probabilistic program termination.
Findings
Membership in LRAPP is polynomial-time with demonic non-determinism.
NP-hardness and PSPACE membership for angelic non-determinism.
Expectation problem is solvable in 2EXPTIME, PSPACE-hard even for deterministic programs.
Abstract
In this paper, we consider termination of probabilistic programs with real-valued variables. The questions concerned are: 1. qualitative ones that ask (i) whether the program terminates with probability 1 (almost-sure termination) and (ii) whether the expected termination time is finite (finite termination); 2. quantitative ones that ask (i) to approximate the expected termination time (expectation problem) and (ii) to compute a bound B such that the probability to terminate after B steps decreases exponentially (concentration problem). To solve these questions, we utilize the notion of ranking supermartingales which is a powerful approach for proving termination of probabilistic programs. In detail, we focus on algorithmic synthesis of linear ranking-supermartingales over affine probabilistic programs (APP's) with both angelic and demonic non-determinism. An important subclass of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
