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
-
W175821084details pending0citations
-
W373407302details pending0citations
-
W594538618details pending0citations
-
W1483568252details pending0citations
-
W1492604325details pending0citations
-
W1555007779details pending0citations
-
W1594335079details pending0citations
-
W1615454278details pending0citations
-
W1868131566details pending0citations
-
W1964053266details pending0citations
-
W1999432334details pending0citations
-
W1999835727details pending0citations
-
W2171923734details pending0citations
-
W2233431969details pending0citations
-
W2296309018details pending0citations
-
W2611370172details pending0citations
-
W3201444869details pending0citations
-
W4211127408details pending0citations
-
W4238203955details pending0citations
-
W4240949783details pending0citations