On the Hardness of Almost-Sure Termination
Abstract: This paper considers the computational hardness of computing expected outcomes and deciding (universal) (positive) almost-sure termination of probabilistic programs. It is shown that computing lower and upper bounds of expected outcomes is $\Sigma_10$- and $\Sigma_20$-complete, respectively. Deciding (universal) almost-sure termination as well as deciding whether the expected outcome of a program equals a given rational value is shown to be $\Pi0_2$-complete. Finally, it is shown that deciding (universal) positive almost-sure termination is $\Sigma_20$-complete ($\Pi_30$-complete).
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.