Lune

FM2026Top-tier venue

Verifying Sampling Algorithms via Distributional Invariants

Daniel Zilken, Kevin Batz, Joost-Pieter Katoen, Tobias Winkler

2026Year
1Citations

Abstract

Abstract This paper presents a Hoare-like verification framework for discrete probabilistic programs that we apply to two non-trivial sampling algorithms: Lumbroso’s Fast Dice Roller and Saad et al.’s Fast Loaded Dice Roller . These algorithms have previously resisted formal verification due to their probabilistic nature, intricate loop structure, and parametric input. Our approach complements existing proof rules based on inductive distributional invariants, enabling us to verify both total and partial correctness of the two algorithms.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext c621f10c-71cc-4481-9f30-2bbf3b53d7a4

Builds on11

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines