Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 (19)

Open
QAlgorithms.Papers.Independent.Advance50.P28.stronglyUniversal2_subset_lower_bound

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. A strongly universal ensemble here means that every fX(a)f_X(a)fX​(a) is uniform and independent of the entire tuple (fX(a′))a′≠a(f_X(a'))_{a'\ne a}(fX​(a′))a′=a​. For every Ω⊆A\Omega\subseteq AΩ⊆A with ∣Ω∣<M|\Omega|<M∣Ω∣<M,

EXd1(fX∗P,UM)≥(1−∣Ω∣M)2P(Ω).\mathbb E_Xd_1(f_{X*}P,U_M)\ge\left(1-\frac{|\Omega|}{M}\right)^2P(\Omega).EX​d1​(fX∗​P,UM​)≥(1−M∣Ω∣​)2P(Ω).

This is a lower bound on the ensemble average, including the empty-subset case.

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.5, Theorem 2, (19); normalized law as used in Appendix A, p.17. -/
theorem stronglyUniversal2_subset_lower_bound {A : Type*} [Fintype A] [Nonempty A]
    {M : ℕ} (hM : 0 < M) (h : HashEnsemble A M) (hu : StronglyUniversal2 h)
    (P : A → ℝ) (hP : IsLaw P) (omega : Finset A) (hsize : omega.card < M) :
    (1 - (omega.card : ℝ) / (M : ℝ)) ^ 2 * (∑ a ∈ omega, P a) ≤
      expectedError h P := 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. 5, Theorem 2 (19)
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 a family of weights wf≥0w_f\ge0wf​≥0 on all functions f:A→{0,…,M−1}f:A\to\{0,\ldots,M-1\}f:A→{0,…,M−1}, with ∑fwf=1\sum_fw_f=1∑f​wf​=1. Assume both that ∑f:f(a)=bwf=1/M\sum_{f:f(a)=b}w_f=1/M∑f:f(a)=b​wf​=1/M for every a,ba,ba,b, and that for every a∈Aa\in Aa∈A, b∈{0,…,M−1}b\in\{0,\ldots,M-1\}b∈{0,…,M−1}, and function g:A→{0,…,M−1}g:A\to\{0,\ldots,M-1\}g:A→{0,…,M−1},

∑ff(a)=bf(a′)=g(a′) ∀a′≠awf=1M∑ff(a′)=g(a′) ∀a′≠awf.\sum_{\substack{f\\f(a)=b\\ f(a')=g(a')\ \forall a'\ne a}}w_f = \frac1M \sum_{\substack{f\\f(a')=g(a')\ \forall a'\ne a}}w_f.ff(a)=bf(a′)=g(a′) ∀a′=a​∑​wf​=M1​ff(a′)=g(a′) ∀a′=a​∑​wf​.

For every probability law P:A→RP:A\to\mathbb RP:A→R, meaning P(a)≥0P(a)\ge0P(a)≥0 and ∑aP(a)=1\sum_aP(a)=1∑a​P(a)=1, and every finite subset ω⊆A\omega\subseteq Aω⊆A with ∣ω∣<M|\omega|<M∣ω∣<M, the assertion is

(1−∣ω∣M)2∑a∈ωP(a)≤∑fwf∑b=0M−1∣∑a∈Af(a)=bP(a)−1M∣.\left(1-\frac{|\omega|}{M}\right)^2\sum_{a\in\omega}P(a) \le \sum_f w_f\sum_{b=0}^{M-1} \left|\sum_{\substack{a\in A\\f(a)=b}}P(a)-\frac1M\right|.(1−M∣ω∣​)2a∈ω∑​P(a)≤f∑​wf​b=0∑M−1​​a∈Af(a)=b​∑​P(a)−M1​​.

The subset ω\omegaω may be empty, in which case the left-hand side is 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