Lune

LICS2024Top-tier venue

A Cartesian Closed Category for Random Variables

Pietro Di Gianantonio, Abbas Edalat

Abstract

We present a novel, yet rather simple construction within the traditional framework of Scott domains to provide semantics to probabilistic programming, thus obtaining a solution to a long-standing open problem in this area. We work with the Scott domain of random variables from a standard and fixed probability space---the unit interval or the Cantor space---to any given Scott domain. The map taking any such random variable to its corresponding probability distribution provides a Scott continuous surjection onto the probabilistic power domain of the underlying Scott domain, which preserving canonical basis elements, establishing a new basic result in classical domain theory. If the underlying Scott domain is effectively given, then this map is also computable. We obtain a Cartesian closed category by enriching the category of Scott domains by a partial equivalence relation to capture the equivalence of random variables on these domains. The constructor of the domain of random variables on this category, with the two standard probability spaces, leads to four basic strong commutative monads, suitable for defining the semantics of probabilistic programming.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compositional Imprecise Probability: A Solution from Graded Monads and Markov Categories cites Commutative Monads for Probabilistic Programming Languages
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Compositional Imprecise Probability: A Solution from Graded Monads and Markov CategoriesJack Liell-Cock, Sam StatonPOPL 2025 · 3 citations
  2. A Convenient Fibration for Dependently-Typed Probability TheoryDanel Ahman, Ohad Kammar, Rasmus Ejlers MøgelbergLICS 2026

Builds on2

  1. Commutative Monads for Probabilistic Programming LanguagesXiaodong Jia, Bert Lindenhovius, Michael W. Mislove, Vladimir ZamdzhievLICS 2021 · 19 citations
  2. ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable ProgramsMathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam StatonLICS 2023 · 5 citations

Related papers

  1. Compositional Semantics for Probabilistic Programs with Exact ConditioningDario Stein, Sam StatonLICS 2021 · 18 citations
  2. Semantics for variational Quantum programmingXiaodong Jia, Andre Kornell, Bert Lindenhovius, Michael W. Mislove et al.POPL 2022 · 15 citations
  3. Probabilistic Programming Interfaces for Random Graphs: Markov Categories, Graphons, and Nominal SetsNathanael L. Ackerman, Cameron E. Freer, Younesse Kaddar, Jacek Karwowski et al.POPL 2024 · 3 citations
  4. Combining probabilistic and non-deterministic choice via weak distributive lawsAlexandre Goy, Daniela PetrisanLICS 2020 · 30 citations
  5. Semantics of higher-order probabilistic programs with conditioningFredrik Dahlqvist, Dexter KozenPOPL 2020 · 35 citations
Dusk over the sea between two cliffs drawn in fine vertical lines