Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 2 (Upper Bound in Secret Key Capacity)

Open
QAlgorithms.Papers.Independent.Intakethird100.P76.secret_key_upper_bound

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let S,X,Y,ZS,X,Y,ZS,X,Y,Z be finite nonempty alphabets and let W(x,y,z∣s)W(x,y,z\mid s)W(x,y,z∣s) be a normalized discrete memoryless broadcast channel. All entropies and information quantities are in bits. For an input law ppp, information quantities below use exactly the induced law p(s)W(x,y,z∣s)p(s)W(x,y,z\mid s)p(s)W(x,y,z∣s).

Alice draws a uniform finite message MMM, uses a possibly stochastic encoder to excite nnn channel uses, and observes (M,Xn)(M,X^n)(M,Xn). A public forward message Φ=ϕ(M,Xn)\Phi=\phi(M,X^n)Φ=ϕ(M,Xn) is visible to Bob and Eve. Their keys are KA=kA(M,Xn)K_A=k_A(M,X^n)KA​=kA​(M,Xn) and KB=kB(Yn,Φ)K_B=k_B(Y^n,\Phi)KB​=kB​(Yn,Φ). All design maps are fixed publicly before observations. Message and public alphabets follow the fixed-rate ceiling convention; the key alphabet at rate RRR has exactly 2⌈nR⌉2^{\lceil nR\rceil}2⌈nR⌉ labels. A weakly achievable rate RRR has one sequence of such codes with disagreement tending to zero, I(KA;Zn,Φ)/n→0I(K_A;Z^n,\Phi)/n\to0I(KA​;Zn,Φ)/n→0, and lim inf⁡H(KA)/n≥R\liminf H(K_A)/n\ge RliminfH(KA​)/n≥R.

Let Λ:S→[0,L]\Lambda:S\to[0,L]Λ:S→[0,L] be bounded and nonnegative, and let Γ>0\Gamma>0Γ>0 be admissible, meaning that a normalized input law of expected cost at most Γ\GammaΓ exists. Every operational code obeys n−1∑iΛ(Si)≤Γn^{-1}\sum_i\Lambda(S_i)\le\Gamman−1∑i​Λ(Si​)≤Γ almost surely; each single-letter optimization obeys ∑sp(s)Λ(s)≤Γ\sum_s p(s)\Lambda(s)\le\Gamma∑s​p(s)Λ(s)≤Γ. Excitation and public rates are unrestricted.

The cost-feasible single-letter maximum is attained, and

CSK(Γ)≤max⁡p: EΛ(S)≤ΓI(X,S;Y∣Z).C_{\rm SK}(\Gamma)\le\max_{p:\,\mathbb E\Lambda(S)\le\Gamma} I(X,S;Y\mid Z).CSK​(Γ)≤p:EΛ(S)≤Γmax​I(X,S;Y∣Z).

This upper bound requires no auxiliary variables.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P76
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P76

noncomputable section

open scoped BigOperators

open Filter Set

attribute [local instance] Classical.propDecidable

-- Exact pinned primitives, inspected at their definitions before reuse.

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

open QAlgorithms.Papers.Independent.Frontier30.P12 (IsStochastic)

variable {S X Y Z : Type} [Fintype S] [Fintype X] [Fintype Y] [Fintype Z]
  [Nonempty S] [Nonempty X] [Nonempty Y] [Nonempty Z]

variable {n u w : ℕ}

/-- PDF p.5, Proposition 2, (11): an attained cost-feasible upper bound. -/
theorem secret_key_upper_bound (W : DMBC S X Y Z) (cost : S → ℝ) (Gamma : ℝ)
    (hcost : AdmissibleCost cost Gamma) :
    ∃ p : S → ℝ, CostFeasibleInput cost Gamma p ∧
      IsGreatest {v | ∃ q, CostFeasibleInput cost Gamma q ∧ v = upperObjective W q}
        (upperObjective W p) ∧
      senderExcitedCapacity W cost (some Gamma) ≤ (upperObjective W p : EReal) := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P76
Source
The Sender-Excited Secret Key Agreement Model: Capacity, Reliability and Secrecy Exponents, arXiv:1107.4148v4, PDF p. 5, Proposition 2 (Upper Bound in Secret Key Capacity)
Read-back

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

For finite types S,X,Y,ZS,X,Y,ZS,X,Y,Z, let WWW give their nonemptiness and conditional probability laws Ws(x,y,z)W_s(x,y,z)Ws​(x,y,z). Suppose c:S→Rc:S\to\mathbb Rc:S→R and Γ∈R\Gamma\in\mathbb RΓ∈R satisfy Γ>0\Gamma>0Γ>0, 0≤c(s)≤L0\le c(s)\le L0≤c(s)≤L for every sss for some real LLL, and the existence of a probability law whose expected cost is at most Γ\GammaΓ. There exists a probability law ppp on SSS with ∑sp(s)c(s)≤Γ\sum_s p(s)c(s)\le\Gamma∑s​p(s)c(s)≤Γ such that

B(p)=Iνp((X,S);Y∣Z),νp(s,x,y,z)=p(s)Ws(x,y,z),B(p)=I_{\nu_p}((X,S);Y\mid Z),\qquad \nu_p(s,x,y,z)=p(s)W_s(x,y,z),B(p)=Iνp​​((X,S);Y∣Z),νp​(s,x,y,z)=p(s)Ws​(x,y,z),

belongs to, and is at least every member of, the set of B(q)B(q)B(q) over all probability laws qqq satisfying ∑sq(s)c(s)≤Γ\sum_s q(s)c(s)\le\Gamma∑s​q(s)c(s)≤Γ, and the sender-excited capacity is at most B(p)B(p)B(p), embedded in the extended real numbers. Here I(A;B∣C)=H(A,C)−H(C)−H(A,B,C)+H(B,C)I(A;B\mid C)=H(A,C)-H(C)-H(A,B,C)+H(B,C)I(A;B∣C)=H(A,C)−H(C)−H(A,B,C)+H(B,C), with Shannon entropy in bits. The capacity being bounded is the extended-real supremum of nonnegative real rates RRR admitting a sequence of codes at all positive block lengths ℓ\ellℓ: each code has positive message, public-message, and key counts Mℓ,Pℓ,KℓM_\ell,P_\ell,K_\ellMℓ​,Pℓ​,Kℓ​, normalized nonnegative encoders eℓ(sℓ∣m)e_\ell(s^\ell\mid m)eℓ​(sℓ∣m), a public map fℓ(m,xℓ)f_\ell(m,x^\ell)fℓ​(m,xℓ), an Alice key map aℓ(m,xℓ)a_\ell(m,x^\ell)aℓ​(m,xℓ), and a Bob key map bℓ(yℓ,t)b_\ell(y^\ell,t)bℓ​(yℓ,t); for fixed nonnegative constants rM,rP,rKr_M,r_P,r_KrM​,rP​,rK​, their counts satisfy Mℓ=2⌈ℓrM⌉M_\ell=2^{\lceil\ell r_M\rceil}Mℓ​=2⌈ℓrM​⌉, Pℓ=2⌈ℓrP⌉P_\ell=2^{\lceil\ell r_P\rceil}Pℓ​=2⌈ℓrP​⌉, and Kℓ≤2ℓrKK_\ell\le2^{\ell r_K}Kℓ​≤2ℓrK​; every encoder-supported word has ∑ic(si)≤ℓΓ\sum_i c(s_i)\le\ell\Gamma∑i​c(si​)≤ℓΓ; and under Mℓ−1eℓ(sℓ∣m)∏iWsi(xi,yi,zi)M_\ell^{-1}e_\ell(s^\ell\mid m)\prod_iW_{s_i}(x_i,y_i,z_i)Mℓ−1​eℓ​(sℓ∣m)∏i​Wsi​​(xi​,yi​,zi​), key disagreement tends to zero, I(aℓ(m,xℓ);(zℓ,fℓ(m,xℓ)))/ℓI(a_\ell(m,x^\ell);(z^\ell,f_\ell(m,x^\ell)))/\ellI(aℓ​(m,xℓ);(zℓ,fℓ​(m,xℓ)))/ℓ tends to zero, and for every ε>0\varepsilon>0ε>0, eventually H(aℓ(m,xℓ))/ℓ≥R−εH(a_\ell(m,x^\ell))/\ell\ge R-\varepsilonH(aℓ​(m,xℓ))/ℓ≥R−ε.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me