Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Successive cancellation reliability, including the finite bound

Open
QAlgorithms.Papers.Independent.Intakethird100.P74.reliability

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.

Let C=A∪X\mathcal C=\mathcal A\cup\mathcal XC=A∪X. There is a family of quantum successive cancellation POVMs on BNB^NBN, indexed by the known frozen and key bits and chosen independently of the unknown input bits, that decodes every bit in C\mathcal CC. Its average block error obeys

Pr⁡{U^C≠UC}≤bn:=2∑i∈CF(WA,B,N(i)),bn=o ⁣(2−Nβ/2).\Pr\{\widehat U_{\mathcal C}\ne U_{\mathcal C}\} \le b_n:=\sqrt{2\sum_{i\in\mathcal C}\sqrt{F(W_{A,B,N}^{(i)})}}, \qquad b_n=o\!\left(2^{-N^\beta/2}\right).Pr{UC​=UC​}≤bn​:=2i∈C∑​F(WA,B,N(i)​)​​,bn​=o(2−Nβ/2).

The sequential decoder uses a binary projective test at each decoded index, adapting to the previous decisions; frozen indices require no test. This is a reliability statement for both information and locally randomized bits.

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.4, §II.D: one input-independent POVM family recovers A union X using the
frozen/key bits. Both the finite bound and the printed little-o claim are retained.
The elementary cutoff estimate alone does not prove the latter; it is not assumed. -/
theorem reliability (d : WiretapData B E S1 S2) (hd : d.Valid)
    (beta : ℝ) (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2) :
    ∃ M : (n : ℕ) → PolarDecoderEffects d beta n,
      (∀ n, IsSuccessiveCancellation d beta n (M n)) ∧
      (∀ n k, IsPOVM (M n k)) ∧
      (∀ n, decoderError d beta n (M n) ≤ reliabilityBound d beta n) ∧
      Asymptotics.IsLittleO Filter.atTop (reliabilityBound d beta) (decayHalf beta) := by sorry

end

end QAlgorithms.Papers.Independent.Intakethird100.P74
Source
Polar codes for private classical communication, arXiv:1203.5794v1, PDF p. 4, §II.D, unnumbered: quantum successive cancellation reliability
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)=∑a∈{0,1}V(b,e,t),aψz(a,s),Wz=Tr⁡E,S1,S2(szsz∗).s_z(b,e,s,t)=\sum_{a\in\{0,1\}}V_{(b,e,t),a}\psi_z(a,s),\qquad W_z=\operatorname{Tr}_{E,S_1,S_2}(s_zs_z^*).sz​(b,e,s,t)=a∈{0,1}∑​V(b,e,t),a​ψz​(a,s),Wz​=TrE,S1​,S2​​(sz​sz∗​).

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}, let 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, and set e(u)j=∑iuiGij(mod2)e(u)_j=\sum_i u_iG_{ij}\pmod2e(u)j​=∑i​ui​Gij​(mod2). For Ji={j:j<i}J_i=\{j:j<i\}Ji​={j:j<i}, define

[Σi,b](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_{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}=h}} \prod_{\ell\in I}W_{e(u)_\ell}(y_\ell,y'_\ell),&h=h',\\ 0,&h\ne h', \end{cases}[Σi,b​](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′,​

and put

F(R,S)=Re⁡tr⁡R SR,Dn={i:F(Σi,0,Σi,1)<2−Nβ},Rn=2∑i∈DnF(Σi,0,Σi,1).F(R,S)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt R\,S\sqrt R},\qquad D_n=\{i:F(\Sigma_{i,0},\Sigma_{i,1})<2^{-N^\beta}\},\qquad R_n=\sqrt{2\sum_{i\in D_n}F(\Sigma_{i,0},\Sigma_{i,1})}.F(R,S)=RetrR​SR​​,Dn​={i:F(Σi,0​,Σi,1​)<2−Nβ},Rn​=2i∈Dn​∑​F(Σi,0​,Σi,1​)​.

There exists a family Mn(k,m)M_n(k,m)Mn​(k,m) of complex matrices on BIB^IBI, indexed by assignments k:I∖Dn→{0,1}k:I\setminus D_n\to\{0,1\}k:I∖Dn​→{0,1} and m:Dn→{0,1}m:D_n\to\{0,1\}m:Dn​→{0,1}, with all of the following properties. For each nnn, there are matrices Tk,i,hT_{k,i,h}Tk,i,h​ for every k,ik,ik,i, and every history h:Ji→{0,1}h:J_i\to\{0,1\}h:Ji​→{0,1}, such that Tk,i,hT_{k,i,h}Tk,i,h​ and I−Tk,i,hI-T_{k,i,h}I−Tk,i,h​ are positive semidefinite and Tk,i,h2=Tk,i,hT_{k,i,h}^2=T_{k,i,h}Tk,i,h2​=Tk,i,h​; if uuu is assembled from k,mk,mk,m, set

Pi={Tk,i,u∣Ji,i∈Dn, ui=0,I−Tk,i,u∣Ji,i∈Dn, ui=1,I,i∉Dn,K=PN−1⋯P0;Mn(k,m)=K∗K.P_i= \begin{cases} T_{k,i,u|_{J_i}},&i\in D_n,\ u_i=0,\\ I-T_{k,i,u|_{J_i}},&i\in D_n,\ u_i=1,\\ I,&i\notin D_n, \end{cases} \qquad K=P_{N-1}\cdots P_0; \quad M_n(k,m)=K^*K.Pi​=⎩⎨⎧​Tk,i,u∣Ji​​​,I−Tk,i,u∣Ji​​​,I,​i∈Dn​, ui​=0,i∈Dn​, ui​=1,i∈/Dn​,​K=PN−1​⋯P0​;Mn​(k,m)=K∗K.

For every n,kn,kn,k, the matrices Mn(k,m)M_n(k,m)Mn​(k,m) are positive semidefinite and sum over mmm to the identity. Their error satisfies

2−N∑u∈{0,1}I[1−Re⁡tr⁡(Mn(u∣I∖Dn,u∣Dn)⨂i∈IWe(u)i)]≤Rnfor every n.2^{-N}\sum_{u\in\{0,1\}^I} \left[ 1-\operatorname{Re}\operatorname{tr} \left( M_n(u|_{I\setminus D_n},u|_{D_n}) \bigotimes_{i\in I}W_{e(u)_i} \right) \right]\le R_n \quad\text{for every }n.2−Nu∈{0,1}I∑​[1−Retr(Mn​(u∣I∖Dn​​,u∣Dn​​)i∈I⨂​We(u)i​​)]≤Rn​for every n.

Finally Rn=o(2−Nβ/2)R_n=o(2^{-N^\beta/2})Rn​=o(2−Nβ/2) as n→∞n\to\inftyn→∞: for every c>0c>0c>0, eventually ∣Rn∣≤c 2−Nβ/2|R_n|\le c\,2^{-N^\beta/2}∣Rn​∣≤c2−Nβ/2. Empty decoded sets and empty histories are included, with the corresponding empty sums and products.

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