mlsanityData to 14 Oct 2026

Does a Program Yield the Right Distribution? Verifying Probabilistic Programs via Generating Functions

arXiv 2205.01449 ↗First posted 3 May 2022cs.LO cs.SCcited by 1

Not on the map. Why?

Abstract (arXiv)

We study discrete probabilistic programs with potentially unbounded looping behaviors over an infinite state space. We present, to the best of our knowledge, the first decidability result for the problem of determining whether such a program generates exactly a specified distribution over its outputs (provided the program terminates almost surely). The class of distributions that can be specified in our formalism consists of standard distributions (geometric, uniform, etc.) and finite convolutions thereof. Our method relies on representing these (possibly infinite-support) distributions as probability generating functions which admit effective arithmetic operations. We have automated our techniques in a tool called prodigy, which supports automatic invariance checking, compositional reasoning of nested loops, and efficient queries on various quantities of to the output distribution, as demonstrated by experiments.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 3 May 2022.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.