NLA-lib Explorer

InformationTheory.ofReal_two_mul_tvDist_sq_le_klDiv

Library · theorem

Pinsker's inequality: for probability measures, 2\,\mathrm{TV}(\mu, \nu)^2 \le \mathrm{KL}(\mu \,\|\, \nu), stated in ℝ≥0∞ so that it holds also when the divergence is infinite. [Tsybakov2009, Lemma 2.5]; there as \mathrm{TV} \le \sqrt{\mathrm{KL}/2}.

InformationTheory.ofReal_two_mul_tvDist_sq_le_klDiv.{u_1} {α : Type u_1} {mα : MeasurableSpace α}
  (μ ν : Measure α) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] :
  ENNReal.ofReal (2 * InformationTheory.tvDist μ ν ^ 2) ≤ InformationTheory.klDiv μ ν

Full source on GitHub

Import NLAlib.ForMathlib.InformationTheory.TotalVariation.