InformationTheory

InformationTheory.Probability.SingletonMass

source

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 #

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.

theorem

InformationTheory.sum_measureReal_singleton_univ_eq_one

source
Used by
    theorem

    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 : δ) :
    (MeasureTheory.Measure.map f μ).real {x} = q : γ with f q = x, μ.real {q}
    Used by