Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 28: Finite alphabet: D<=log(1+TV^2/(2Qmin)); if Q≪P subtract beta2 TV^2 log e/2 for the tightened bound

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.finite_reverse_pinsker

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

prove2quantum

On a finite alphabet of size greater than 1, let QQQ be strictly positive and Qmin⁡=min⁡iQ(i)Q_{\min}=\min_iQ(i)Qmin​=mini​Q(i). Then

D(P∥Q)≤log⁡b(1+∣P−Q∣22Qmin⁡).D(P\|Q)\le\log_b\left(1+\frac{|P-Q|^2}{2Q_{\min}}\right).D(P∥Q)≤logb​(1+2Qmin​∣P−Q∣2​).

If also Q≪PQ\ll PQ≪P, the upper bound tightens by subtracting β2∣P−Q∣2log⁡be/2\beta_2|P-Q|^2\log_b e/2β2​∣P−Q∣2logb​e/2, where β2=min⁡iP(i)/Q(i)\beta_2=\min_iP(i)/Q(i)β2​=mini​P(i)/Q(i). The additional reverse-AC condition belongs only to the tightened bound.

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

/-- Theorem 28: Finite alphabet: D<=log(1+TV^2/(2Qmin)); if Q≪P subtract beta2 TV^2 log e/2 for the tightened bound. Sason--Verdu, arXiv:1508.00335v7, PDF p.50.  -/
theorem finite_reverse_pinsker
    (b : LogBase) (n : ℕ) (hn : 1 < n) (p q : Fin n → ℝ)
    (hp : FiniteProbabilityLaw p) (hq : FiniteProbabilityLaw q) (hqpos : ∀ i, 0 < q i) :
    finiteKL b p q ≤ logB b (1 + finiteTV p q ^ 2 / (2 * minReferenceMass q)) ∧
    ((∀ i, 0 < p i) → finiteKL b p q ≤ logB b (1 + finiteTV p q ^ 2 / (2 * minReferenceMass q)) -
      finiteBeta2 p q * logBaseE b / 2 * finiteTV p q ^ 2) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 50, Theorem 28
Read-back

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

Let b>1b>1b>1, let nnn be a natural number with n≥2n\geq2n≥2, and let p=(pi)i=0n−1p=(p_i)_{i=0}^{n-1}p=(pi​)i=0n−1​ and q=(qi)i=0n−1q=(q_i)_{i=0}^{n-1}q=(qi​)i=0n−1​ be real vectors satisfying pi≥0p_i\geq0pi​≥0, qi≥0q_i\geq0qi​≥0, ∑ipi=∑iqi=1\sum_i p_i=\sum_i q_i=1∑i​pi​=∑i​qi​=1, and qi>0q_i>0qi​>0 for every iii. Put

Lb(t)=ln⁡tln⁡b,cb=1ln⁡b,D=∑ipiLb ⁣(piqi),V=∑i∣pi−qi∣,qmin⁡=min⁡iqi,β=min⁡ipiqi.L_b(t)=\frac{\ln t}{\ln b},\qquad c_b=\frac1{\ln b},\qquad D=\sum_i p_iL_b\!\left(\frac{p_i}{q_i}\right),\qquad V=\sum_i|p_i-q_i|,\qquad q_{\min}=\min_i q_i,\qquad \beta=\min_i\frac{p_i}{q_i}.Lb​(t)=lnblnt​,cb​=lnb1​,D=i∑​pi​Lb​(qi​pi​​),V=i∑​∣pi​−qi​∣,qmin​=imin​qi​,β=imin​qi​pi​​.

Then

D≤Lb ⁣(1+V22qmin⁡),D\leq L_b\!\left(1+\frac{V^2}{2q_{\min}}\right),D≤Lb​(1+2qmin​V2​),

and, if additionally pi>0p_i>0pi​>0 for every iii, then

D≤Lb ⁣(1+V22qmin⁡)−βcb2V2.D\leq L_b\!\left(1+\frac{V^2}{2q_{\min}}\right) -\frac{\beta c_b}{2}V^2.D≤Lb​(1+2qmin​V2​)−2βcb​​V2.

The first inequality permits zero coordinates of ppp; the real logarithm is taken with its total convention ln⁡0=0\ln0=0ln0=0, so such coordinates contribute zero to DDD. The hypotheses include p=qp=qp=q and exclude the empty and one-coordinate cases.

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