The Giry monad #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
Let X be a measurable space. The collection of all measures on X again forms a measurable space. This construction forms a monad on measurable spaces and measurable functions, called the Giry monad.
Note that most sources use the term "Giry monad" for the restriction to probability measures. Here we include all measures on X.
See also measure_theory/category/Meas.lean
, containing an upgrade of the type-level
monad to an honest monad of the functor Measure : Meas ⥤ Meas
.
References #
Tags #
giry monad
Measurability structure on measure
: Measures are measurable w.r.t. all projections
Equations
- measure_theory.measure.measurable_space = ⨆ (s : set α) (hs : measurable_set s), measurable_space.comap (λ (μ : measure_theory.measure α), ⇑μ s) (borel ennreal)
Monadic join on measure
in the category of measurable spaces and measurable
functions.
Equations
- m.join = measure_theory.measure.of_measurable (λ (s : set α) (hs : measurable_set s), ∫⁻ (μ : measure_theory.measure α), ⇑μ s ∂m) _ _
Monadic bind on measure
, only works in the category of measurable spaces and measurable
functions. When the function f
is not measurable the result is not well defined.
Equations
- m.bind f = (measure_theory.measure.map f m).join