Quantitative Analysis of Assertion Violations in Probabilistic Programs
Jinyi Wang, Yican Sun, Hongfei Fu, Krishnendu Chatterjee, Amir, Kafshdar Goharshady

TL;DR
This paper introduces automated algorithms for deriving tight quantitative bounds on assertion violation probabilities in probabilistic programs, based on new fixed-point theorems and advanced mathematical tools.
Contribution
It presents the first automated methods for lower bounds and complete upper bounds on assertion violations, improving accuracy over prior stochastic invariant approaches.
Findings
Algorithms produce significantly tighter bounds than previous methods.
Successfully handle a wide variety of probabilistic programs.
Provide the first automated lower-bound algorithm for assertion violations.
Abstract
In this work, we consider the fundamental problem of deriving quantitative bounds on the probability that a given assertion is violated in a probabilistic program. We provide automated algorithms that obtain both lower and upper bounds on the assertion violation probability in exponential forms. The main novelty of our approach is that we prove new and dedicated fixed-point theorems which serve as the theoretical basis of our algorithms and enable us to reason about assertion violation bounds in terms of pre and post fixed-point functions. To synthesize such fixed-points, we devise algorithms that utilize a wide range of mathematical tools, including repulsing ranking super-martingales, Hoeffding's lemma, Minkowski decompositions, Jensen's inequality, and convex optimization. On the theoretical side, we provide (i) the first automated algorithm for lower-bounds on assertion violation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Risk and Portfolio Optimization · Bayesian Modeling and Causal Inference
