Sound and Complete Proof Rules for Probabilistic Termination
Rupak Majumdar, V.R. Sathiyanarayana

TL;DR
This paper introduces sound and relatively complete proof rules for probabilistic termination, using supermartingales and variants, applicable to programs with nondeterminism and probabilistic choices, advancing the theoretical foundation of program analysis.
Contribution
It provides the first sound and relatively complete proof systems for qualitative and quantitative probabilistic termination using supermartingales, with practical applicability demonstrated.
Findings
Constructed supermartingales from almost-surely terminating programs
Proved soundness and relative completeness of the proof rules
Applied rules to prove termination of a two-dimensional random walker
Abstract
Deciding termination is a fundamental problem in the analysis of probabilistic imperative programs. We consider the qualitative and quantitative probabilistic termination problems for an imperative programming model with discrete probabilistic choice and demonic bounded nondeterminism. The qualitative question asks if the program terminates almost-surely, no matter how nondeterminism is resolved. The quantitative question asks for a bound on the probability of termination. Despite a long and rich literature on the topic, no sound and relatively complete proof systems were known for these problems. In this paper, we provide such sound and relatively complete proof rules for proving qualitative and quantitative termination in the assertion language of arithmetic. Our rules use supermartingales as estimates of the likelihood of a program's evolution and variants as measures of distances to…
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.
Taxonomy
TopicsAdvanced Database Systems and Queries · Bayesian Modeling and Causal Inference · Rough Sets and Fuzzy Logic
