Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

IID universal2 direct exponent (18)

Open
QAlgorithms.Papers.Independent.Advance50.P28.universal2_iid_exponent

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

prove2quantum

All logarithms are natural and d1d_1d1​ is the full L1L^1L1 distance. Let PPP be a normalized law on a finite nonempty alphabet AAA, and let UMU_MUM​ be the uniform law on M≥1M\ge1M≥1 symbols. For a map fff, write f∗Pf_*Pf∗​P for its pushforward. Let PnP^nPn be the iid law, let Mn≥1M_n\ge1Mn​≥1 satisfy log⁡Mn/n→R\log M_n/n\to RlogMn​/n→R, and let each source-independent ensemble fX,n:An→{1,…,Mn}f_{X,n}:A^n\to\{1,\ldots,M_n\}fX,n​:An→{1,…,Mn​} be universal2. Write g(s)=−log⁡∑aP(a)1+sg(s)=-\log\sum_aP(a)^{1+s}g(s)=−log∑a​P(a)1+s, g(0)=0g(0)=0g(0)=0. Then

lim inf⁡n→∞−1nlog⁡EXd1(fX,n∗Pn,UMn)≥max⁡0≤s≤1g(s)−sR1+s.\liminf_{n\to\infty}-\frac1n\log\mathbb E_Xd_1(f_{X,n*}P^n,U_{M_n})\ge\max_{0\le s\le1}\frac{g(s)-sR}{1+s}.n→∞liminf​−n1​logEX​d1​(fX,n∗​Pn,UMn​​)≥0≤s≤1max​1+sg(s)−sR​.

Zero error has exponent +∞+\infty+∞. This is the direct bound, with no converse or unconditional tightness assertion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P28
Formal statement
noncomputable section

open MeasureTheory Filter

open scoped BigOperators ENNReal Topology

namespace QAlgorithms.Papers.Independent.Advance50.P28

open QAlgorithms.Papers.Independent.Information100.P56 (IsLaw)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Hayashi, PDF p.4, (18): general direct exponent, with infinite exact-extraction rates. -/
theorem universal2_iid_exponent {A : Type*} [Fintype A] [Nonempty A]
    (P : A → ℝ) (hP : IsLaw P) (M : ℕ → ℕ) (hM : ∀ n, 0 < M n)
    (h : (n : ℕ) → HashEnsemble (Fin n → A) (M n)) (hu : ∀ n, Universal2 (h n))
    (R : ℝ) (hrate : Tendsto (fun n => Real.log (M n : ℝ) / (n : ℝ)) atTop (𝓝 R)) :
    (directExponent P R : EReal) ≤
      Filter.liminf (fun n => negativeLogRate (expectedError (h n) (iid P n)) n) atTop := by sorry

end QAlgorithms.Papers.Independent.Advance50.P28

end
Source
Tight exponential analysis of universally composable privacy amplification and its applications, arXiv:1010.1358v5, PDF p. 4, IID universal2 direct exponent (18)
Read-back

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

Let AAA be any finite nonempty type and P:A→RP:A\to\mathbb RP:A→R satisfy P(a)≥0P(a)\ge0P(a)≥0 and ∑aP(a)=1\sum_aP(a)=1∑a​P(a)=1. For every natural number nnn, let Mn>0M_n>0Mn​>0 be a natural number and let hnh_nhn​ assign nonnegative weights wn,fw_{n,f}wn,f​, summing to 111, to all functions f:An→{0,…,Mn−1}f:A^n\to\{0,\ldots,M_n-1\}f:An→{0,…,Mn​−1}, where AnA^nAn denotes functions from {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} to AAA; assume ∑f:f(x)=f(x′)wn,f≤1/Mn\sum_{f:f(x)=f(x')}w_{n,f}\le1/M_n∑f:f(x)=f(x′)​wn,f​≤1/Mn​ for every pair x≠x′x\ne x'x=x′. Let R∈RR\in\mathbb RR∈R and assume log⁡Mn/n→R\log M_n/n\to RlogMn​/n→R as n→∞n\to\inftyn→∞, where log⁡\loglog is the natural logarithm. Define

HP(s)={0,s=0,−log⁡ ⁣(∑aP(a)1+s),s≠0,en=∑fwn,f∑b=0Mn−1∣∑x:f(x)=b∏i=0n−1P(x(i))−1Mn∣,H_P(s)= \begin{cases} 0,&s=0,\\ -\log\!\left(\sum_aP(a)^{1+s}\right),&s\ne0, \end{cases} \quad e_n=\sum_f w_{n,f}\sum_{b=0}^{M_n-1} \left|\sum_{x:f(x)=b}\prod_{i=0}^{n-1}P(x(i))-\frac1{M_n}\right|,HP​(s)={0,−log(∑a​P(a)1+s),​s=0,s=0,​en​=f∑​wn,f​b=0∑Mn​−1​​x:f(x)=b∑​i=0∏n−1​P(x(i))−Mn​1​​,

and Ln(e)=+∞L_n(e)=+\inftyLn​(e)=+∞ if e=0e=0e=0, and Ln(e)=−log⁡(e)/nL_n(e)=-\log(e)/nLn​(e)=−log(e)/n otherwise. The assertion, in the extended real numbers, is

sup⁡0≤s≤1HP(s)−sR1+s≤lim inf⁡n→∞Ln(en).\sup_{0\le s\le1}\frac{H_P(s)-sR}{1+s} \le \liminf_{n\to\infty}L_n(e_n).0≤s≤1sup​1+sHP​(s)−sR​≤n→∞liminf​Ln​(en​).

All sequence hypotheses include n=0n=0n=0; then A0A^0A0 is a singleton, its product weight is 111, and division by n=0n=0n=0 in the nonzero-error branch is defined to give 000.

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

    Confirmed by the moderator at approval.

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