Synthetic topology in Homotopy Type Theory for probabilistic programming

被引:2
作者
Bidlingmaier, Martin E. [1 ]
Faissole, Florian [2 ]
Spitters, Bas [1 ]
机构
[1] Aarhus Univ, Dept Comp Sci, Aarhus, Denmark
[2] Univ Paris Saclay, INRIA, LRI, Gif Sur Yvette, France
关键词
probabilistic programming; categorical semantics; homotopy type theory; topology;
D O I
10.1017/S0960129521000165
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The ALEA Coq library formalizes measure theory based on a variant of the Giry monad on the category of sets. This enables the interpretation of a probabilistic programming language with primitives for sampling from discrete distributions. However, continuous distributions have to be discretized because the corresponding measures cannot be defined on all subsets of their carriers. This paper proposes the use of synthetic topology to model continuous distributions for probabilistic computations in type theory. We study the initial sigma-frame and the corresponding induced topology on arbitrary sets. Based on these intrinsic topologies, we define valuations and lower integrals on sets and prove versions of the Riesz and Fubini theorems. We then show how the Lebesgue valuation, and hence continuous distributions, can be constructed.
引用
收藏
页数:29
相关论文
共 46 条
  • [1] Quotient Inductive-Inductive Types
    Altenkirch, Thorsten
    Capriotti, Paolo
    Dijkstra, Gabe
    Kraus, Nicolai
    Forsberg, Fredrik Nordvall
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, FOSSACS 2018, 2018, 10803 : 293 - 310
  • [2] Partiality, Revisited The Partiality Monad as a Quotient Inductive-Inductive Type
    Altenkirch, Thorsten
    Danielsson, Nils Anders
    Kraus, Nicolai
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2017), 2017, 10203 : 534 - 549
  • [3] Observational Equality, Now!
    Altenkirch, Thorsten
    McBride, Conor
    Swierstra, Wouter
    [J]. PLPV'07: PROCEEDINGS OF THE 2007 WORKSHOP ON PROGRAMMING LANGUAGES MEETS PROGRAM VERIFICATION, 2007, : 57 - 68
  • [4] Anel M, 2020, COMPUTING ENVELOPING
  • [5] Audebaud P, 2006, MPC
  • [6] The HoTT Library A Formalization of Homotopy Type Theory in Coq
    Bauer, Andrej
    Gross, Jason
    Lumsdaine, Peter LeFanu
    Shulman, Michael
    Sozeau, Matthieu
    Spitters, Bas
    [J]. PROCEEDINGS OF THE 6TH ACM SIGPLAN CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, CPP'17, 2017, : 164 - 172
  • [7] Beguelin S. Z, 2010, THESIS ECOLE NATL MI
  • [8] Bridges Douglas, 1987, London Mathematical Society Lecture Note Series, V97
  • [9] Metric Boolean algebras and constructive measure theory
    Coquand, T
    Palmgren, E
    [J]. ARCHIVE FOR MATHEMATICAL LOGIC, 2002, 41 (07) : 687 - 704
  • [10] Coquand T, 2019, CONSTRUCTIVE MATH HI