{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,24]],"date-time":"2026-09-24T14:45:14Z","timestamp":1790261114422,"version":"4.1.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T00:00:00Z","timestamp":1609718400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2021,1,4]]},"abstract":"<jats:p>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 the \u03bd-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 \u2018off-the-shelf\u2019 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 \u03bd-calculus.<\/jats:p>","DOI":"10.1145\/3434292","type":"journal-article","created":{"date-parts":[[2021,1,4]],"date-time":"2021-01-04T12:34:24Z","timestamp":1609763664000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":10,"title":["Probabilistic programming semantics for name generation"],"prefix":"10.1145","volume":"5","author":[{"given":"Marcin","family":"Sabok","sequence":"first","affiliation":[{"name":"McGill University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sam","family":"Staton","sequence":"additional","affiliation":[{"name":"University of Oxford, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dario","family":"Stein","sequence":"additional","affiliation":[{"name":"University of Oxford, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michael","family":"Wolman","sequence":"additional","affiliation":[{"name":"McGill University, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,1,4]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2004.1319609"},{"key":"e_1_2_1_2_1","doi-asserted-by":"crossref","unstructured":"Robert J. Aumann. 1961. Borel structures for function spaces. Illinois Journal of Mathematics 5 ( 1961 ).","DOI":"10.1215\/ijm\/1255631584"},{"key":"e_1_2_1_3_1","volume-title":"Proc. LICS","author":"Bacci Giorgio","year":"2018","unstructured":"Giorgio Bacci, Robert Furber, Dexter Kozen, Radu Mardare, Prakash Panangaden, and Dana Scott. 2018. Boolean-valued semantics for stochastic lambda-calculus. In Proc. LICS 2018."},{"key":"e_1_2_1_4_1","unstructured":"Nick Benton and Vasileios Koutavas. 2008. A Mechanized Bisimulation for the Nu-Calculus. Technical Report MSR-TR-2008-129. Microsoft Research."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009852"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371125"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2019.8785663"},{"key":"e_1_2_1_8_1","volume-title":"Proc. POPL","author":"Ehrhard Thomas","year":"2018","unstructured":"Thomas Ehrhard, Michele Pagani, and Christine Tasson. 2018. Measurable cones and stable, measurable functions. In Proc. POPL 2018."},{"key":"e_1_2_1_9_1","first-page":"309","article-title":"Probabilistic coherence spaces are fully abstract for probabilistic PCF","volume":"2014","author":"Ehrhard Thomas","year":"2014","unstructured":"Thomas Ehrhard, Charistine Tasson, and Michele Pagani. 2014. Probabilistic coherence spaces are fully abstract for probabilistic PCF. In Proc. POPL 2014. 309-320.","journal-title":"Proc. POPL"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2009.07.092"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.aim.2020.107239"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386006"},{"key":"e_1_2_1_13_1","series-title":"Lecture Notes in Mathematics","volume-title":"Categorical Aspects of Topology and Analysis","author":"Giry Mich\u00e8le","unstructured":"Mich\u00e8le Giry. 1982. A categorical approach to probability theory. In Categorical Aspects of Topology and Analysis. Lecture Notes in Mathematics, Vol. 915. Springer, 68-85."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/3329995.3330072"},{"key":"e_1_2_1_15_1","unstructured":"Daniel Huang Greg Morrisett and Bas Spitters. 2018. An application of computable distributions to the semantics of probabilistic programs. arxiv:1806.07966."},{"key":"e_1_2_1_16_1","volume-title":"Proc. LICS","author":"Jefrey A.","year":"1999","unstructured":"A. Jefrey and J. Rathke. 1999. Towards a theory of bisimulation for local names. In Proc. LICS 1999."},{"key":"e_1_2_1_17_1","doi-asserted-by":"crossref","unstructured":"Paul Jung Jiho Lee Sam Staton and Hongseok Yang. 2020. A generalization of hierarchical exchangeability on trees to directed acyclic graphs. Annales Henri Lebesgue ( 2020 ). to appear.","DOI":"10.5802\/ahl.74"},{"key":"e_1_2_1_18_1","volume-title":"Foundations of Modern Probability","author":"Kallenberg Olav","unstructured":"Olav Kallenberg. 2002. Foundations of Modern Probability. Springer, New York."},{"key":"e_1_2_1_19_1","first-page":"349","article-title":"Algebraic foundations for efect-dependent optimisations","volume":"2012","author":"Kammar Ohad","year":"2012","unstructured":"Ohad Kammar and Gordon D. Plotkin. 2012. Algebraic foundations for efect-dependent optimisations. In Proc. POPL 2012. 349-360.","journal-title":"Proc. POPL"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4612-4190-4"},{"key":"e_1_2_1_21_1","doi-asserted-by":"crossref","unstructured":"Anders Kock. 2011. Commutative monads as a theory of distributions. Theory and Applications of Categories 26 (Aug. 2011 ).","DOI":"10.70930\/tac\/tflc3s2u"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(81)90036-2"},{"key":"e_1_2_1_23_1","volume-title":"Proc. MFPS","author":"Lago Ugo Dal","year":"2019","unstructured":"Ugo Dal Lago and Francesco Gavazzo. 2019. On bisimilarity in lambda calculi with continuous probabilistic choice. Electron. Notes Theoret. Comput. Sci. 347 ( 2019 ), 121-141. Proc. MFPS 2019."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-24727-2_21"},{"key":"e_1_2_1_25_1","unstructured":"J Lambek and P J Scott. 1988. Introduction to higher order categorical logic. CUP."},{"key":"e_1_2_1_26_1","volume-title":"Proc. ACM Program. Lang. 4, POPL, Article 19 (","author":"Lew Alexander K.","year":"2019","unstructured":"Alexander K. Lew, Marco F. Cusumano-Towner, Benjamin Sherman, Michael Carbin, and Vikash K. Mansinghka. 2019. Trace types and denotational semantics for sound programmable inference in probabilistic languages. Proc. ACM Program. Lang. 4, POPL, Article 19 ( Dec. 2019 )."},{"key":"e_1_2_1_27_1","unstructured":"Robin Milner. 1999. Communicating and mobile systems-the Pi-calculus. CUP."},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"Eugenio Moggi. 1991. Notions of computation and monads. Inform. Comput. 93 1 ( 1991 ) 55-92.","DOI":"10.1016\/0890-5401(91)90052-4"},{"key":"e_1_2_1_29_1","volume-title":"Murawski and Nikos Tzevelekos","author":"Andrzej","year":"2016","unstructured":"Andrzej S. Murawski and Nikos Tzevelekos. 2016. Nominal game semantics. Found. Trends Program. Lang. ( 2016 )."},{"key":"e_1_2_1_30_1","volume-title":"Sch\u00f6n","author":"Murray Lawrence M.","year":"2018","unstructured":"Lawrence M. Murray and Thomas B. Sch\u00f6n. 2018. Automated learning with a probabilistic programming language: Birch. Annual Reviews in Control 46 ( 2018 ), 29-43."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1609\/aaai.v28i1.9060"},{"key":"e_1_2_1_32_1","first-page":"48","article-title":"A Functional Theory of Local Names","volume":"1994","author":"Odersky Martin","year":"1994","unstructured":"Martin Odersky. 1994. A Functional Theory of Local Names. In Proc. POPL 1994. 48-59.","journal-title":"Proc. POPL"},{"key":"e_1_2_1_33_1","volume-title":"Roy","author":"Orbanz Peter","year":"2015","unstructured":"Peter Orbanz and Daniel M. Roy. 2015. Bayesian models of graphs, arrays and other exchangeable random structures. IEEE Trans. Pattern Anal. Mach. Intell. 2 ( 2015 ), 437-461."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2018.11.016"},{"key":"e_1_2_1_35_1","volume-title":"disintegrations, and Bayesian inversion in quantum Markov categories. arXiv","author":"Parzygnat Arthur J.","year":"2001","unstructured":"Arthur J. Parzygnat. 2020. Inverses, disintegrations, and Bayesian inversion in quantum Markov categories. arXiv: 2001.08375."},{"key":"e_1_2_1_36_1","unstructured":"Evan Patterson. 2020. The algebra and machine representation of statistical models. Ph.D. Dissertation. Stanford University Department of Statistics."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781139084673"},{"key":"e_1_2_1_38_1","volume-title":"Proc. MFCS 1993 (Lecture Notes in Computer Science). 122-141","author":"Andrew","unstructured":"Andrew M. Pitts and Ian Stark. 1993. Observable properties of higher order functions that dynamically create local names, or: What's new?. In Proc. MFCS 1993 (Lecture Notes in Computer Science). 122-141."},{"key":"e_1_2_1_39_1","unstructured":"G. D. Plotkin. 1973. Lambda-definability and logical relations. Technical Report SAI-RM-4. School of A.I. Univ.of Edinburgh."},{"key":"e_1_2_1_40_1","doi-asserted-by":"crossref","unstructured":"David Pollard. 2001. A users' guide to measure-theoretic probability. CUP.","DOI":"10.1017\/CBO9780511811555"},{"key":"e_1_2_1_41_1","volume-title":"Proc. ICML Workshop on Nonparametric Bayes.","author":"Roy Daniel","year":"2008","unstructured":"Daniel Roy, Vikash Mansinghka, Noah Goodman, and Josh Tenenbaum. 2008. A stochastic programming perspective on nonparametric Bayes. In Proc. ICML Workshop on Nonparametric Bayes."},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290351"},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the ACM on Programming Languages 2 (","author":"\u015acibior Adam","year":"2017","unstructured":"Adam \u015acibior, Ohad Kammar, Matthijs V\u00e1k\u00e1r, Sam Staton, Hongseok Yang, Yufei Cai, Klaus Ostermann, Sean Moss, Chris Heunen, and Zoubin Ghahramani. 2017. Denotational validation of higher-order Bayesian inference. Proceedings of the ACM on Programming Languages 2 ( Nov. 2017 )."},{"key":"e_1_2_1_44_1","volume-title":"Categorical stochastic processes and likelihood. arXiv","author":"Shiebler Dan","year":"2005","unstructured":"Dan Shiebler. 2020. Categorical stochastic processes and likelihood. arXiv: 2005.04735."},{"key":"e_1_2_1_45_1","volume-title":"Proc. CALCO","author":"Simpson Alex","year":"2017","unstructured":"Alex Simpson. 2017. Probability Sheaves and the Giry Monad. In Proc. CALCO 2017."},{"key":"e_1_2_1_46_1","volume-title":"A Course on Borel Sets","author":"Srivastava Shashi M.","unstructured":"Shashi M. Srivastava. 1998. A Course on Borel Sets. Springer, New York."},{"key":"e_1_2_1_47_1","unstructured":"Ian Stark. 1994. Names and Higher-Order Functions. Ph.D. Dissertation. University of Cambridge. Also available as Technical Report 363 University of Cambridge Computer Laboratory."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01806033"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-12032-9_5"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_32"},{"key":"e_1_2_1_51_1","volume-title":"Proc. ICALP","author":"Staton Sam","year":"2018","unstructured":"Sam Staton, Dario Stein, Hongseok Yang, Nathanael L. Ackerman, Cameron E. Freer, and Daniel M. Roy. 2018. The Beta-Bernoulli process and algebraic efects. Proc. ICALP 2018."},{"key":"e_1_2_1_52_1","volume-title":"Proc. PPS","author":"Staton S.","year":"2017","unstructured":"S. Staton, H. Yang, N. L.. Ackerman, C. Freer, and D. Roy. 2017. Exchangeable random process and data abstraction. In Proc. PPS 2017."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2933575.2935313"},{"key":"e_1_2_1_54_1","article-title":"Logical relations for encryption","volume":"11","author":"Sumii Eijiro","year":"2003","unstructured":"Eijiro Sumii and Benjamin C. Pierce. 2003. Logical relations for encryption. J. Comput. Secur. 11, 4 ( 2003 ), 521-554.","journal-title":"J. Comput. Secur."},{"key":"e_1_2_1_55_1","unstructured":"Nikos Tzevelekos. 2008. Nominal game semantics. Ph.D. Dissertation. Oxford University Computing Laboratory."},{"key":"e_1_2_1_56_1","unstructured":"Jan-Willem van de Meent Brooks Paige Hongseok Yang and Frank Wood. 2018. An introduction to probabilistic programming. arxiv:1809.10756."},{"key":"e_1_2_1_57_1","volume-title":"Proc. POPL","author":"Vandenbroucke Alexander","year":"2020","unstructured":"Alexander Vandenbroucke and Tom Schrijvers. 2020. P NK: functional probabilistic NetKAT. In Proc. POPL 2020."},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-45220-1_48"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434292","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3434292","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T07:28:29Z","timestamp":1781854109000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3434292"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,4]]},"references-count":58,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2021,1,4]]}},"alternative-id":["10.1145\/3434292"],"URL":"https:\/\/doi.org\/10.1145\/3434292","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,4]]},"assertion":[{"value":"2021-01-04","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}