English

Inferring Covariances for Probabilistic Programs

Logic in Computer Science 2016-06-28 v1

Abstract

We study weakest precondition reasoning about the (co)variance of outcomes and the variance of run-times of probabilistic programs with conditioning. For outcomes, we show that approximating (co)variances is computationally more difficult than approximating expected values. In particular, we prove that computing both lower and upper bounds for (co)variances is Σ20\Sigma^{0}_{2}-complete. As a consequence, neither lower nor upper bounds are computably enumerable. We therefore present invariant-based techniques that do enable enumeration of both upper and lower bounds, once appropriate invariants are found. Finally, we extend this approach to reasoning about run-time variances.

Keywords

Cite

@article{arxiv.1606.08280,
  title  = {Inferring Covariances for Probabilistic Programs},
  author = {Benjamin Lucien Kaminski and Joost-Pieter Katoen and Christoph Matheja},
  journal= {arXiv preprint arXiv:1606.08280},
  year   = {2016}
}
R2 v1 2026-06-22T14:35:11.718Z