Expected Runtime Analyis by Program Verification
Cambridge University Press eBooks, pp. 185–220
Abstract
This chapter is concerned with analysing the expected runtime of probabilistic programs by exploiting program verification techniques. We introduce a weakest pre-conditioning framework á la Dijkstra that enables to determine the expected runtime in a compositional manner. Like weakest pre-conditions, it is a reasoning framework at the syntax level of programs. Applications of the weakest pre-conditioning framework include determining the expected runtime of randomised algorithms, as well as determining whether a program is positive almost-surely terminating, i.e., whether the expected number of computation steps until termination is finite for every possible input. For Bayesian networks, a restricted class of probabilistic programs, we show that the expected runtime analysis can be fully automated. In this way, the simulation time under rejection sampling can be determined. This is particularly useful for ill-conditioned inference queries.
Authors 3
-
Benjamin Lucien Kaminski Aachen
Affiliation as printed
RWTH Aachen University
-
Joost-Pieter Katoen Aachen
Affiliation as printed
RWTH Aachen University, Germany
-
Christoph Matheja Aachen
Affiliation as printed
RWTH Aachen University
Cited by 12 stored of 12
12 results
No patents citing this paper on Lens.org (checked 2026-10-06).
References 40
-
W2494065672details pending0citations
-
W3174339754details pending0citations
-
W1980452149details pending0citations
-
W2471272254details pending0citations
-
W2934590381details pending0citations
-
W167444842details pending0citations