Lexicographic Ranking Supermartingales: An Efficient Approach to Termination of Probabilistic Programs
Sheshansh Agrawal, Krishnendu Chatterjee, Petr Novotn\'y

TL;DR
This paper introduces lexicographic ranking supermartingales as a novel, efficient method for proving almost-sure termination of probabilistic programs with nondeterminism, enabling compositional reasoning and practical synthesis.
Contribution
It extends ranking supermartingales with a lexicographic structure, providing a sound, compositional, and polynomial-time approach for termination analysis of probabilistic programs.
Findings
Lexicographic RSMs are sound for almost-sure termination.
Efficient polynomial-time synthesis for linear arithmetic programs.
Experimental results demonstrate practical effectiveness.
Abstract
Probabilistic programs extend classical imperative programs with real-valued random variables and random branching. The most basic liveness property for such programs is the termination property. The qualitative (aka almost-sure) termination problem given a probabilistic program asks whether the program terminates with probability 1. While ranking functions provide a sound and complete method for non-probabilistic programs, the extension of them to probabilistic programs is achieved via ranking supermartingales (RSMs). While deep theoretical results have been established about RSMs, their application to probabilistic programs with nondeterminism has been limited only to academic examples. For non-probabilistic programs, lexicographic ranking functions provide a compositional and practical approach for termination analysis of real-world programs. In this work we introduce lexicographic…
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
TopicsDecision-Making and Behavioral Economics · Bayesian Modeling and Causal Inference · Risk and Portfolio Optimization
