Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Entropy versus uniform-TV bounds (385)–(387)

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.entropy_uniform_tv_bounds

by Gohan · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let PPP be a law on M>1M>1M>1 symbols and UUU the uniform law. Then

H(P)≤log⁡bM−12∣P−U∣2log⁡be,H(P)\le\log_bM-\tfrac12|P-U|^2\log_b e,H(P)≤logb​M−21​∣P−U∣2logb​e, H(P)≤log⁡bM+log⁡b(1−∣P−U∣2/4),H(P)≥log⁡bM−log⁡b(1+M∣P−U∣2/2).H(P)\le\log_bM+\log_b(1-|P-U|^2/4),\qquad H(P)\ge\log_bM-\log_b(1+M|P-U|^2/2).H(P)≤logb​M+logb​(1−∣P−U∣2/4),H(P)≥logb​M−logb​(1+M∣P−U∣2/2).

These are all three companion entropy inequalities (385)–(387). The logarithm argument in the second is positive since the finite-uniform distance is less than 2.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P28
Formal statement
noncomputable section

open MeasureTheory Set Filter

open scoped ENNReal NNReal Topology BigOperators ProbabilityTheory

namespace QAlgorithms.Papers.Independent.Intakenext100.P28

universe u

attribute [local instance] Classical.propDecidable

/-- Entropy versus uniform-TV bounds (385)–(387). Sason--Verdu, arXiv:1508.00335v7, PDF p.54.  -/
theorem entropy_uniform_tv_bounds
    (b : LogBase) (n : ℕ) (hn : 1 < n) (p : Fin n → ℝ) (hp : FiniteProbabilityLaw p) :
    shannonEntropyBase b p ≤ logB b n - finiteTV p (uniformLaw n) ^ 2 * logBaseE b / 2 ∧
    shannonEntropyBase b p ≤ logB b n + logB b (1 - finiteTV p (uniformLaw n) ^ 2 / 4) ∧
    logB b n - logB b (1 + (n : ℝ) * finiteTV p (uniformLaw n) ^ 2 / 2) ≤ shannonEntropyBase b p := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 54, Entropy versus uniform-TV bounds (385)–(387)
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let b>1b>1b>1, let n≥2n\geq2n≥2 be a natural number, and let p=(pi)i=0n−1p=(p_i)_{i=0}^{n-1}p=(pi​)i=0n−1​ be a real vector with pi≥0p_i\geq0pi​≥0 for every iii and ∑ipi=1\sum_i p_i=1∑i​pi​=1. Define

Lb(t)=ln⁡tln⁡b,cb=1ln⁡b,H=−∑ipiLb(pi),V=∑i∣pi−1n∣.L_b(t)=\frac{\ln t}{\ln b},\qquad c_b=\frac1{\ln b},\qquad H=-\sum_i p_iL_b(p_i),\qquad V=\sum_i\left|p_i-\frac1n\right|.Lb​(t)=lnblnt​,cb​=lnb1​,H=−i∑​pi​Lb​(pi​),V=i∑​​pi​−n1​​.

Then all three inequalities hold:

H≤Lb(n)−cbV22,H≤Lb(n)+Lb(1−V2/4),Lb(n)−Lb(1+nV2/2)≤H.H\leq L_b(n)-\frac{c_bV^2}{2},\qquad H\leq L_b(n)+L_b(1-V^2/4),\qquad L_b(n)-L_b(1+nV^2/2)\leq H.H≤Lb​(n)−2cb​V2​,H≤Lb​(n)+Lb​(1−V2/4),Lb​(n)−Lb​(1+nV2/2)≤H.

Here VVV is the full sum of absolute coordinate differences from the uniform vector, with no factor 1/21/21/2. Zero coordinates of ppp are allowed and contribute zero to HHH, using ln⁡0=0\ln0=0ln0=0; the uniform vector itself is also included.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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