Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Secret-key consumption has vanishing rate

Open
QAlgorithms.Papers.Independent.Intakethird100.P10.assistance_rate_vanishes

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

prove2quantum

Under the degraded binary cq wiretap-channel and commuting Eve-output assumptions, fix 0<β<1/20<\beta<1/20<β<1/2 and use N=2nN=2^nN=2n. Let PN\mathcal P_NPN​ be Eve's strict poor set, and let BN(W,β)\mathcal B_N(W,\beta)BN​(W,β) be Bob's bad set. Define XN=PN(W∗,β)c∩BN(W,β)\mathcal X_N=\mathcal P_N(W^*,\beta)^{\mathrm c}\cap\mathcal B_N(W,\beta)XN​=PN​(W∗,β)c∩BN​(W,β). Then

lim⁡n→∞∣X2n∣2n=0.\lim_{n\to\infty}\frac{|\mathcal X_{2^n}|}{2^n}=0.n→∞lim​2n∣X2n​∣​=0.

These indices carry independent uniform preshared secret bits in the wiretap scheme. The conclusion allows nonzero, growing sublinear key length; the same index count is the ebit-consumption rate in the coherent construction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P10
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P10

open scoped BigOperators Matrix ComplexConjugate

open Filter

-- Accepted definitions, without paper-local aliases.

open QAlgorithms.Papers.Independent.Information100.P58 (basisDensity)

open QAlgorithms.Papers.Independent.Information100.P67 (squaredFidelity)

open QAlgorithms.Papers.Independent.Claimed50.P48 (indexedKrausDilation)

/-- PDF p.6, Proposition 7: vanishing secret-key rate, allowing nonzero sublinear
key length at every finite blocklength. -/
theorem assistance_rate_vanishes {B E : Type*} [Fintype B] [DecidableEq B] [Nonempty B]
    [Fintype E] [DecidableEq E] [Nonempty E]
    (V : Wiretap B E) (beta : ℝ) (hpos : 0 < beta) (hbeta : beta < 1 / 2) :
    Tendsto (fun n => leafProbability (assistanceSet V n beta)) atTop (nhds 0) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P10

end
Source
Polar codes for degradable quantum channels, arXiv:1109.5346v3, PDF p. 6, Proposition 7: vanishing secret-key rate
Read-back

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

Let B,EB,EB,E be finite, nonempty sets with decidable equality. Let VVV consist of positive semidefinite trace-one matrices Ω0,Ω1\Omega_0,\Omega_1Ω0​,Ω1​ on B×EB\times EB×E and a map D(X)=∑ℓ=0m−1KℓXKℓ†D(X)=\sum_{\ell=0}^{m-1}K_\ell XK_\ell^\daggerD(X)=∑ℓ=0m−1​Kℓ​XKℓ†​ from matrices on BBB to matrices on EEE, with ∑ℓKℓ†Kℓ=IB\sum_\ell K_\ell^\dagger K_\ell=I_B∑ℓ​Kℓ†​Kℓ​=IB​. Define Rx(b,b′)=∑eΩx((b,e),(b′,e))R_x(b,b')=\sum_e\Omega_x((b,e),(b',e))Rx​(b,b′)=∑e​Ωx​((b,e),(b′,e)) and Qx(e,e′)=∑bΩx((b,e),(b,e′))Q_x(e,e')=\sum_b\Omega_x((b,e),(b,e'))Qx​(e,e′)=∑b​Ωx​((b,e),(b,e′)). Assume Qx=D(Rx)Q_x=D(R_x)Qx​=D(Rx​) for x=0,1x=0,1x=0,1, and Q0Q1=Q1Q0Q_0Q_1=Q_1Q_0Q0​Q1​=Q1​Q0​. Fix 0<β<120<\beta<\tfrac120<β<21​. For either binary matrix family W=RW=RW=R or W=QW=QW=Q, its synthesized matrices are defined by putting N=2nN=2^nN=2n, taking the most-significant-first nnn-bit digits dt(j)d_t(j)dt​(j) of j<Nj<Nj<N, setting cjk=1c_{jk}=1cjk​=1 precisely when dt(k)=1d_t(k)=1dt​(k)=1 implies dn−1−t(j)=1d_{n-1-t}(j)=1dn−1−t​(j)=1 for every t<nt<nt<n, and otherwise setting cjk=0c_{jk}=0cjk​=0, and defining vk(u)=∑j<Nujcjk(mod2)v_k(u)=\sum_{j<N}u_jc_{jk}\pmod2vk​(u)=∑j<N​uj​cjk​(mod2). For Boolean prefixes h,h′h,h'h,h′ of length iii and words a,ba,ba,b of length NNN in the relevant matrix index set, put

Wn,i(x)((h,a),(h′,b))={2−(N−1)∑u∈{0,1}Nui=x,u<i=h∏k<NWvk(u)(ak,bk),h=h′,0,h≠h′.W_{n,i}^{(x)}((h,a),(h',b)) = \begin{cases} 2^{-(N-1)} \displaystyle\sum_{\substack{u\in\{0,1\}^N\\u_i=x,\;u_{<i}=h}} \prod_{k<N}W_{v_k(u)}(a_k,b_k),&h=h',\\ 0,&h\ne h'. \end{cases}Wn,i(x)​((h,a),(h′,b))=⎩⎨⎧​2−(N−1)u∈{0,1}Nui​=x,u<i​=h​∑​k<N∏​Wvk​(u)​(ak​,bk​),0,​h=h′,h=h′.​

With Fr(X,Y)=Re⁡tr⁡X YXF_{\mathrm r}(X,Y)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt X\,Y\sqrt X}Fr​(X,Y)=RetrX​YX​​, where square roots use continuous functional calculus, the conclusion is

lim⁡n→∞#{ i<N:Fr(Qn,i(0),Qn,i(1))≤1−2−Nβ,2−Nβ≤Fr(Rn,i(0),Rn,i(1)) }N=0.\lim_{n\to\infty} \frac{\#\{\,i<N: F_{\mathrm r}(Q_{n,i}^{(0)},Q_{n,i}^{(1)})\le 1-2^{-N^\beta}, \quad 2^{-N^\beta}\le F_{\mathrm r}(R_{n,i}^{(0)},R_{n,i}^{(1)}) \,\}}{N} =0.n→∞lim​N#{i<N:Fr​(Qn,i(0)​,Qn,i(1)​)≤1−2−Nβ,2−Nβ≤Fr​(Rn,i(0)​,Rn,i(1)​)}​=0.

Thus equality at either threshold is included in the counted set. The sequence also has its n=0n=0n=0 term, where N=1N=1N=1, the bit condition is vacuous, and the word transform is the identity.

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