Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Vanishing key rate under degradability to Eve

Open
QAlgorithms.Papers.Independent.Intakethird100.P74.degradable_key_rate

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

prove2quantum

Let N:A′→BE\mathcal N:A'\to BEN:A′→BE be a memoryless finite-register quantum wiretap channel with qubit input, with a fixed isometric extension V:A′→BES2V:A'\to BES_2V:A′→BES2​. Choose two unit purifications ∣ψz⟩A′S1|\psi_z\rangle^{A'S_1}∣ψz​⟩A′S1​ of the input states, with z∈{0,1}z\in\{0,1\}z∈{0,1} equiprobable. Both shields S1,S2S_1,S_2S1​,S2​ are excluded from Eve. Let WA,BW_{A,B}WA,B​ and WA,EW_{A,E}WA,E​ be the resulting amplitude channels to Bob and Eve. The virtual phase channel WP,BW_{P,B}WP,B​ has output BCS1S2BCS_1S_2BCS1​S2​, obtained by phase modulating the reference of the coherent source 2−1/2∑z∣z⟩C∣ψz⟩2^{-1/2}\sum_z|z\rangle^C|\psi_z\rangle2−1/2∑z​∣z⟩C∣ψz​⟩ and tracing only Eve after VVV. Entropies and Holevo information are in bits, and FFF denotes squared fidelity.

Fix 0<β<1/20<\beta<1/20<β<1/2 and blocklength N=2nN=2^nN=2n. Use Arikan's fixed transform GNG_NGN​ for amplitude and its transpose for phase; amplitude splitting reveals previous bits and averages future bits, while phase splitting reveals future bits and averages previous bits. An index is good precisely when its synthesized root fidelity is strictly less than 2−Nβ2^{-N^\beta}2−Nβ. Write GA,GP\mathcal G_A,\mathcal G_PGA​,GP​ for the good sets and define A=GA∩GP\mathcal A=\mathcal G_A\cap\mathcal G_PA=GA​∩GP​, X=GA∖GP\mathcal X=\mathcal G_A\setminus\mathcal G_PX=GA​∖GP​, Z=GP∖GA\mathcal Z=\mathcal G_P\setminus\mathcal G_AZ=GP​∖GA​, and B=[N]∖(GA∪GP)\mathcal B=[N]\setminus(\mathcal G_A\cup\mathcal G_P)B=[N]∖(GA​∪GP​). The code sends independent uniform private bits on A\mathcal AA, local random bits on X\mathcal XX, frozen bits known to Bob on Z\mathcal ZZ, and preshared uniform secret key bits on B\mathcal BB. Error and leakage average over these uniform choices.

Assume that a CPTP map D:B→E\mathcal D:B\to ED:B→E satisfies D∘NB=NE\mathcal D\circ\mathcal N_B=\mathcal N_ED∘NB​=NE​ on all input operators. Then

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

This guarantees vanishing preshared-key consumption per channel use for this code. The degrading map targets Eve alone; it need not simulate the shield S2S_2S2​.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P74
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P74

open QAlgorithms

open scoped ComplexConjugate Matrix

noncomputable section

local instance (p : Prop) : Decidable p := Classical.propDecidable p

variable {B E S1 S2 : Type}

variable [Fintype B] [Fintype E] [Fintype S1] [Fintype S2]

variable [DecidableEq B] [DecidableEq E] [DecidableEq S1] [DecidableEq S2]

/-- PDF p.5, §III: this scheme's key consumption RATE vanishes for channels degradable
to Eve's marginal; finite-block zero consumption is not claimed. -/
theorem degradable_key_rate (d : WiretapData B E S1 S2) (hd : d.Valid)
    (hdegradable : EveDegradable d) (beta : ℝ)
    (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2) :
    Filter.Tendsto (keyRate d beta) Filter.atTop (nhds 0) := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P74
Source
Polar codes for private classical communication, arXiv:1203.5794v1, PDF p. 5, §III, unnumbered: vanishing key rate for degradable wiretap channels
Read-back

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

For finite index types B,E,S1,S2B,E,S_1,S_2B,E,S1​,S2​, with decidable equality as required, let d=(V,ψ)d=(V,\psi)d=(V,ψ) satisfy V∗V=I2V^*V=I_2V∗V=I2​ and ∥ψz∥=1\|\psi_z\|=1∥ψz​∥=1 for both Boolean zzz. Suppose there exists a map DDD from B×BB\times BB×B complex matrices to E×EE\times EE×E complex matrices, represented for every matrix XXX by D(X)=∑j<rKjXKj∗D(X)=\sum_{j<r}K_jXK_j^*D(X)=∑j<r​Kj​XKj∗​ for some natural rrr and matrices Kj:CB→CEK_j:\mathbb C^B\to\mathbb C^EKj​:CB→CE with ∑jKj∗Kj=IB\sum_jK_j^*K_j=I_B∑j​Kj∗​Kj​=IB​, such that for every complex 2×22\times22×2 matrix ρ\rhoρ,

D ⁣(Tr⁡E×S2(VρV∗))=[∑b∈B∑s∈S2(VρV∗)(b,e,s),(b,f,s)]e,f∈E.D\!\left(\operatorname{Tr}_{E\times S_2}(V\rho V^*)\right) = \left[\sum_{b\in B}\sum_{s\in S_2} (V\rho V^*)_{(b,e,s),(b,f,s)}\right]_{e,f\in E}.D(TrE×S2​​(VρV∗))=[b∈B∑​s∈S2​∑​(VρV∗)(b,e,s),(b,f,s)​]e,f∈E​.

Let 0<β<120<\beta<\tfrac120<β<21​, define

sz(b,e,s,t)=∑aV(b,e,t),aψz(a,s),WzA=Tr⁡E,S1,S2(szsz∗),WxP=Tr⁡E(φxφx∗),φx((z,b,s,t),e)=2−1/2(−1)xzsz(b,e,s,t).s_z(b,e,s,t)=\sum_aV_{(b,e,t),a}\psi_z(a,s),\quad W^A_z=\operatorname{Tr}_{E,S_1,S_2}(s_zs_z^*),\quad W^P_x=\operatorname{Tr}_E(\varphi_x\varphi_x^*), \quad\varphi_x((z,b,s,t),e)=2^{-1/2}(-1)^{xz}s_z(b,e,s,t).sz​(b,e,s,t)=a∑​V(b,e,t),a​ψz​(a,s),WzA​=TrE,S1​,S2​​(sz​sz∗​),WxP​=TrE​(φx​φx∗​),φx​((z,b,s,t),e)=2−1/2(−1)xzsz​(b,e,s,t).

For each natural nnn, including zero, put N=2nN=2^nN=2n, I={0,…,N−1}I=\{0,\ldots,N-1\}I={0,…,N−1}, and define Gij=1G_{ij}=1Gij​=1 precisely when every bit k<nk<nk<n set in jjj has bit n−1−kn-1-kn−1−k set in iii. Set e−(u)j=∑iuiGij(mod2)e_-(u)_j=\sum_i u_iG_{ij}\pmod2e−​(u)j​=∑i​ui​Gij​(mod2) and e+(u)j=∑iuiGji(mod2)e_+(u)_j=\sum_i u_iG_{ji}\pmod2e+​(u)j​=∑i​ui​Gji​(mod2). For Ji−={j:j<i}J_i^-=\{j:j<i\}Ji−​={j:j<i} and Ji+={j:i<j}J_i^+=\{j:i<j\}Ji+​={j:i<j}, form

[Σi,bW,±](h,y),(h′,y′)={2−(N−1)∑u∈{0,1}Iui=b, u∣Ji±=h∏ℓ∈IWe±(u)ℓ(yℓ,yℓ′),h=h′,0,h≠h′.[\Sigma^{W,\pm}_{i,b}]_{(h,y),(h',y')}= \begin{cases} 2^{-(N-1)} \displaystyle\sum_{\substack{u\in\{0,1\}^I\\u_i=b,\ u|_{J_i^\pm}=h}} \prod_{\ell\in I}W_{e_\pm(u)_\ell}(y_\ell,y'_\ell),&h=h',\\ 0,&h\ne h'. \end{cases}[Σi,bW,±​](h,y),(h′,y′)​=⎩⎨⎧​2−(N−1)u∈{0,1}Iui​=b, u∣Ji±​​=h​∑​ℓ∈I∏​We±​(u)ℓ​​(yℓ​,yℓ′​),0,​h=h′,h=h′.​

With F(R,S)=Re⁡tr⁡R SRF(R,S)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt R\,S\sqrt R}F(R,S)=RetrR​SR​​, let

Dn={i:F(Σi,0WA,−,Σi,1WA,−)<2−Nβ},Pn={i:F(Σi,0WP,+,Σi,1WP,+)<2−Nβ}.D_n=\{i:F(\Sigma^{W^A,-}_{i,0},\Sigma^{W^A,-}_{i,1})<2^{-N^\beta}\},\qquad P_n=\{i:F(\Sigma^{W^P,+}_{i,0},\Sigma^{W^P,+}_{i,1})<2^{-N^\beta}\}.Dn​={i:F(Σi,0WA,−​,Σi,1WA,−​)<2−Nβ},Pn​={i:F(Σi,0WP,+​,Σi,1WP,+​)<2−Nβ}.

Then

lim⁡n→∞∣I∖(Dn∪Pn)∣2n=0.\lim_{n\to\infty}\frac{|I\setminus(D_n\cup P_n)|}{2^n}=0.n→∞lim​2n∣I∖(Dn​∪Pn​)∣​=0.

The numerator counts the indices belonging to neither set; either set, and their complement, may be empty.

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