Semantics of higher-order probabilistic programs with conditioning
Fredrik Dahlqvist, Dexter Kozen
Abstract
We present a denotational semantics for higher-order probabilistic programs in terms of linear operators between Banach spaces. Our semantics is rooted in the classical theory of Banach spaces and their tensor products, but bears similarities with the well-known semantics of higher-order programs a la Scott through the use of ordered Banach spaces which allow definitions in terms of fixed points. Our semantics is a model of intuitionistic linear logic: it is based on a symmetric monoidal closed category of ordered Banach spaces which treats randomness as a linear resource, but by constructing an exponential comonad we can also accommodate non-linear reasoning. We apply our semantics to the verification of the classical Gibbs sampling algorithm.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b7f85cf9-510b-42ad-8c81-5fd318ee7ef2Cited by top-tier papers12
- A Bunched Logic for Conditional IndependenceJialu Bao, Simon Docherty, Justin Hsu, Alexandra SilvaLICS 2021 · 15 citations
- Paradoxes of probabilistic programming: and how to condition on events of measure zero with infinitesimal probabilitiesJules JacobsPOPL 2021 · 7 citations
- Evidential Decision Theory via Partial Markov CategoriesElena Di Lavore, Mario RománLICS 2023 · 7 citations
- Deterministic stream-sampling for probabilistic programming: semantics and verificationFredrik Dahlqvist, Alexandra Silva, William SmithLICS 2023 · 4 citations
- Cones as a model of intuitionistic linear logicThomas EhrhardLICS 2020 · 4 citations
Related papers
- Commutative Monads for Probabilistic Programming LanguagesXiaodong Jia, Bert Lindenhovius, Michael W. Mislove, Vladimir ZamdzhievLICS 2021 · 19 citations
- A Cartesian Closed Category for Random VariablesPietro Di Gianantonio, Abbas EdalatLICS 2024 · 1 citation
- Interpreting De Finetti's Theorem in the Category of Integrable ConesRaphaëlle CrubilléLICS 2026
- Universal Semantics for the Stochastic λ-CalculusPedro H. Azevedo de Amorim, Dexter Kozen, Radu Mardare, Prakash Panangaden et al.LICS 2021 · 5 citations
- Induction and Recursion Principles in a Higher-Order Quantitative Logic for ProbabilityGiorgio Bacci, Rasmus Ejlers MøgelbergLICS 2026
