Metraipolis › archive › dc_e192405ae2d5

Type-Directed Discretization of Probabilistic Programs (Extended Version) — arXiv:2608.16093

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.16093
License (as archived)
CC0-1.0
Archived
2026-10-19T00:50:24.672Z
SHA-256 of the archived text
cabb0a754e7d997110776335adc60e912ace9d9d076f4c2016876f4d23d9389e
Stable URL of this page
https://metraipolis.com/documento/dc_e192405ae2d5

How to cite

Type-Directed Discretization of Probabilistic Programs (Extended Version) — arXiv:2608.16093 — arXiv (en), https://arxiv.org/abs/2608.16093 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e192405ae2d5 (Metraipolis archive dc_e192405ae2d5, sha256 cabb0a754e7d997110776335adc60e912ace9d9d076f4c2016876f4d23d9389e)
BibTeX
@misc{dce192405ae2d5,
  title = {Type-Directed Discretization of Probabilistic Programs (Extended Version) — arXiv:2608.16093},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.16093},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e192405ae2d5; sha256 cabb0a754e7d997110776335adc60e912ace9d9d076f4c2016876f4d23d9389e},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16093. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We study exact discretization as a semantics-preserving transformation for recursive, higher-order probabilistic programs with continuous distributions. We target programs where continuous values are compared against finitely many constants, so exact inference reduces to a discrete problem. Our central technical contribution is a non-local, type-directed analysis that infers where continuous values can be partitioned into finitely many observationally relevant regions, then rewrites sampling and comparison behavior over those regions. We call this transformation Slice. Because this construction is global and type-directed, correctness requires reasoning beyond the local syntax: we formalize the transformation and prove soundness for boolean queries using a coupling-style logical relations argument over operational semantics. As an application, transformed programs can be executed by discrete engines such as Dice, Roulette, and Storm. Our empirical evaluation shows two complementary strengths of Slice when paired with discrete backends: it enables exact inference for challenging continuous programs that lie beyond the reach of previous exact systems, and, on benchmarks where direct comparison is possible, it is competitive with state-of-the-art exact inference systems for continuous programs.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-18 in cs.PL).
Categorie arXiv: Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2608.16093 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T23:42:29.855Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).