Arrow Research search
Back to FM

FM 2026

Verifying Sampling Algorithms via Distributional Invariants

Conference Paper Formal Methods · Logic in Computer Science · Theoretical Computer Science

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.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
International Symposium on Formal Methods
Archive span
1987-2026
Indexed papers
90
Paper id
842053270534435996
v2026.09.13