Verifying Sampling Algorithms via Distributional Invariants
Abstract: This paper develops a verification framework aimed at establishing the correctness of discrete sampling algorithms. We do so by considering probabilistic programs as distribution transformers. Inspired by recent work on distributional verification of Markov models, we introduce the notion of (inductive) distributional loop invariants for discrete probabilistic programs. These invariants are embedded in a Hoare-like verification framework that includes proof rules for total and partial correctness. To illustrate the applicability of our framework, we prove the correctness of two discrete sampling algorithms: the Fast Dice Roller and the Fast Loaded Dice Roller.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.