Abstract

We study the hardness of deciding probabilistic termination as well as the hardness of approximating expected values (e.g. of program variables) and (co)variances for probabilistic programs. Termination We distinguish two notions of probabilistic termination: Given a program P and an input $$\sigma $$ ... For both of these notions, we also consider their universal variant, i.e. given a program P, does P terminate on all inputs? We show that deciding almost-sure termination as well as deciding its universal variant is $$\varPi ^0_2$$ -complete in the arithmetical hierarchy. Deciding positive almost-sure termination is shown to be $$\varSigma _2^0$$ -complete, whereas its universal variant is $$\varPi _3^0$$ -complete. Expected values Given a probabilistic program P and a random variable f mapping program states to rationals, we show that computing lower and upper bounds on the expected value of f after executing P is $$\varSigma _1^0$$ - and $$\varSigma _2^0$$ -complete, respectively. Deciding whether the expected value equals a given rational value is shown to be $$\varPi ^0_2$$ -complete. Covariances We show that computing upper and lower bounds on the covariance of two random variables is both $$\varSigma _2^0$$ -complete. Deciding whether the covariance equals a given rational value is shown to be in $$\varDelta _3^0$$ . In addition, this problem is shown to be $$\varSigma ^0_2$$ -hard as well as $$\varPi ^0_2$$ -hard and thus a “proper” $$\varDelta _3^0$$ -problem. All hardness results on covariances apply to variances as well.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.