natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
The distribution monad is a monad on Set, whose algebras are convex spaces.
It can be thought of as the finitary prototype of a probability monad.
Let be a set. Define as the set whose elements are functions such that
for only finitely many , and
.
Note that the sum above is finite if one excludes all the zero addenda.
The elements of are called finite distributions or finitely-supported probability measures over .
Given a function , one defines the pushforward as follows. Given , then is the function
(Note that, up to zero addenda, the sum above is again finite.)
Compare with the pushforward of measures.
This makes into an endofunctor on Set.
The unit map maps the element to the function given by
Compare with the Dirac measures and valuations.
The multiplication map maps to the function given by
(Note that, up to zero addenda, the sum above is once again finite.)
The maps and satisfy the usual monad laws. The resulting monad is known as distribution monad, or finitary Giry monad (in analogy with the Giry monad), or convex combination monad, since the elements of can be interpreted as formal convex combinations of elements of .
This can be seen as a discrete, finitary analogue of a probability monad, where one replaces integrals by sums.
The algebras of are convex spaces.
The monad is finitary, and commutative.
The Kleisli morphisms of are (finitary) stochastic maps.
(…)
Giry monad, probabilistic powerdomain?, extended probabilistic powerdomain
Tobias Fritz and Paolo Perrone, Monads, partial evaluations, and rewriting, MFPS 36, 2020 - Section 6. (arXiv)
Bart Jacobs, From probability monads to commutative effectuses, Journal of Logical and Algebraic Methods in Programming 94, 2018.
Tobias Fritz, Convex spaces I: definitions and examples, 2009. (arXiv:0903.5522)
Last revised on May 17, 2020 at 00:32:33. See the history of this page for a list of all contributions to it.