Abstract
Abstract
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 σ-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.
Publisher
Cambridge University Press (CUP)
Subject
Computer Science Applications,Mathematics (miscellaneous)
Reference46 articles.
1. Audebaud, P. and Paulin-Mohring, C. (2006). Proofs of randomized algorithms in Coq. In: MPC.
2. Continuous Truth I Non-constructive Objects
3. Gilbert, G. (2016). Formalising real numbers in homotopy type theory. In: CPP 2017.
4. A constructive manifestation of the Kleene–Kreisel continuous functionals
5. Notions of computation and monads
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Interval Domain in Homotopy Type Theory;Lecture Notes in Computer Science;2024
2. Semantics of Probabilistic Programs using s-Finite Kernels in Coq;Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs;2023-01-11