Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 30: Strong-typicality exponent bounds: phi_balance(1-betaQ)Qmin^2 delta^2<=L_delta(Q)<=log(1+2Qmin delta^2); upper bound only when delta<(1-Qmax)/Qmin

Open
QAlgorithms.Papers.Independent.Intakenext100.P28.typicality_exponent

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

prove2quantum

Let QQQ be a strictly positive law on a finite alphabet of size greater than 1, and δ>0\delta>0δ>0. Let Lδ(Q)L_\delta(Q)Lδ​(Q) be the extended infimum of D(P∥Q)D(P\|Q)D(P∥Q) over laws outside the closed relative-coordinate ball ∣P(i)−Q(i)∣≤δQ(i)|P(i)-Q(i)|\le\delta Q(i)∣P(i)−Q(i)∣≤δQ(i). Let βQ=inf⁡{Q(F):Q(F)≥1/2}\beta_Q=\inf\{Q(F):Q(F)\ge1/2\}βQ​=inf{Q(F):Q(F)≥1/2} and φ(p)=log⁡b((1−p)/p)/[4(1−2p)]\varphi(p)=\log_b((1-p)/p)/[4(1-2p)]φ(p)=logb​((1−p)/p)/[4(1−2p)] for 0<p<1/20<p<1/20<p<1/2, with φ(1/2)=(log⁡be)/2\varphi(1/2)=(\log_b e)/2φ(1/2)=(logb​e)/2. Then

φ(1−βQ)Qmin⁡2δ2≤Lδ(Q),\varphi(1-\beta_Q)Q_{\min}^2\delta^2\le L_\delta(Q),φ(1−βQ​)Qmin2​δ2≤Lδ​(Q),

and Lδ(Q)≤log⁡b(1+2Qmin⁡δ2)L_\delta(Q)\le\log_b(1+2Q_{\min}\delta^2)Lδ​(Q)≤logb​(1+2Qmin​δ2) if δ<(1−Qmax⁡)/Qmin⁡\delta<(1-Q_{\max})/Q_{\min}δ<(1−Qmax​)/Qmin​. The empty complement has exponent infinity. The printed minimum in (388) is read as an infimum, as required by the limiting proof (396).

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 30: Strong-typicality exponent bounds: phi_balance(1-betaQ)Qmin^2 delta^2<=L_delta(Q)<=log(1+2Qmin delta^2); upper bound only when delta<(1-Qmax)/Qmin. Sason--Verdu, arXiv:1508.00335v7, PDF p.56. Source correction: (388) prints min over an open complement; use infimum with +infinity for empty complement. No theorem parameter domain is restricted. -/
theorem typicality_exponent
    (b : LogBase) (n : ℕ) (hn : 1 < n) (q : Fin n → ℝ)
    (hq : FiniteProbabilityLaw q) (hqpos : ∀ i, 0 < q i) (d : ℝ) (hd : 0 < d) :
    ENNReal.ofReal (balancePhi b (1 - balance q) * minReferenceMass q ^ 2 * d ^ 2) ≤ typicalExponent b q d ∧
    (d < (1 - qMax q) / minReferenceMass q →
      typicalExponent b q d ≤ ENNReal.ofReal (logB b (1 + 2 * minReferenceMass q * d ^ 2))) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P28

end
Source
fff-divergence Inequalities, arXiv:1508.00335v7, PDF p. 56, Theorem 30
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 q=(qi)i=0n−1q=(q_i)_{i=0}^{n-1}q=(qi​)i=0n−1​ be a real probability vector with qi>0q_i>0qi​>0 for every iii. Let d>0d>0d>0 be real, and put

Lb(x)=ln⁡xln⁡b,cb=1ln⁡b,qmin⁡=min⁡iqi,qmax⁡=max⁡iqi,B(q)=inf⁡{∑i∈Sqi:S⊆{0,…,n−1}, ∑i∈Sqi≥12}.L_b(x)=\frac{\ln x}{\ln b},\qquad c_b=\frac1{\ln b},\qquad q_{\min}=\min_iq_i,\qquad q_{\max}=\max_iq_i,\qquad B(q)=\inf\left\{\sum_{i\in S}q_i:S\subseteq\{0,\ldots,n-1\},\ \sum_{i\in S}q_i\geq\frac12\right\}.Lb​(x)=lnblnx​,cb​=lnb1​,qmin​=imin​qi​,qmax​=imax​qi​,B(q)=inf{i∈S∑​qi​:S⊆{0,…,n−1}, i∈S∑​qi​≥21​}.

Define

ϕb(s)={cb/2,s=1/2,Lb((1−s)/s)/(4(1−2s)),s≠1/2,\phi_b(s)= \begin{cases} c_b/2,&s=1/2,\\ L_b((1-s)/s)/(4(1-2s)),&s\ne1/2, \end{cases}ϕb​(s)={cb​/2,Lb​((1−s)/s)/(4(1−2s)),​s=1/2,s=1/2,​

and let

E=inf⁡{[∑ipiLb(pi/qi)]+:pi≥0, ∑ipi=1, ∃i, ∣pi−qi∣>dqi},E=\inf\left\{ \left[\sum_i p_iL_b(p_i/q_i)\right]_+: p_i\geq0,\ \sum_i p_i=1,\ \exists i,\ |p_i-q_i|>d q_i \right\},E=inf{[i∑​pi​Lb​(pi​/qi​)]+​:pi​≥0, i∑​pi​=1, ∃i, ∣pi​−qi​∣>dqi​},

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is regarded as an element of [0,∞][0,\infty][0,∞], and the infimum is taken in [0,∞][0,\infty][0,∞], so the infimum of an empty set is +∞+\infty+∞. Then

[ϕb(1−B(q)) qmin⁡ 2d2]+≤E,[\phi_b(1-B(q))\,q_{\min}^{\,2}d^2]_+\leq E,[ϕb​(1−B(q))qmin2​d2]+​≤E,

and, under the additional strict inequality d<(1−qmax⁡)/qmin⁡d<(1-q_{\max})/q_{\min}d<(1−qmax​)/qmin​,

E≤[Lb(1+2qmin⁡d2)]+.E\leq\left[L_b(1+2q_{\min}d^2)\right]_+.E≤[Lb​(1+2qmin​d2)]+​.

Thus the set defining EEE uses a strict coordinate violation >dqi>dq_i>dqi​, rather than equality; no upper restriction on ddd is imposed for the first inequality. The real logarithm has its total convention ln⁡0=0\ln0=0ln0=0, so zero coordinates of the candidate vector ppp are permitted.

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