Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remarks 52–54: sharp coefficients and binary limiting comparisons

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.renyi_kl_sharpness_and_limits

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

prove2quantum

The endpoint coefficients uα(β1−1)u_\alpha(\beta_1^{-1})uα​(β1−1​) and uα(β2)u_\alpha(\beta_2)uα​(β2​) in Theorem 38 are best possible for fixed exact density bounds; equivalently the corresponding KL/Hellinger endpoint comparisons are sharp. For the binary family P(0)=1/2P(0)=1/2P(0)=1/2, Qε(0)=1/2−εQ_\varepsilon(0)=1/2-\varepsilonQε​(0)=1/2−ε, the ratio of the complete upper to lower bounds tends to 1 as ε↓0\varepsilon\downarrow0ε↓0. For the distinct family P(0)=1/2P(0)=1/2P(0)=1/2, Qε(0)=εQ_\varepsilon(0)=\varepsilonQε​(0)=ε,

lim⁡ε↓0Dαlower bound (512)=αlog⁡2(2/(2−α))∈(1,ln⁡4)(0<α<1),\lim_{\varepsilon\downarrow0}\frac{D_\alpha}{\text{lower bound (512)}} =\frac{\alpha}{\log_2(2/(2-\alpha))}\in(1,\ln4)\quad(0<\alpha<1),ε↓0lim​lower bound (512)Dα​​=log2​(2/(2−α))α​∈(1,ln4)(0<α<1),

while the ratio of DαD_\alphaDα​ to the upper bound (515) tends to 1 for α>1\alpha>1α>1. Both binary families and the right-hand limiting direction are retained. The functions are only used eventually for sufficiently small positive epsilon, where all laws and denominators are valid.

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

/-- Remarks 52–54: sharp coefficients and binary limiting comparisons. Sason--Verdu, arXiv:1508.00335v7, PDF p.72.  -/
theorem renyi_kl_sharpness_and_limits
    (b : LogBase) (a : ℝ) (ha : 0 < a ∧ a ≠ 1) :
    (∀ b1 b2 : ℝ, 0 ≤ b1 → b1 < 1 → 0 ≤ b2 → b2 < 1 →
      (a < 1 → Sharp (kl b) (hellinger a) (exactPairs b1 b2)
        (entropyHellingerKernel b a ((ENNReal.ofReal b1)⁻¹)) ∧
        LowerSharp (kl b) (hellinger a) (exactPairs b1 b2)
          (entropyHellingerKernel b a (ENNReal.ofReal b2))) ∧
      (1 < a → Sharp (kl b) (hellinger a) (exactPairs b1 b2)
        (entropyHellingerKernel b a (ENNReal.ofReal b2)) ∧
        LowerSharp (kl b) (hellinger a) (exactPairs b1 b2)
          (entropyHellingerKernel b a ((ENNReal.ofReal b1)⁻¹)))) ∧
    Tendsto (fun e : ℝ => (renyiUpper b a (binary (1 / 2)) (binary (1 / 2 - e))).toReal /
      (renyiLower b a (binary (1 / 2)) (binary (1 / 2 - e))).toReal)
      (nhdsWithin 0 (Ioi 0)) (𝓝 1) ∧
    (a < 1 → Tendsto (fun e : ℝ => (renyiDiv b a (binary (1 / 2)) (binary e)).toReal /
      (renyiLower b a (binary (1 / 2)) (binary e)).toReal)
      (nhdsWithin 0 (Ioi 0)) (𝓝 (a / (Real.log (2 / (2 - a)) / Real.log 2))) ∧
      1 < a / (Real.log (2 / (2 - a)) / Real.log 2) ∧
      a / (Real.log (2 / (2 - a)) / Real.log 2) < Real.log 4) ∧
    (1 < a → Tendsto (fun e : ℝ => (renyiDiv b a (binary (1 / 2)) (binary e)).toReal /
      (renyiUpper b a (binary (1 / 2)) (binary e)).toReal)
      (nhdsWithin 0 (Ioi 0)) (𝓝 1)) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 72, Remarks 52–54
Read-back

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

Let b>1b>1b>1 and let a>0a>0a>0 be real with a≠1a\ne1a=1. Put cb=1/ln⁡bc_b=1/\ln bcb​=1/lnb, Lb(x)=ln⁡x/ln⁡bL_b(x)=\ln x/\ln bLb​(x)=lnx/lnb, and rb(x)=xLb(x)+(1−x)cbr_b(x)=xL_b(x)+(1-x)c_brb​(x)=xLb​(x)+(1−x)cb​, using the total real logarithm, including ln⁡0=0\ln0=0ln0=0, and total real division, including division by zero equal to zero. Write [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) for a real number regarded as an element of [0,∞][0,\infty][0,∞], and let Π\PiΠ convert an extended real to [0,∞][0,\infty][0,∞] by sending nonpositive values to zero and preserving positive values, including +∞+\infty+∞. Define Lb(t)=cblog⁡t\mathcal L_b(t)=c_b\log tLb​(t)=cb​logt on [0,∞][0,\infty][0,∞], where log⁡0=−∞\log0=-\inftylog0=−∞ and log⁡(+∞)=+∞\log(+\infty)=+\inftylog(+∞)=+∞. For measures P,QP,QP,Q on any measurable space, write ρP,Q=dP/dQ\rho_{P,Q}=dP/dQρP,Q​=dP/dQ, set

Db(P,Q)=[cb]+DKL(P∥Q),U(P,Q)={ess sup⁡QρP,Q,P≪Q,+∞,P≪̸Q,β(P,Q)=(U(P,Q)−1)R,D_b(P,Q)=[c_b]_+D_{\mathrm{KL}}(P\Vert Q),\qquad U(P,Q)= \begin{cases} \operatorname*{ess\,sup}_{Q}\rho_{P,Q},&P\ll Q,\\ +\infty,&P\not\ll Q, \end{cases} \qquad \beta(P,Q)=\bigl(U(P,Q)^{-1}\bigr)_{\mathbb R},Db​(P,Q)=[cb​]+​DKL​(P∥Q),U(P,Q)={esssupQ​ρP,Q​,+∞,​P≪Q,P≪Q,​β(P,Q)=(U(P,Q)−1)R​,

where DKLD_{\mathrm{KL}}DKL​ is usual relative entropy with natural logarithms, the reciprocal is taken in [0,∞][0,\infty][0,∞], and conversion to a real number sends +∞+\infty+∞ to zero. To define the other divergence used in the sharp constants, put ha(x)=(xa−1)/(a−1)h_a(x)=(x^a-1)/(a-1)ha​(x)=(xa−1)/(a−1), z=lim inf⁡t→0+ha(t)z=\liminf_{t\to0^+}h_a(t)z=liminft→0+​ha​(t), w=lim inf⁡t→0+t ha(1/t)w=\liminf_{t\to0^+}t\,h_a(1/t)w=liminft→0+​tha​(1/t), and v(s)=zv(s)=zv(s)=z when s=0s=0s=0, v(s)=ha(s)v(s)=h_a(s)v(s)=ha​(s) otherwise, with z,w,vz,w,vz,w,v valued in the extended reals. With s(x)=(ρP,Q(x))Rs(x)=(\rho_{P,Q}(x))_{\mathbb R}s(x)=(ρP,Q​(x))R​ and PQ⊥P^\perp_QPQ⊥​ the singular part of PPP relative to QQQ, define

Ha(P,Q)=Π ⁣((∫AΠ(v(s(x))) dQ(x)−∫AΠ(−v(s(x))) dQ(x))+wPQ⊥(A)).H_a(P,Q)= \Pi\!\left( \left(\int_A\Pi(v(s(x)))\,dQ(x)-\int_A\Pi(-v(s(x)))\,dQ(x)\right) +wP^\perp_Q(A) \right).Ha​(P,Q)=Π((∫A​Π(v(s(x)))dQ(x)−∫A​Π(−v(s(x)))dQ(x))+wPQ⊥​(A)).

The nonnegative integrals and singular mass in this expression are embedded into the extended reals before arithmetic. Define also the [0,∞][0,\infty][0,∞]-valued function

K(t)={[cb]+,t=0,[cb/a]+,t=1,+∞,t=+∞, a<1,0,t=+∞, a>1,[(1−a)rb(x)1−xa+ax−a]+,0<t<+∞, t≠1, x=tR.K(t)= \begin{cases} [c_b]_+,&t=0,\\ [c_b/a]_+,&t=1,\\ +\infty,&t=+\infty,\ a<1,\\ 0,&t=+\infty,\ a>1,\\ \left[\dfrac{(1-a)r_b(x)}{1-x^a+ax-a}\right]_+, &0<t<+\infty,\ t\ne1,\ x=t_{\mathbb R}. \end{cases}K(t)=⎩⎨⎧​[cb​]+​,[cb​/a]+​,+∞,0,[1−xa+ax−a(1−a)rb​(x)​]+​,​t=0,t=1,t=+∞, a<1,t=+∞, a>1,0<t<+∞, t=1, x=tR​.​

For every pair of real numbers b1,b2b_1,b_2b1​,b2​ with 0≤b1<10\leq b_1<10≤b1​<1 and 0≤b2<10\leq b_2<10≤b2​<1, consider all types AAA in the specified universe, all measurable spaces on AAA, and all probability measures P,QP,QP,Q satisfying exactly β(P,Q)=b1\beta(P,Q)=b_1β(P,Q)=b1​ and β(Q,P)=b2\beta(Q,P)=b_2β(Q,P)=b2​. If a<1a<1a<1, then K([b1]+−1)K([b_1]_+^{-1})K([b1​]+−1​) is the least k∈[0,∞]k\in[0,\infty]k∈[0,∞] for which Db(P,Q)≤kHa(P,Q)D_b(P,Q)\leq kH_a(P,Q)Db​(P,Q)≤kHa​(P,Q) holds for every such pair, and K([b2]+)K([b_2]_+)K([b2​]+​) is the greatest k∈[0,∞]k\in[0,\infty]k∈[0,∞] for which kHa(P,Q)≤Db(P,Q)kH_a(P,Q)\leq D_b(P,Q)kHa​(P,Q)≤Db​(P,Q) holds for every such pair. If a>1a>1a>1, these assertions instead use K([b2]+)K([b_2]_+)K([b2​]+​) as the least upper-bound coefficient and K([b1]+−1)K([b_1]_+^{-1})K([b1​]+−1​) as the greatest lower-bound coefficient. The case b1=0b_1=0b1​=0 uses the argument +∞+\infty+∞ of KKK, and b2=0b_2=0b2​=0 uses its argument 000. For the remaining assertions, define, for each ordered measure pair, D=Db(P,Q)D=D_b(P,Q)D=Db​(P,Q) and

TP,Q(t)=1a−1Lb ⁣(Π ⁣(1+((a−1)K(t)−1)D)),R(P,Q)=1a−1Lb ⁣(∫AρP,Q(x)a dQ(x)),T_{P,Q}(t)=\frac1{a-1}\mathcal L_b\!\left( \Pi\!\left(1+\bigl((a-1)K(t)^{-1}\bigr)D\right)\right),\qquad R(P,Q)=\frac1{a-1}\mathcal L_b\!\left(\int_A\rho_{P,Q}(x)^a\,dQ(x)\right),TP,Q​(t)=a−11​Lb​(Π(1+((a−1)K(t)−1)D)),R(P,Q)=a−11​Lb​(∫A​ρP,Q​(x)adQ(x)),

where K(t)−1K(t)^{-1}K(t)−1 is computed in [0,∞][0,\infty][0,∞] before embedding into the extended reals. Set

L(P,Q)={TP,Q(U(P,Q)),a<1,max⁡{D,TP,Q([β(Q,P)]+)},a>1,V(P,Q)={min⁡{D,TP,Q([β(Q,P)]+)},a<1,min⁡{Lb(U(P,Q)),TP,Q(U(P,Q))},a>1.L(P,Q)= \begin{cases} T_{P,Q}(U(P,Q)),&a<1,\\ \max\{D,T_{P,Q}([\beta(Q,P)]_+)\},&a>1, \end{cases} \quad V(P,Q)= \begin{cases} \min\{D,T_{P,Q}([\beta(Q,P)]_+)\},&a<1,\\ \min\{\mathcal L_b(U(P,Q)),T_{P,Q}(U(P,Q))\},&a>1. \end{cases}L(P,Q)={TP,Q​(U(P,Q)),max{D,TP,Q​([β(Q,P)]+​)},​a<1,a>1,​V(P,Q)={min{D,TP,Q​([β(Q,P)]+​)},min{Lb​(U(P,Q)),TP,Q​(U(P,Q))},​a<1,a>1.​

For every real ppp, let B(p)=[p]+δfalse+[1−p]+δtrueB(p)=[p]_+\delta_{\mathrm{false}}+[1-p]_+\delta_{\mathrm{true}}B(p)=[p]+​δfalse​+[1−p]+​δtrue​, a measure on the Boolean space; this definition is used for all real arguments, not only those in [0,1][0,1][0,1]. Write τ\tauτ for conversion of an extended real to a real number, sending both infinities to zero. The declaration additionally asserts

lim⁡ε→0+τ(V(B(1/2),B(1/2−ε)))τ(L(B(1/2),B(1/2−ε)))=1.\lim_{\varepsilon\to0^+} \frac{\tau(V(B(1/2),B(1/2-\varepsilon)))} {\tau(L(B(1/2),B(1/2-\varepsilon)))}=1.ε→0+lim​τ(L(B(1/2),B(1/2−ε)))τ(V(B(1/2),B(1/2−ε)))​=1.

If a<1a<1a<1, it further asserts

lim⁡ε→0+τ(R(B(1/2),B(ε)))τ(L(B(1/2),B(ε)))=Ca,Ca=aln⁡(2/(2−a))/ln⁡2,1<Ca<ln⁡4.\lim_{\varepsilon\to0^+} \frac{\tau(R(B(1/2),B(\varepsilon)))} {\tau(L(B(1/2),B(\varepsilon)))} = C_a,\qquad C_a=\frac{a}{\ln(2/(2-a))/\ln2},\qquad 1<C_a<\ln4.ε→0+lim​τ(L(B(1/2),B(ε)))τ(R(B(1/2),B(ε)))​=Ca​,Ca​=ln(2/(2−a))/ln2a​,1<Ca​<ln4.

If a>1a>1a>1, it instead further asserts

lim⁡ε→0+τ(R(B(1/2),B(ε)))τ(V(B(1/2),B(ε)))=1.\lim_{\varepsilon\to0^+} \frac{\tau(R(B(1/2),B(\varepsilon)))} {\tau(V(B(1/2),B(\varepsilon)))}=1.ε→0+lim​τ(V(B(1/2),B(ε)))τ(R(B(1/2),B(ε)))​=1.

All these limits are along positive real ε\varepsilonε tending to zero, and the displayed ratios are real quotients with the total division convention even when their denominators are zero.

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