paper

Analyzing Expected Outcomes and Almost-Sure Termination of Probabilistic Programs is Hard

arXiv:1410.7225

Abstract

This paper considers the computational hardness of computing expected outcomes and deciding almost-sure termination of probabilistic programs. We show that deciding almost-sure termination and deciding whether the expected outcome of a program equals a given rational value is -complete. Computing lower and upper bounds on the expected outcome is shown to be recursively enumerable and -complete, respectively.