Positive Almost-Sure Termination -- Complexity and Proof Rules
Rupak Majumdar, V.R. Sathiyanarayana

TL;DR
This paper investigates the complexity of positive almost-sure termination in probabilistic programs, establishing its high logical complexity and providing proof rules that involve transfinite ordinals, highlighting the limits of current techniques.
Contribution
It proves that positive almost-sure termination is co-analytic complete and develops a normal form and proof rules involving transfinite ordinals for reasoning about it.
Findings
PAST is co-analytic complete ($oldsymbol{ ext{Pi}}^1_1$-complete)
Normal form programs have probabilistic choices with probability 1/2
Reasoning about PAST requires transfinite ordinals up to $ ext{omega}^{CK}_1$
Abstract
We study the recursion-theoretic complexity of Positive Almost-Sure Termination () in an imperative programming language with rational variables, bounded nondeterministic choice, and discrete probabilistic choice. A program terminates positive almost-surely if, for every scheduler, the program terminates almost-surely and the expected runtime to termination is finite. We show that for our language is complete for the (lightface) co-analytic sets (-complete). This is in contrast to the related notions of Almost-Sure Termination () and Bounded Termination (), both of which are arithmetical ( and complete respectively). Our upper bound implies an effective procedure to reduce reasoning about probabilistic termination to non-probabilistic fair termination in a model with bounded nondeterminism, and…
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
TopicsComputability, Logic, AI Algorithms · Logic, Reasoning, and Knowledge · Logic, programming, and type systems
