Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Erasure-channel sufficient criterion for vanishing key rate

Open
QAlgorithms.Papers.Independent.Intakethird100.P74.erasure_key_rate

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

prove2quantum

Let ϵ∈[0,1]\epsilon\in[0,1]ϵ∈[0,1] and consider the complementary qubit erasure wiretap dilation

V∣a⟩=1−ϵ∣a⟩B∣e⟩E+ϵ∣e⟩B∣a⟩E,V|a\rangle=\sqrt{1-\epsilon}|a\rangle^B|e\rangle^E+ \sqrt\epsilon|e\rangle^B|a\rangle^E,V∣a⟩=1−ϵ​∣a⟩B∣e⟩E+ϵ​∣e⟩B∣a⟩E,

where a∈{0,1}a\in\{0,1\}a∈{0,1} and ∣e⟩|e\rangle∣e⟩ is orthogonal to both input basis states. Use uniform computational-basis inputs and trivial shields. Bob's amplitude and virtual phase channels satisfy

F(WA,B)=F(WP,B)=ϵ,I(WA,B)−I(WA,E)=1−2ϵ.\sqrt{F(W_{A,B})}=\sqrt{F(W_{P,B})}=\epsilon, \qquad I(W_{A,B})-I(W_{A,E})=1-2\epsilon.F(WA,B​)​=F(WP,B​)​=ϵ,I(WA,B​)−I(WA,E​)=1−2ϵ.

For every fixed 0<β<1/20<\beta<1/20<β<1/2, the polar code defined above consequently satisfies

2ϵ<1⟹lim⁡n→∞∣B2n∣2n=0.2\epsilon<1\quad\Longrightarrow\quad \lim_{n\to\infty}\frac{|\mathcal B_{2^n}|}{2^n}=0.2ϵ<1⟹n→∞lim​2n∣B2n​∣​=0.

Thus the criterion applies exactly when this symmetric private information is positive. This is a finite-register erasure result, without a bosonic energy constraint.

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 pp.9–10, Appendix C.B: both initial root fidelities are eps and the strict
criterion 2eps<1 gives vanishing key rate, precisely where symmetric private information
is positive. Source correction: p.10's phase-mixture display swaps eps and 1-eps;
the defining erasure map, its discrimination argument and its final criterion fix the
weights used here. Independent moderation of this correction remains required. -/
theorem erasure_key_rate (eps : ℝ) (he0 : 0 ≤ eps) (he1 : eps ≤ 1)
    (beta : ℝ) (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2) :
    rootFidelity (amplitudeBob (erasureData eps) false)
      (amplitudeBob (erasureData eps) true) = eps ∧
    rootFidelity (phaseBob (erasureData eps) false)
      (phaseBob (erasureData eps) true) = eps ∧
    symmetricPrivateInformation (erasureData eps) = 1 - 2 * eps ∧
    (2 * eps < 1 → Filter.Tendsto (keyRate (erasureData eps) 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. 10, Appendix C.B, unnumbered: erasure-channel criterion
Read-back

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

For all real numbers ε,β\varepsilon,\betaε,β satisfying 0≤ε≤10\le\varepsilon\le10≤ε≤1 and 0<β<120<\beta<\tfrac120<β<21​, identify Boolean values with 0,10,10,1 and let ∣i⟩|i\rangle∣i⟩ denote coordinate vectors. Define ∣sa⟩=1−ε∣a,2⟩+ε∣2,a⟩|s_a\rangle=\sqrt{1-\varepsilon}|a,2\rangle+\sqrt{\varepsilon}|2,a\rangle∣sa​⟩=1−ε​∣a,2⟩+ε​∣2,a⟩ on Bob’s and Eve’s three-dimensional registers, and ∣ϕx⟩=2−1/2∑a=01(−1)xa∣a⟩C∣sa⟩BE|\phi_x\rangle=2^{-1/2}\sum_{a=0}^1(-1)^{xa}|a\rangle_C|s_a\rangle_{BE}∣ϕx​⟩=2−1/2∑a=01​(−1)xa∣a⟩C​∣sa​⟩BE​; the singleton ancillary registers in the supplied data are omitted through their canonical identifications. Put Ba=tr⁡E∣sa⟩⟨sa∣=(1−ε)∣a⟩⟨a∣+ε∣2⟩⟨2∣B_a=\operatorname{tr}_E|s_a\rangle\langle s_a|=(1-\varepsilon)|a\rangle\langle a|+\varepsilon|2\rangle\langle2|Ba​=trE​∣sa​⟩⟨sa​∣=(1−ε)∣a⟩⟨a∣+ε∣2⟩⟨2∣, Ea=tr⁡B∣sa⟩⟨sa∣=ε∣a⟩⟨a∣+(1−ε)∣2⟩⟨2∣E_a=\operatorname{tr}_B|s_a\rangle\langle s_a|=\varepsilon|a\rangle\langle a|+(1-\varepsilon)|2\rangle\langle2|Ea​=trB​∣sa​⟩⟨sa​∣=ε∣a⟩⟨a∣+(1−ε)∣2⟩⟨2∣, and Px=tr⁡E∣ϕx⟩⟨ϕx∣P_x=\operatorname{tr}_E|\phi_x\rangle\langle\phi_x|Px​=trE​∣ϕx​⟩⟨ϕx​∣, which retains registers C,BC,BC,B. For density matrices write Fr(ρ,σ)=Re⁡tr⁡ρ σρF_{\mathrm r}(\rho,\sigma)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt\rho\,\sigma\sqrt\rho}Fr​(ρ,σ)=Retrρ​σρ​​, and write χunif(W)=S2((W0+W1)/2)−(S2(W0)+S2(W1))/2\chi_{\mathrm{unif}}(W)=S_2((W_0+W_1)/2)-(S_2(W_0)+S_2(W_1))/2χunif​(W)=S2​((W0​+W1​)/2)−(S2​(W0​)+S2​(W1​))/2, where S2(ρ)=−Re⁡tr⁡(ρlog⁡2ρ)S_2(\rho)=-\operatorname{Re}\operatorname{tr}(\rho\log_2\rho)S2​(ρ)=−Retr(ρlog2​ρ) and zero spectral terms contribute zero. The assertions are

Fr(B0,B1)=ε,Fr(P0,P1)=ε,χunif(B)−χunif(E)=1−2ε.F_{\mathrm r}(B_0,B_1)=\varepsilon,\qquad F_{\mathrm r}(P_0,P_1)=\varepsilon,\qquad \chi_{\mathrm{unif}}(B)-\chi_{\mathrm{unif}}(E)=1-2\varepsilon.Fr​(B0​,B1​)=ε,Fr​(P0​,P1​)=ε,χunif​(B)−χunif​(E)=1−2ε.

The remaining assertion uses the following explicit index sets. For each natural number nnn, including n=0n=0n=0, put N=2nN=2^nN=2n and define a binary matrix AAA with indices 0≤i,j<N0\le i,j<N0≤i,j<N by Aij=1A_{ij}=1Aij​=1 exactly when, for every 0≤k<n0\le k<n0≤k<n, a set bit in position kkk of jjj implies a set bit in position n−1−kn-1-kn−1−k of iii. For r∈{0,1}r\in\{0,1\}r∈{0,1} define e0(u)=uAe_0(u)=uAe0​(u)=uA and e1(u)=uATe_1(u)=uA^{\mathsf T}e1​(u)=uAT, with arithmetic modulo two, and let J0,i={j:j<i}J_{0,i}=\{j:j<i\}J0,i​={j:j<i} and J1,i={j:i<j}J_{1,i}=\{j:i<j\}J1,i​={j:i<j}. For any binary-input matrix family WWW, define a matrix Σi,bW,r\Sigma^{W,r}_{i,b}Σi,bW,r​ indexed by pairs (v,y)(v,y)(v,y), where v:Jr,i→Boolv:J_{r,i}\to\mathrm{Bool}v:Jr,i​→Bool and y:{0,…,N−1}→Oy:\{0,\ldots,N-1\}\to Oy:{0,…,N−1}→O for the output index set OOO of WWW, by

Σi,bW,r((v,y),(v′,y′))={2−(N−1)∑u∈BoolNui=b, u∣Jr,i=v∏j=0N−1Wer(u)j(yj,yj′),v=v′,0,v≠v′.\Sigma^{W,r}_{i,b}((v,y),(v',y')) =\begin{cases} 2^{-(N-1)} \displaystyle\sum_{\substack{u\in\mathrm{Bool}^N\\u_i=b,\ u|_{J_{r,i}}=v}} \prod_{j=0}^{N-1}W_{e_r(u)_j}(y_j,y'_j),&v=v',\\ 0,&v\ne v'. \end{cases}Σi,bW,r​((v,y),(v′,y′))=⎩⎨⎧​2−(N−1)u∈BoolNui​=b, u∣Jr,i​​=v​∑​j=0∏N−1​Wer​(u)j​​(yj​,yj′​),0,​v=v′,v=v′.​

Set Gr(W)={i:Fr(Σi,0W,r,Σi,1W,r)<2−Nβ}G_r(W)=\{i:F_{\mathrm r}(\Sigma^{W,r}_{i,0},\Sigma^{W,r}_{i,1})<2^{-N^\beta}\}Gr​(W)={i:Fr​(Σi,0W,r​,Σi,1W,r​)<2−Nβ}. If 2ε<12\varepsilon<12ε<1, then the fraction

∣{0,…,N−1}∖(G0(B)∪G1(P))∣N\frac{\bigl|\{0,\ldots,N-1\}\setminus(G_0(B)\cup G_1(P))\bigr|}{N}N​{0,…,N−1}∖(G0​(B)∪G1​(P))​​

tends to zero as n→∞n\to\inftyn→∞. The convergence conclusion is conditional on 2ε<12\varepsilon<12ε<1; the three preceding equalities are asserted throughout 0≤ε≤10\le\varepsilon\le10≤ε≤1.

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