Computing Expected Runtimes for Constant Probability Programs

05/23/2019
by   Jürgen Giesl, et al.
0

We introduce the class of constant probability (CP) programs and show that classical results from probability theory directly yield a simple decision procedure for (positive) almost sure termination of programs in this class. Moreover, asymptotically tight bounds on their expected runtime can always be computed easily. Based on this, we present an algorithm to infer the exact expected runtime of any CP program.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset