English

Relatively Complete Verification of Probabilistic Programs

Logic in Computer Science 2022-02-01 v2 Programming Languages

Abstract

We study a syntax for specifying quantitative "assertions" - functions mapping program states to numbers - for probabilistic program verification. We prove that our syntax is expressive in the following sense: Given any probabilistic program CC, if a function ff is expressible in our syntax, then the function mapping each initial state σ\sigma to the expected value of ff evaluated in the final states reached after termination of CC on σ\sigma (also called the weakest preexpectation wp[C](f)\textit{wp} [C](f)) is also expressible in our syntax. As a consequence, we obtain a relatively complete verification system for reasoning about expected values and probabilities in the sense of Cook: Apart from proving a single inequality between two functions given by syntactic expressions in our language, given ff, gg, and CC, we can check whether gwp[C](f)g \preceq \textit{wp} [C] (f).

Keywords

Cite

@article{arxiv.2010.14548,
  title  = {Relatively Complete Verification of Probabilistic Programs},
  author = {Kevin Batz and Benjamin Lucien Kaminski and Joost-Pieter Katoen and Christoph Matheja},
  journal= {arXiv preprint arXiv:2010.14548},
  year   = {2022}
}
R2 v1 2026-06-23T19:41:51.537Z