InformationTheory.Probability.SingletonMass
Singleton masses of a measure on a finite type #
Mathlib's MeasureTheory.sum_measureReal_singleton evaluates ∑ b ∈ s, μ.real {b} as
μ.real ↑s for a Finset s. This module records the two specializations used throughout the
library: over a Fintype the singleton masses of a probability measure sum to 1, and the
singleton masses of a pushforward are the sums of the masses over the fibers.
Main statements #
sum_measureReal_singleton_univ_eq_one— the singleton masses of a probability measure on a finite type sum to1.map_real_singleton_fiber_sum— a singleton mass of a pushforward is the sum of the masses over the fiber above that point.
Implementation notes #
The module sits at the bottom of the import DAG — it depends only on Mathlib — so any file needing either identity can import it without pulling in information-theoretic material.
InformationTheory.sum_measureReal_singleton_univ_eq_one
source{γ : Type u_1}
[Fintype γ]
[MeasurableSpace γ]
[MeasurableSingletonClass γ]
(μ : MeasureTheory.Measure γ)
[MeasureTheory.IsProbabilityMeasure μ]
:
Used by
InformationTheory.map_real_singleton_fiber_sum
source{γ : Type u_1}
{δ : Type u_2}
[Fintype γ]
[MeasurableSpace γ]
[MeasurableSingletonClass γ]
[MeasurableSpace δ]
[MeasurableSingletonClass δ]
[DecidableEq δ]
(μ : MeasureTheory.Measure γ)
[MeasureTheory.SigmaFinite μ]
(f : γ → δ)
(hf : Measurable f)
(x : δ)
: