Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.3, p. 722 — for f ≥ 0 with ‖f‖₂ = 1 and μ = f²π, ℒ(f) = Ent_π(μ)

Proved
LogSobolevMC.Entropy.entL_eq_relEnt

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

log-sobolev-inequalityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1relative-entropy

Let π\piπ be a probability on a finite set X\mathcal XX with π(x)>0\pi(x)>0π(x)>0 for all xxx. Let f≥0f\ge0f≥0 be a function with ∥f∥2=(∑xf(x)2π(x))1/2=1\|f\|_2=\big(\sum_x f(x)^2\pi(x)\big)^{1/2}=1∥f∥2​=(∑x​f(x)2π(x))1/2=1, and let μ=f2π\mu=f^2\piμ=f2π, the probability measure μ(x)=f(x)2π(x)\mu(x)=f(x)^2\pi(x)μ(x)=f(x)2π(x). Then

L(f)=∑x∣f(x)∣2log⁡∣f(x)∣2∥f∥22 π(x)=Entπ(μ)=∑xμ(x)log⁡μ(x)π(x).\mathcal L(f)=\sum_x |f(x)|^2\log\frac{|f(x)|^2}{\|f\|_2^2}\,\pi(x)=\mathrm{Ent}_\pi(\mu)=\sum_x\mu(x)\log\frac{\mu(x)}{\pi(x)}.L(f)=x∑​∣f(x)∣2log∥f∥22​∣f(x)∣2​π(x)=Entπ​(μ)=x∑​μ(x)logπ(x)μ(x)​.

This identity is what makes the log-Sobolev constant α\alphaα a rate for relative entropy: applied to f=hf=\sqrt{h}f=h​ for a density hhh, it turns L(h)≤α−1E(h,h)\mathcal L(\sqrt h)\le\alpha^{-1}\mathcal E(\sqrt h,\sqrt h)L(h​)≤α−1E(h​,h​) into a bound on Entπ(hπ)\mathrm{Ent}_\pi(h\pi)Entπ​(hπ).

Formalization Note Terms with f(x)=0f(x)=0f(x)=0 are 000 on both sides (Lean's Real.log 0 = 0, the convention 0log⁡0=00\log0=00log0=0).

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

theorem entL_eq_relEnt {V : Type*} [Fintype V] [DecidableEq V]
    (π : V → ℝ) (hπ : MarkovMixing.IsDist π) (hπpos : ∀ x, 0 < π x)
    (f : V → ℝ) (hf : ∀ x, 0 ≤ f x) (hf2 : LogSobolevMC.ChiSquare.lpNorm π 2 f = 1) :
    LogSobolevMC.ChiSquare.entL π f = relEnt π (fun x => f x ^ 2 * π x) := by sorry

end LogSobolevMC.Entropy
Source
Diaconis and Saloff-Coste, Logarithmic Sobolev inequalities for finite Markov chains, Ann. Appl. Probab. 6 (1996), p. 722, §3.3, first paragraph
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