Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Phase-good positions are very bad for Eve, with eventual packing

Open
QAlgorithms.Papers.Independent.Intakethird100.P23.good_set_disjointness

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

prove2quantum

Let U:C2→Cb⊗CeU:\mathbb C^2\to\mathbb C^b\otimes\mathbb C^eU:C2→Cb⊗Ce be an isometry, so U†U=IU^\dagger U=IU†U=I, defining a memoryless channel to Bob and its fixed complementary channel to Eve. All binary inputs are uniform and entropies are in bits. At recursion depth n≥0n\ge0n≥0, let N=2nN=2^nN=2n and apply the coherent Arikan encoder GN=BNF⊗nG_N=B_NF^{\otimes n}GN​=BN​F⊗n, where F=(1011)F=\left(\begin{smallmatrix}1&0\\1&1\end{smallmatrix}\right)F=(11​01​). Amplitude synthesis retains previous bits and averages future bits; phase synthesis retains future bits and averages previous bits, with Bob's coherent copy register CNC^NCN retained. Write r(W)=∥ρ0ρ1∥1=F(W)r(W)=\|\sqrt{\rho_0}\sqrt{\rho_1}\|_1=\sqrt{F(W)}r(W)=∥ρ0​​ρ1​​∥1​=F(W)​ for the root fidelity of a binary channel WWW. Fix 0<β<1/20<\beta<1/20<β<1/2 and put tn=2−Nβt_n=2^{-N^\beta}tn​=2−Nβ. Let GA,GP,GEG_A,G_P,G_EGA​,GP​,GE​ be the respective amplitude-good, phase-good, and Eve-amplitude-good sets, with the strict rule r(WN(i))<tnr(W_N^{(i)})<t_nr(WN(i)​)<tn​. Write A=GA∩GP\mathcal A=G_A\cap G_PA=GA​∩GP​ and B=(GA∪GP)c\mathcal B=(G_A\cup G_P)^cB=(GA​∪GP​)c. Each set depends on nnn and β\betaβ.

For every nnn and every i∈GPi\in G_Pi∈GP​,

r(WE,N(i))>1−2tn.r(W_{E,N}^{(i)})>1-2t_n.r(WE,N(i)​)>1−2tn​.

There is a depth n0n_0n0​ such that for every n≥n0n\ge n_0n≥n0​, the sets GPG_PGP​ and GEG_EGE​ are disjoint, as are B\mathcal BB and GPG_PGP​. If the channel is degradable from Bob to Eve, then B\mathcal BB and GEG_EGE​ are also disjoint, and

∣GE∣+∣GP∣+∣B∣≤N.|G_E|+|G_P|+|\mathcal B|\le N.∣GE​∣+∣GP​∣+∣B∣≤N.

This packing statement is the finite-blocklength input to the vanishing consumption-rate argument.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P23
Formal statement
namespace QAlgorithms.Papers.Independent.Intakethird100.P23

open scoped BigOperators ComplexConjugate Matrix

open Filter

open QAlgorithms (Qubits)

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

attribute [local instance] Classical.propDecidable

/-- Quantitative very-bad conclusion and eventual disjoint-set packing,
Appendix C, PDF p.9. Degradability is needed only for the final two clauses. -/
theorem good_set_disjointness {b e : ℕ} (U : Matrix (Fin b × Fin e) Bool ℂ)
    (hU : Uᴴ * U = 1) (beta : ℝ) (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2) :
    (∀ n, ∀ i ∈ goodPhase U n beta,
      1 - 2 * threshold n beta < channelRootFidelity (environmentSplit U n i)) ∧
    (∃ n0 : ℕ, ∀ n ≥ n0,
      Disjoint (goodPhase U n beta) (goodEnvironment U n beta) ∧
      Disjoint (consumedSet U n beta) (goodPhase U n beta) ∧
      (IsDegradable U →
        Disjoint (consumedSet U n beta) (goodEnvironment U n beta) ∧
        (goodEnvironment U n beta).card + (goodPhase U n beta).card +
          (consumedSet U n beta).card ≤ 2 ^ n)) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P23
Source
Quantum polar codes for arbitrary channels, arXiv:1201.2906v2, PDF p. 9, Appendix C
Read-back

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

For all natural numbers b,eb,eb,e, every complex matrix UUU with rows indexed by {0,…,b−1}×{0,…,e−1}\{0,\ldots,b-1\}\times\{0,\ldots,e-1\}{0,…,b−1}×{0,…,e−1} and Boolean columns satisfying U†U=I2U^\dagger U=I_2U†U=I2​, and every real 0<β<120<\beta<\tfrac120<β<21​, define the following objects. For each n∈Nn\in\mathbb Nn∈N, including zero, put N=2nN=2^nN=2n, identify bits with 0,10,10,1, and set

Grj(n)=1 ⁣{∀ 0≤k<n, ⌊j/2k⌋ mod 2≤⌊r/2n−1−k⌋ mod 2},pn(u)j=(∑r<NurGrj(n)) mod 2,G^{(n)}_{rj} = \mathbf1\!\left\{ \forall\,0\le k<n,\ \left\lfloor j/2^k\right\rfloor\bmod2 \le \left\lfloor r/2^{n-1-k}\right\rfloor\bmod2 \right\}, \qquad p_n(u)_j=\left(\sum_{r<N}u_rG^{(n)}_{rj}\right)\bmod2,Grj(n)​=1{∀0≤k<n, ⌊j/2k⌋mod2≤⌊r/2n−1−k⌋mod2},pn​(u)j​=(r<N∑​ur​Grj(n)​)mod2, vu(r,z)=∏j<NU(rj,zj),pn(u)j,wx(r,u,z)=2−N/2(−1)∑jxjujvu(r,z).v_u(\mathbf r,\mathbf z)=\prod_{j<N}U_{(r_j,z_j),p_n(u)_j}, \qquad w_x(\mathbf r,u,\mathbf z) = 2^{-N/2}(-1)^{\sum_jx_ju_j}v_u(\mathbf r,\mathbf z).vu​(r,z)=j<N∏​U(rj​,zj​),pn​(u)j​​,wx​(r,u,z)=2−N/2(−1)∑j​xj​uj​vu​(r,z).

Let An(u)=Tr⁡z∣vu⟩⟨vu∣A_n(u)=\operatorname{Tr}_{\mathbf z}|v_u\rangle\langle v_u|An​(u)=Trz​∣vu​⟩⟨vu​∣, En(u)=Tr⁡r∣vu⟩⟨vu∣E_n(u)=\operatorname{Tr}_{\mathbf r}|v_u\rangle\langle v_u|En​(u)=Trr​∣vu​⟩⟨vu​∣, and Qn(x)=Tr⁡z∣wx⟩⟨wx∣Q_n(x)=\operatorname{Tr}_{\mathbf z}|w_x\rangle\langle w_x|Qn​(x)=Trz​∣wx​⟩⟨wx​∣. Let mi−(u)m_i^-(u)mi−​(u) retain bits with j<ij<ij<i and mi+(u)m_i^+(u)mi+​(u) retain bits with i<ji<ji<j, setting the other bits to zero. Define

An,i(a)=2−(N−1)∑u:ui=a∣mi−(u)⟩⟨mi−(u)∣⊗An(u),A_{n,i}(a)=2^{-(N-1)}\sum_{u:u_i=a} |m_i^-(u)\rangle\langle m_i^-(u)|\otimes A_n(u),An,i​(a)=2−(N−1)u:ui​=a∑​∣mi−​(u)⟩⟨mi−​(u)∣⊗An​(u), En,i(a)=2−(N−1)∑u:ui=a∣mi−(u)⟩⟨mi−(u)∣⊗En(u),Pn,i(a)=2−(N−1)∑x:xi=a∣mi+(x)⟩⟨mi+(x)∣⊗Qn(x).E_{n,i}(a)=2^{-(N-1)}\sum_{u:u_i=a} |m_i^-(u)\rangle\langle m_i^-(u)|\otimes E_n(u), \qquad P_{n,i}(a)=2^{-(N-1)}\sum_{x:x_i=a} |m_i^+(x)\rangle\langle m_i^+(x)|\otimes Q_n(x).En,i​(a)=2−(N−1)u:ui​=a∑​∣mi−​(u)⟩⟨mi−​(u)∣⊗En​(u),Pn,i​(a)=2−(N−1)x:xi​=a∑​∣mi+​(x)⟩⟨mi+​(x)∣⊗Qn​(x).

Write Fr(K,L)=Re⁡tr⁡K L KF_{\mathrm r}(K,L)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt K\,L\,\sqrt K}Fr​(K,L)=RetrK​LK​​, with matrix square roots given by real continuous functional calculus, and τn=2−Nβ\tau_n=2^{-N^\beta}τn​=2−Nβ. Let

An={i<N:Fr(An,i(0),An,i(1))<τn},Pn={i<N:Fr(Pn,i(0),Pn,i(1))<τn},\mathcal A_n=\{i<N:F_{\mathrm r}(A_{n,i}(0),A_{n,i}(1))<\tau_n\}, \quad \mathcal P_n=\{i<N:F_{\mathrm r}(P_{n,i}(0),P_{n,i}(1))<\tau_n\},An​={i<N:Fr​(An,i​(0),An,i​(1))<τn​},Pn​={i<N:Fr​(Pn,i​(0),Pn,i​(1))<τn​}, En={i<N:Fr(En,i(0),En,i(1))<τn},Cn={0,…,N−1}∖(An∪Pn).\mathcal E_n=\{i<N:F_{\mathrm r}(E_{n,i}(0),E_{n,i}(1))<\tau_n\}, \qquad \mathcal C_n=\{0,\ldots,N-1\}\setminus(\mathcal A_n\cup\mathcal P_n).En​={i<N:Fr​(En,i​(0),En,i​(1))<τn​},Cn​={0,…,N−1}∖(An​∪Pn​).

The statement asserts that, for every nnn and every i∈Pni\in\mathcal P_ni∈Pn​,

1−2τn<Fr(En,i(0),En,i(1)),1-2\tau_n<F_{\mathrm r}(E_{n,i}(0),E_{n,i}(1)),1−2τn​<Fr​(En,i​(0),En,i​(1)),

and that there exists a natural number n0n_0n0​, with no stipulated positive lower bound, such that every n≥n0n\ge n_0n≥n0​ satisfies

Pn∩En=∅,Cn∩Pn=∅.\mathcal P_n\cap\mathcal E_n=\varnothing, \qquad \mathcal C_n\cap\mathcal P_n=\varnothing.Pn​∩En​=∅,Cn​∩Pn​=∅.

For those same nnn, if there exists a finite Kraus map D(X)=∑ℓ<mKℓXKℓ†D(X)=\sum_{\ell<m}K_\ell X K_\ell^\daggerD(X)=∑ℓ<m​Kℓ​XKℓ†​, with KℓK_\ellKℓ​ of size e×be\times be×b and ∑ℓ<mKℓ†Kℓ=Ib\sum_{\ell<m}K_\ell^\dagger K_\ell=I_b∑ℓ<m​Kℓ†​Kℓ​=Ib​, satisfying

Tr⁡B(UρU†)=D ⁣(Tr⁡E(UρU†))for every complex 2×2 matrix ρ,\operatorname{Tr}_{B}(U\rho U^\dagger) = D\!\left(\operatorname{Tr}_{E}(U\rho U^\dagger)\right) \quad\text{for every complex }2\times2\text{ matrix }\rho,TrB​(UρU†)=D(TrE​(UρU†))for every complex 2×2 matrix ρ,

then also

Cn∩En=∅,∣En∣+∣Pn∣+∣Cn∣≤2n.\mathcal C_n\cap\mathcal E_n=\varnothing, \qquad |\mathcal E_n|+|\mathcal P_n|+|\mathcal C_n|\le 2^n.Cn​∩En​=∅,∣En​∣+∣Pn​∣+∣Cn​∣≤2n.

If b=0b=0b=0 or e=0e=0e=0, the isometry hypothesis is impossible.

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