Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Smooth min-entropy finite bound (30)–(35)

Open
QAlgorithms.Papers.Independent.Advance50.P28.smooth_min_finite_bounds

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. Fix an independent universal2 ensemble and set d‾=EXd1(fX∗P,UM)\overline d=\mathbb E_Xd_1(f_{X*}P,U_M)d=EX​d1​(fX∗​P,UM​), 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. For every subdistribution QQQ, every u≥log⁡Mu\ge\log Mu≥logM, and every s≥0s\ge0s≥0,

d‾≤Mmax⁡aP(a),d‾≤Mmax⁡aQ(a)+2∥P−Q∥1,d‾≤Me−u+2P{P(a)>e−u},d‾≤3exp⁡ ⁣(−g(s)−slog⁡M1+2s).\begin{aligned}\overline d&\le\sqrt{M\max_aP(a)},\\\overline d&\le\sqrt{M\max_aQ(a)}+2\|P-Q\|_1,\\\overline d&\le\sqrt{Me^{-u}}+2P\{P(a)>e^{-u}\},\\\overline d&\le3\exp\!\left(-\frac{g(s)-s\log M}{1+2s}\right).\end{aligned}dddd​≤Mamax​P(a)​,≤Mamax​Q(a)​+2∥P−Q∥1​,≤Me−u​+2P{P(a)>e−u},≤3exp(−1+2sg(s)−slogM​).​

The last bound also holds after taking the infimum of its right side over s≥0s\ge0s≥0. These are the finite smoothing comparisons, without claiming a finite optimizer in the unbounded parameter.

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 pp.6–7, (30)–(35): finite min-entropy, threshold and optimized
renyiPowerSum bounds, using an infimum over the unbounded real parameter. -/
theorem smooth_min_finite_bounds {A : Type*} [Fintype A] [Nonempty A]
    {M : ℕ} (hM : 0 < M) (h : HashEnsemble A M) (hu : Universal2 h)
    (P : A → ℝ) (hP : IsLaw P) :
    expectedError h P ≤ Real.sqrt ((M : ℝ) * peak P) ∧
    (∀ Q : A → ℝ, IsSubLaw Q → expectedError h P ≤
      Real.sqrt ((M : ℝ) * peak Q) + 2 * l1 P Q) ∧
    (∀ threshold : ℝ, Real.log (M : ℝ) ≤ threshold → expectedError h P ≤
      Real.sqrt ((M : ℝ) * Real.exp (-threshold)) +
        2 * ∑ a, if Real.exp (-threshold) < P a then P a else 0) ∧
    (∀ s : ℝ, 0 ≤ s → expectedError h P ≤
      3 * Real.exp (-(renyiNumerator P s - s * Real.log (M : ℝ)) / (1 + 2 * s))) ∧
    expectedError h P ≤ sInf ((fun s : ℝ =>
      3 * Real.exp (-(renyiNumerator P s - s * Real.log (M : ℝ)) / (1 + 2 * s))) '' Set.Ici 0) := 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. 7, Smooth min-entropy finite bound (30)–(35)
Read-back

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

Let AAA be any finite nonempty type, MMM a positive natural number, and hhh assign nonnegative weights wfw_fwf​, summing to 111, to all functions f:A→{0,…,M−1}f:A\to\{0,\ldots,M-1\}f:A→{0,…,M−1}, with ∑f:f(a)=f(a′)wf≤1/M\sum_{f:f(a)=f(a')}w_f\le1/M∑f:f(a)=f(a′)​wf​≤1/M whenever a≠a′a\ne a'a=a′. Let P:A→RP:A\to\mathbb RP:A→R be a probability law. Write

e=∑fwf∑b=0M−1∣∑a:f(a)=bP(a)−1M∣,HP(s)={0,s=0,−log⁡ ⁣(∑aP(a)1+s),s≠0,e=\sum_f w_f\sum_{b=0}^{M-1} \left|\sum_{a:f(a)=b}P(a)-\frac1M\right|, \qquad H_P(s)= \begin{cases} 0,&s=0,\\ -\log\!\left(\sum_aP(a)^{1+s}\right),&s\ne0, \end{cases}e=f∑​wf​b=0∑M−1​​a:f(a)=b∑​P(a)−M1​​,HP​(s)={0,−log(∑a​P(a)1+s),​s=0,s=0,​

where logarithms are natural and real-exponent powers are real powers. The assertion is the conjunction of all the following bounds:

e≤Mmax⁡aP(a),e≤Mmax⁡aQ(a)+2∑a∣P(a)−Q(a)∣for every Q≥0 with ∑aQ(a)≤1,e≤Me−u+2∑a∈Ae−u<P(a)P(a)for every real u≥log⁡M,e≤3exp⁡ ⁣(−HP(s)−slog⁡M1+2s)for every real s≥0,e≤inf⁡s≥03exp⁡ ⁣(−HP(s)−slog⁡M1+2s).\begin{aligned} e&\le\sqrt{M\max_aP(a)},\\ e&\le\sqrt{M\max_aQ(a)}+2\sum_a|P(a)-Q(a)| &&\text{for every }Q\ge0\text{ with }\sum_aQ(a)\le1,\\ e&\le\sqrt{Me^{-u}}+ 2\sum_{\substack{a\in A\\e^{-u}<P(a)}}P(a) &&\text{for every real }u\ge\log M,\\ e&\le3\exp\!\left(-\frac{H_P(s)-s\log M}{1+2s}\right) &&\text{for every real }s\ge0,\\ e&\le\inf_{s\ge0} 3\exp\!\left(-\frac{H_P(s)-s\log M}{1+2s}\right). \end{aligned}eeeee​≤Mamax​P(a)​,≤Mamax​Q(a)​+2a∑​∣P(a)−Q(a)∣≤Me−u​+2a∈Ae−u<P(a)​∑​P(a)≤3exp(−1+2sHP​(s)−slogM​)≤s≥0inf​3exp(−1+2sHP​(s)−slogM​).​​for every Q≥0 with a∑​Q(a)≤1,for every real u≥logM,for every real s≥0,​

The allowed functions QQQ include the zero function, and the parameter range includes s=0s=0s=0.

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