LeanMachineLearning

InformationTheory.klDiv_restrict_le🔗

Lemma

From the authors

Restricting both measures to a measurable set does not increase the divergence.

Types
  • α : Type u_1mα : MeasurableSpace αA measurable space is a space equipped with a σ-algebra.
Given
  • μ : MeasureTheory.Measure αA measure is defined to be an outer measure that is countably additive on measurable sets, with the additional assumption that the outer measure is the canonical extension of the restricted measure.MeasureTheory.IsFiniteMeasure μA measure μ is called finite if μ univ < ∞.
  • ν : MeasureTheory.Measure αMeasureTheory.IsFiniteMeasure ν
  • s : Set αA set is a collection of elements of some type α.
Assuming
  • hs : MeasurableSet sMeasurableSet s means that s is measurable (in the ambient measure space on α)
Then
klDiv (μ.restrict s) (ν.restrict s)klDiv μ ν
Code
lemma klDiv_restrict_le (hs : MeasurableSet s) :
    klDiv (μ.restrict s) (ν.restrict s) ≤ klDiv μ ν
Proof
by
  rw [← klDiv_restrict_add_restrict_compl (μ := μ) (ν := ν) hs]
  exact le_add_right le_rfl

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10).

Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file · open it in the Lean web editor.

Dependency graph

Nothing to draw. Its statement rests on no other declaration in this project, and names nothing from a package left unaudited — so the graph is this declaration alone. That is the answer, not a missing picture.

Audit surface: 0 project declarations, 10 external constants

✓ Proved: no sorry anywhere in its closure

This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.