Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Worst-input one-shot resolvability bound

Open
QAlgorithms.Papers.Independent.Intake100.P73.worst_resolvability_one_shot

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

prove2quantum

Let W:x↦WxW:x\mapsto W_xW:x↦Wx​ be a classical discrete stochastic channel from XXX to YYY, and let ppp be a probability mass function on XXX. Write Wp(y)=∑xp(x)Wx(y)W_p(y)=\sum_xp(x)W_x(y)Wp​(y)=∑x​p(x)Wx​(y). All logarithms are natural, d(P,Q)=∑y∣P(y)−Q(y)∣d(P,Q)=\sum_y|P(y)-Q(y)|d(P,Q)=∑y​∣P(y)−Q(y)∣ is the full L1 distance, and D(P∥Q)D(P\|Q)D(P∥Q) is extended nonnegative KL divergence, infinite on a support mismatch. Zero-mass terms in the defining KL expression contribute zero.

Assume XXX is nonempty, let M≥1M\ge1M≥1 be an integer, and let C>0C>0C>0. For each input law ppp, let ϵ(M,W,p)\epsilon(M,W,p)ϵ(M,W,p) be the infimum of d(WΨ,Wp)d(W_\Psi,W_p)d(WΨ​,Wp​) over positive tuple codebooks of size at most MMM, allowing repeated entries, and set ϵ(M,W)=sup⁡pϵ(M,W,p)\epsilon(M,W)=\sup_p\epsilon(M,W,p)ϵ(M,W)=supp​ϵ(M,W,p). Then

ϵ(M,W)≤2sup⁡pPp(x)Wx(y){Wx(y)/Wp(y)>C}+C/M.\epsilon(M,W)\le 2\sup_p\mathbb P_{p(x)W_x(y)}\{W_x(y)/W_p(y)>C\}+\sqrt{C/M}.ϵ(M,W)≤2psup​Pp(x)Wx​(y)​{Wx​(y)/Wp​(y)>C}+C/M​.

The supremum ranges over all input laws and lies outside the probability expression. No maximizing law or best codebook is asserted on arbitrary alphabets. This is the uniform approximation bound used in the asymptotic capacity relations.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P73
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P73

open Filter

open scoped BigOperators ENNReal Topology

attribute [local instance] Classical.propDecidable Classical.decEq

universe u

/-- Hayashi, PDF p.6, (17): input-law supremum OUTSIDE the tail probability;
size<=M is tied to actual positive tuple codes, allowing repetitions. -/
theorem worst_resolvability_one_shot {X Y : Type*} [Nonempty X]
    (W : X → Y → ℝ≥0∞) (hW : IsDiscreteStochastic W)
    (M : ℕ) (hM : 0 < M) (C : ℝ) (hC : 0 < C) :
    worstApproximation false M W ≤ ENNReal.ofReal
      (2 * sSup (Set.range (fun p : PMF X => upperLikelihoodMass W p C)) + Real.sqrt (C / M)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P73

end
Source
General non-asymptotic and asymptotic formulas in channel resolvability and identification capacity and their application to wire-tap channel, arXiv:cs/0503088v2, PDF p. 6, Unnumbered (17): worst-input resolvability bound
Read-back

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

For any nonempty type XXX, any type YYY, any W:X×Y→[0,∞]W:X\times Y\to[0,\infty]W:X×Y→[0,∞] satisfying ∑y′W(x,y)=1\sum'_yW(x,y)=1∑y′​W(x,y)=1 for every xxx, any positive integer MMM, and any positive real CCC, define, for each probability mass function ppp on XXX,

qp(y)=∑x′p(x)W(x,y),Up=ρ ⁣(∑x′∑y′1{p(x)>0, qp(y)>0, C<W(x,y)/qp(y)}p(x)W(x,y)),q_p(y)=\sum'_x p(x)W(x,y), \qquad U_p=\rho\!\left(\sum'_x\sum'_y \mathbf1_{\{p(x)>0,\ q_p(y)>0,\ C<W(x,y)/q_p(y)\}} p(x)W(x,y)\right),qp​(y)=x∑′​p(x)W(x,y),Up​=ρ(x∑′​y∑′​1{p(x)>0, qp​(y)>0, C<W(x,y)/qp​(y)}​p(x)W(x,y)),

where the summand is zero when its condition fails, and ρ\rhoρ converts extended nonnegative numbers to reals, sending +∞+\infty+∞ to 000. For every positive integer N≤MN\le MN≤M and every list x1,…,xN∈Xx_1,\ldots,x_N\in Xx1​,…,xN​∈X, repetitions allowed, put P(y)=N−1∑i=1NW(xi,y)P(y)=N^{-1}\sum_{i=1}^N W(x_i,y)P(y)=N−1∑i=1N​W(xi​,y). The theorem asserts

sup⁡p a probability mass function on X inf⁡1≤N≤Mx1,…,xN∈X∑y′((P(y)\dotminusqp(y))+(qp(y)\dotminusP(y)))≤[2sup⁡p a probability mass function on XUp+CM]+.\sup_{p\text{ a probability mass function on }X} \ \inf_{\substack{1\le N\le M\\x_1,\ldots,x_N\in X}} \sum'_y\bigl((P(y)\mathbin{\dotminus}q_p(y)) +(q_p(y)\mathbin{\dotminus}P(y))\bigr) \le \left[2\sup_{p\text{ a probability mass function on }X}U_p +\sqrt{\frac CM}\right]_+.p a probability mass function on Xsup​ 1≤N≤Mx1​,…,xN​∈X​inf​y∑′​((P(y)\dotminusqp​(y))+(qp​(y)\dotminusP(y)))≤[2p a probability mass function on Xsup​Up​+MC​​]+​.

Subtraction inside the sum is truncated at zero; the left supremum and infimum are in [0,∞][0,\infty][0,∞], the supremum of the UpU_pUp​ is in the reals, and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) is embedded in [0,∞][0,\infty][0,∞]. Nonemptiness of XXX ensures that both probability mass functions and eligible lists exist, while stochasticity then excludes empty YYY. No finiteness or countability assumption on either type is required.

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

    Confirmed by the moderator at approval.

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