Probabilistic Programming Semantics for Name Generation
Programming Languages
2020-12-22 v3 Logic in Computer Science
Logic
Abstract
We make a formal analogy between random sampling and fresh name generation. We show that quasi-Borel spaces, a model for probabilistic programming, can soundly interpret Stark's -calculus, a calculus for name generation. Moreover, we prove that this semantics is fully abstract up to first-order types. This is surprising for an 'off-the-shelf' model, and requires a novel analysis of probability distributions on function spaces. Our tools are diverse and include descriptive set theory and normal forms for the -calculus.
Keywords
Cite
@article{arxiv.2007.08638,
title = {Probabilistic Programming Semantics for Name Generation},
author = {Marcin Sabok and Sam Staton and Dario Stein and Michael Wolman},
journal= {arXiv preprint arXiv:2007.08638},
year = {2020}
}
Comments
29 pages, 1 figure; to be published in POPL 2021