Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.8), p. 710 — 2‖μ − π‖²_TV ≤ Ent_π(μ) ≤ ‖μ − π‖_TV + ½‖(μ/π) − 1‖²_{π,2}

Proved
LogSobolevMC.Entropy.eq_2_8

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pinsker-inequalityrelative-entropytotal-variation

Let π\piπ and μ\muμ be probability measures on a finite set X\mathcal XX, with π(x)>0\pi(x)>0π(x)>0 for all xxx. Write ∥μ−π∥TV=sup⁡A⊂X∣μ(A)−π(A)∣\|\mu-\pi\|_{TV}=\sup_{A\subset\mathcal X}|\mu(A)-\pi(A)|∥μ−π∥TV​=supA⊂X​∣μ(A)−π(A)∣ for the total variation distance, Entπ(μ)=∑xμ(x)log⁡μ(x)π(x)\mathrm{Ent}_\pi(\mu)=\sum_x\mu(x)\log\frac{\mu(x)}{\pi(x)}Entπ​(μ)=∑x​μ(x)logπ(x)μ(x)​ for the relative entropy, and ∥g∥π,2=(∑x∣g(x)∣2π(x))1/2\|g\|_{\pi,2}=\big(\sum_x|g(x)|^2\pi(x)\big)^{1/2}∥g∥π,2​=(∑x​∣g(x)∣2π(x))1/2. Then

2∥μ−π∥TV2 ≤ Entπ(μ) ≤ ∥μ−π∥TV+12∥μπ−1∥π,22.2\|\mu-\pi\|_{TV}^2\ \le\ \mathrm{Ent}_\pi(\mu)\ \le\ \|\mu-\pi\|_{TV}+\tfrac12\Big\|\frac{\mu}{\pi}-1\Big\|_{\pi,2}^2.2∥μ−π∥TV2​ ≤ Entπ​(μ) ≤ ∥μ−π∥TV​+21​​πμ​−1​π,22​.

The lower bound is Pinsker's inequality; it converts entropy bounds, such as those given by the log-Sobolev constant, into total variation bounds. The upper bound compares entropy with the chi-square distance.

Formalization Note No Markov chain is involved; π\piπ only needs to be a positive probability. Terms with μ(x)=0\mu(x)=0μ(x)=0 in the entropy are 000 (Lean's Real.log 0 = 0). The total variation distance is the published MarkovMixing.tvDist, a supremum over the finitely many subsets.

Preamble
import Mathlib
import Definitions.Def_mm_basic
import Definitions.Def_mm_mixing
import Definitions.Def_mm_continuous
import Definitions.Def_LogSobolevMC_Entropy_Setting
Formal statement
namespace LogSobolevMC.Entropy

theorem eq_2_8 {V : Type*} [Fintype V] [DecidableEq V]
    (π : V → ℝ) (hπ : MarkovMixing.IsDist π) (hπpos : ∀ x, 0 < π x)
    (μ : V → ℝ) (hμ : MarkovMixing.IsDist μ) :
    2 * MarkovMixing.tvDist μ π ^ 2 ≤ relEnt π μ ∧
      relEnt π μ ≤
        MarkovMixing.tvDist μ π + 1 / 2 * LogSobolevMC.ChiSquare.lpNorm π 2 (fun x => μ x / π x - 1) ^ 2 := by sorry

end LogSobolevMC.Entropy
Source
Diaconis and Saloff-Coste, Logarithmic Sobolev inequalities for finite Markov chains, Ann. Appl. Probab. 6 (1996), p. 710, §2.4, (2.8)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me