Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 3: initial root-fidelity sufficient criterion

Open
QAlgorithms.Papers.Independent.Intakethird100.P74.root_fidelity_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.

If the two initial, unsynthesized channels obey

F(WA,B)+F(WP,B)<1,\sqrt{F(W_{A,B})}+\sqrt{F(W_{P,B})}<1,F(WA,B​)​+F(WP,B​)​<1,

then

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

This sufficient condition does not require degradability. Its conclusion concerns the asymptotic key rate; the source leaves finite-block zero key consumption open.

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, Theorem 3, Appendix B pp.6–7: a strict condition on initial,
unsynthesized ROOT fidelities suffices. No degradability or finite-block emptiness follows. -/
theorem root_fidelity_key_rate (d : WiretapData B E S1 S2) (hd : d.Valid)
    (beta : ℝ) (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2)
    (hroot : rootFidelity (amplitudeBob d false) (amplitudeBob d true) +
      rootFidelity (phaseBob d false) (phaseBob d true) < 1) :
    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, Theorem 3: sufficient root-fidelity criterion for vanishing key rate
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, and 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∗),φx((z,b,s,t),e)=2−1/2(−1)xzsz(b,e,s,t),WxP=Tr⁡E(φxφx∗).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 \varphi_x((z,b,s,t),e)=2^{-1/2}(-1)^{xz}s_z(b,e,s,t),\quad W^P_x=\operatorname{Tr}_E(\varphi_x\varphi_x^*).sz​(b,e,s,t)=a∑​V(b,e,t),a​ψz​(a,s),WzA​=TrE,S1​,S2​​(sz​sz∗​),φx​((z,b,s,t),e)=2−1/2(−1)xzsz​(b,e,s,t),WxP​=TrE​(φx​φx∗​).

Writing F(R,S)=Re⁡tr⁡R SRF(R,S)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt R\,S\sqrt R}F(R,S)=RetrR​SR​​, assume the strict inequality

F(W0A,W1A)+F(W0P,W1P)<1.F(W^A_0,W^A_1)+F(W^P_0,W^P_1)<1.F(W0A​,W1A​)+F(W0P​,W1P​)<1.

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}, define Gij=1G_{ij}=1Gij​=1 exactly when every bit k<nk<nk<n set in jjj has bit n−1−kn-1-kn−1−k set in iii, and put e−(u)j=∑iuiGij(mod2)e_-(u)_j=\sum_i u_iG_{ij}\pmod2e−​(u)j​=∑i​ui​Gij​(mod2), 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}, define

[Σ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′.​

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.

No nonemptiness of either selected index set is required.

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