Documentation

TauCeti.InformationTheory.KullbackLeibler.Convex

Convexity of relative entropy in its first measure #

For a fixed finite reference measure ρ, relative entropy is convex in the measure being compared to ρ. On its finite-value domain it is strictly convex: mixing two distinct finite measures with positive weights gives strictly less than their weighted entropies. This is the uniqueness mechanism for entropy minimization over convex sets of measures, in particular sets with prescribed marginals.

The statements use Mathlib's finite-measure I-divergence InformationTheory.klDiv, including its mass correction. Neither normalization nor a topology on the measurable carrier is needed. Infinite values are retained in the convexity inequality; strictness requires both endpoint values to be finite. Equality for an interior mixture holds exactly when the measures agree.

For absolutely continuous measures, relative entropy is the integral of InformationTheory.klFun of the Radon–Nikodym density. Strict convexity of this integrand on [0, ∞) forces those densities to agree almost everywhere in the equality case.

Strict convexity also holds quantitatively. The midpoint convexity defect of klFun at two nonnegative reals bounds the square of their distance relative to their sum, and integrating this bound shows that the convexity defect of relative entropy at the midpoint of two measures controls the L¹(ρ) distance of their densities, that is, their total variation distance. This is the estimate that makes a minimizing sequence of an entropy minimization problem over a convex set of measures a Cauchy sequence.

References #

Convexity of relative entropy. For finite measures and nonnegative weights summing to one, the entropy of their mixture against a fixed finite reference is at most the weighted sum of their entropies. This includes infinite endpoint values and zero weights.

theorem TauCeti.klDiv_smul_add_smul_lt {α : Type u_1} [MeasurableSpace α] {μ ν ρ : MeasureTheory.Measure α} {a b : NNReal} [MeasureTheory.IsFiniteMeasure μ] [MeasureTheory.IsFiniteMeasure ν] [MeasureTheory.IsFiniteMeasure ρ] (ha : 0 < a) (hb : 0 < b) (hab : a + b = 1) (hμ : InformationTheory.klDiv μ ρ ≠ ⊤) (hν : InformationTheory.klDiv ν ρ ≠ ⊤) (hne : μ ≠ ν) :

Strict convexity of relative entropy on its finite-value domain. Two distinct finite measures with finite entropy against a finite reference have a strict convexity inequality for every mixture with positive weights. The measures need not have equal mass.

@[simp]

For positive mixture weights and finite endpoint entropies, equality in the entropy convexity inequality holds exactly when the measures are equal.

Relative entropy, read as a real-valued function on its finite-value domain, is strictly convex. This allows the usual StrictConvexOn.eq_of_isMinOn uniqueness theorem to be used.

Quantitative strict convexity #

Quantitative strict convexity of the entropy integrand. The midpoint convexity defect of InformationTheory.klFun at two nonnegative reals bounds the square of their distance, relative to their sum.

Quantitative strict convexity of relative entropy. For finite measures μ, ν and a finite reference ρ, the convexity defect of relative entropy at the midpoint of μ and ν controls the L¹(ρ) distance of their densities: for every scale t ≥ 0, t * ‖dμ/dρ - dν/dρ‖₁ + 2 * klDiv (μ/2 + ν/2) ρ ≤ t² * (μ(univ) + ν(univ)) + klDiv μ ρ + klDiv ν ρ. Choosing t as the square root of the defect bounds the distance by a multiple of that square root. The inequality holds trivially when an endpoint entropy is infinite.