Semantics of Higher-Order Probabilistic Programs with Conditioning

被引:9
|
作者
Dahlqvist, Fredrik [1 ,2 ]
Kozen, Dexter [3 ]
机构
[1] UCL, Comp Sci, London, England
[2] Imperial Coll London, Elect & Elect Engn, London, England
[3] Cornell Univ, Comp Sci, Ithaca, NY USA
基金
英国工程与自然科学研究理事会; 美国国家科学基金会;
关键词
Probabilistic programming; semantics; type system; TENSOR-PRODUCTS;
D O I
10.1145/3371125
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页数:29
相关论文
共 50 条
  • [31] Equivalence of two fixed-point semantics for definitional higher-order logic programs
    Charalambidis, Angelos
    Rondogiannis, Panos
    Symeonidou, Ioanna
    [J]. THEORETICAL COMPUTER SCIENCE, 2017, 668 : 27 - 42
  • [32] Editorial: Higher-Order Conditioning: Beyond Classical Conditioning
    Busquets-Garcia, Arnau
    Holmes, Nathan M.
    [J]. FRONTIERS IN BEHAVIORAL NEUROSCIENCE, 2022, 16
  • [33] A PROBABILISTIC HIGHER-ORDER FIXPOINT LOGIC
    Mitani, Yo
    Kobayashi, Naoki
    Tsukada, Takeshi
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 17 (04)
  • [34] A denotational semantics of Simulink with higher-order UTP
    Xu, Xiong
    Zhan, Bohua
    Wang, Shuling
    Talpin, Jean-Pierre
    Zhan, Naijun
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2023, 130
  • [35] TOPOS SEMANTICS FOR HIGHER-ORDER MODAL LOGIC
    Awodey, Steve
    Kishida, Kohei
    Kotzsch, Hans-Christoph
    [J]. LOGIQUE ET ANALYSE, 2014, (228) : 591 - 636
  • [36] AN ALGEBRAIC SEMANTICS OF HIGHER-ORDER TYPES WITH SUBTYPES
    QIAN, ZY
    [J]. ACTA INFORMATICA, 1993, 30 (06) : 569 - 607
  • [37] Towards a Higher-Order Mathematical Operational Semantics
    Goncharov, Sergey
    Milius, Stefan
    Schroeder, Lutz
    Tsampas, Stelios
    Urbat, Henning
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL): : 632 - 658
  • [38] A REDUCTION SEMANTICS FOR IMPERATIVE HIGHER-ORDER LANGUAGES
    FELLEISEN, M
    FRIEDMAN, DP
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1987, 259 : 206 - 223
  • [39] A typed semantics of higher-order store and subtyping
    Schwinghammer, J
    [J]. THEORETICAL COMPUTER SCIENCE, PROCEEDINGS, 2005, 3701 : 390 - 405
  • [40] Typed operational semantics for higher-order subtyping
    Compagnoni, A
    Goguen, H
    [J]. INFORMATION AND COMPUTATION, 2003, 184 (02) : 242 - 297