Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gross and signed net polar index rates

Open
QAlgorithms.Papers.Independent.Intakethird100.P23.gross_and_net_rates

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, the exact identity is

∣A∣−∣B∣=∣GA∣+∣GP∣−N.|\mathcal A|-|\mathcal B|=|G_A|+|G_P|-N.∣A∣−∣B∣=∣GA​∣+∣GP​∣−N.

There exist real limits a=lim⁡n∣A∣/Na=\lim_n |\mathcal A|/Na=limn​∣A∣/N and bc=lim⁡n∣B∣/Nb_c=\lim_n |\mathcal B|/Nbc​=limn​∣B∣/N, and they satisfy

a=I(WA)+I(WP)−1+bc=Ic(U)+bc,lim⁡n→∞∣A∣−∣B∣N=Ic(U).a=I(W_A)+I(W_P)-1+b_c=I_c(U)+b_c, \qquad \lim_{n\to\infty}\frac{|\mathcal A|-|\mathcal B|}{N}=I_c(U).a=I(WA​)+I(WP​)−1+bc​=Ic​(U)+bc​,n→∞lim​N∣A∣−∣B∣​=Ic​(U).

Here I(WA)I(W_A)I(WA​) and I(WP)I(W_P)I(WP​) are symmetric Holevo informations, and Ic(U)=H(B)−H(E)=H(B)−H(AB)I_c(U)=H(B)-H(E)=H(B)-H(AB)Ic​(U)=H(B)−H(E)=H(B)−H(AB) is evaluated on the purification of the maximally mixed qubit input. The net rate is a signed real quantity.

These identities distinguish generated and consumed ebits without optimizing or regularizing coherent information.

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

/-- Exact set identity, existence of gross-rate limits, Eq.(10), and signed
net-rate limit (Appendix A, PDF p.6). Casts precede subtraction. -/
theorem gross_and_net_rates {b e : ℕ} (U : Matrix (Fin b × Fin e) Bool ℂ)
    (hU : Uᴴ * U = 1) (beta : ℝ) (hbeta0 : 0 < beta) (hbeta1 : beta < 1 / 2) :
    (∀ n, ((informationSet U n beta).card : ℝ) - ((consumedSet U n beta).card : ℝ) =
      ((goodAmplitude U n beta).card : ℝ) + ((goodPhase U n beta).card : ℝ) -
        ((2 ^ n : ℕ) : ℝ)) ∧
    (∃ generated consumed : ℝ,
      Tendsto (fun n => indexRate (informationSet U n beta)) atTop (nhds generated) ∧
      Tendsto (fun n => indexRate (consumedSet U n beta)) atTop (nhds consumed) ∧
      generated = amplitudeInformation U + phaseInformation U - 1 + consumed ∧
      generated = symmetricCoherentInformation U + consumed) ∧
    Tendsto (fun n => indexRate (informationSet U n beta) - indexRate (consumedSet U n beta))
      atTop (nhds (symmetricCoherentInformation U)) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P23
Source
Quantum polar codes for arbitrary channels, arXiv:1201.2906v2, PDF p. 6, Appendix A, Eq. (10)
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 quantities, identifying bits with 0,10,10,1. For each n∈Nn\in\mathbb Nn∈N, put N=2nN=2^nN=2n, let

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,

and set

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).

Write 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 the bits with j<ij<ij<i and set all other bits to zero, and let mi+(u)m_i^+(u)mi+​(u) retain the bits with i<ji<ji<j and set all others to zero. Define

An,i(a)=2−(N−1)∑u:ui=a∣mi−(u)⟩⟨mi−(u)∣⊗An(u),Pn,i(a)=2−(N−1)∑x:xi=a∣mi+((x)⟩⟨mi+(x)∣⊗Qn(x),A_{n,i}(a)=2^{-(N-1)}\sum_{u:u_i=a} |m_i^-(u)\rangle\langle m_i^-(u)|\otimes A_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),An,i​(a)=2−(N−1)u:ui​=a∑​∣mi−​(u)⟩⟨mi−​(u)∣⊗An​(u),Pn,i​(a)=2−(N−1)x:xi​=a∑​∣mi+​((x)⟩⟨mi+​(x)∣⊗Qn​(x),

where in the second formula the classical label is mi+(x)m_i^+(x)mi+​(x). For square matrices put 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​​ and S(K)=−Re⁡tr⁡[(x↦xlog⁡2x)(K)]S(K)=-\operatorname{Re}\operatorname{tr}[(x\mapsto x\log_2x)(K)]S(K)=−Retr[(x↦xlog2​x)(K)], using real continuous functional calculus. Define

An={i<N:Fr(An,i(0),An,i(1))<2−Nβ},Pn={i<N:Fr(Pn,i(0),Pn,i(1))<2−Nβ},\mathcal A_n=\{i<N:F_{\mathrm r}(A_{n,i}(0),A_{n,i}(1))<2^{-N^\beta}\}, \quad \mathcal P_n=\{i<N:F_{\mathrm r}(P_{n,i}(0),P_{n,i}(1))<2^{-N^\beta}\},An​={i<N:Fr​(An,i​(0),An,i​(1))<2−Nβ},Pn​={i<N:Fr​(Pn,i​(0),Pn,i​(1))<2−Nβ}, In=An∩Pn,Cn={0,…,N−1}∖(An∪Pn).\mathcal I_n=\mathcal A_n\cap\mathcal P_n, \qquad \mathcal C_n=\{0,\ldots,N-1\}\setminus(\mathcal A_n\cup\mathcal P_n).In​=An​∩Pn​,Cn​={0,…,N−1}∖(An​∪Pn​).

For a∈{0,1}a\in\{0,1\}a∈{0,1}, abbreviate Aa=A0((a))A_a=A_0((a))Aa​=A0​((a)), Ea=E0((a))E_a=E_0((a))Ea​=E0​((a)), and Qa=Q0((a))Q_a=Q_0((a))Qa​=Q0​((a)), and put

IA=S ⁣(A0+A12)−S(A0)+S(A1)2,IP=S ⁣(Q0+Q12)−S(Q0)+S(Q1)2,I_A=S\!\left(\frac{A_0+A_1}{2}\right)-\frac{S(A_0)+S(A_1)}2, \qquad I_P=S\!\left(\frac{Q_0+Q_1}{2}\right)-\frac{S(Q_0)+S(Q_1)}2,IA​=S(2A0​+A1​​)−2S(A0​)+S(A1​)​,IP​=S(2Q0​+Q1​​)−2S(Q0​)+S(Q1​)​, Ic=S ⁣(A0+A12)−S ⁣(E0+E12).I_{\mathrm c} = S\!\left(\frac{A_0+A_1}{2}\right) - S\!\left(\frac{E_0+E_1}{2}\right).Ic​=S(2A0​+A1​​)−S(2E0​+E1​​).

The declaration asserts all three conclusions:

∀n∈N,∣In∣−∣Cn∣=∣An∣+∣Pn∣−2n;\forall n\in\mathbb N,\qquad |\mathcal I_n|-|\mathcal C_n| = |\mathcal A_n|+|\mathcal P_n|-2^n;∀n∈N,∣In​∣−∣Cn​∣=∣An​∣+∣Pn​∣−2n;

there exist real numbers g,cg,cg,c such that

∣In∣2n⟶g,∣Cn∣2n⟶c,g=IA+IP−1+c,g=Ic+c;\frac{|\mathcal I_n|}{2^n}\longrightarrow g, \qquad \frac{|\mathcal C_n|}{2^n}\longrightarrow c, \qquad g=I_A+I_P-1+c, \qquad g=I_{\mathrm c}+c;2n∣In​∣​⟶g,2n∣Cn​∣​⟶c,g=IA​+IP​−1+c,g=Ic​+c;

and

∣In∣2n−∣Cn∣2n⟶Ic.\frac{|\mathcal I_n|}{2^n}-\frac{|\mathcal C_n|}{2^n} \longrightarrow I_{\mathrm c}.2n∣In​∣​−2n∣Cn​∣​⟶Ic​.

Cardinalities in the subtraction identity are interpreted as real numbers. The universal identity includes n=0n=0n=0, for which N=1N=1N=1; the isometry hypothesis is impossible when b=0b=0b=0 or e=0e=0e=0.

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