Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

asymptotic extended Hamming rate

Proved
QAlgorithms.Papers.Independent.Gap48.P33.extended_hamming_rate

by Goku · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

For every positive nnn, take an extended orthogonal error code of (6.11), with 2kn2^{k_n}2kn​ messages in a noiseless n-qubit reference and an n-qubit signal. All Pauli-error descendants of weight at most the integer tn≤nt_n\le ntn​≤n are orthonormal. If tn/n→p∈[0,3/4]t_n/n\to p\in[0,3/4]tn​/n→p∈[0,3/4], then

lim sup⁡n→∞knn≤2−H2(p)−plog⁡23=CQ(Np).\limsup_{n\to\infty}\frac{k_n}{n}\le2-H_2(p)-p\log_2 3=C_Q(\mathcal N_p).n→∞limsup​nkn​​≤2−H2​(p)−plog2​3=CQ​(Np​).

Here the final value is the attained all-density maximum of channel mutual information. This retains the exact nondegenerate assumptions of the counting argument, without asserting the following unrestricted operational converse.

Here H2H_2H2​ denotes binary Shannon entropy in bits, with 0log⁡0=00\log 0=00log0=0.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P33
Formal statement
namespace QAlgorithms.Papers.Independent.Gap48.P33

open scoped BigOperators Matrix ComplexConjugate

-- Reuse only definitions from the pinned accepted library; no imported theorem is used.

open QAlgorithms.Papers.Independent.Information100.P27 (shannon average labelInformation)

open QAlgorithms.Papers.Independent.Information100.P08 (canonicalPurification)

open QAlgorithms.Papers.Independent.Dependency50.P19 (mutualInformation first both)

open QAlgorithms.Papers.Independent.Dependency50.P24 (cqState)

open QAlgorithms.Papers.Independent.Dependency50.P45 (entropyExchange inputMutualInfo)

open QAlgorithms.Papers.Independent.Claimed50.P03 (pauliWeight wordSupport)

/-- PDF p.14, (6.12): SAME exact orthogonal codes, corrected lower-tail range.
The subsequent unrestricted weak converse is separately deferred. -/
theorem extended_hamming_rate (k t : ℕ → ℕ) (p : ℝ)
    (hp : 0 ≤ p) (hp1 : p ≤ 3 / 4)
    (ht : ∀ n, 0 < n → t n ≤ n)
    (hcode : ∀ n, 0 < n → ExtendedCode n (k n) (t n))
    (hlimit : Filter.Tendsto (fun n => messageRate (t n) n) Filter.atTop (nhds p)) :
    Filter.limsup (fun n => messageRate (k n) n) Filter.atTop ≤
      2 - binEntropy2 p - p * Real.logb 2 3 ∧
    IsGreatest (informationValues (pauliDepolarizing p))
      (2 - binEntropy2 p - p * Real.logb 2 3) := by sorry

end QAlgorithms.Papers.Independent.Gap48.P33
Source
On the von Neumann capacity of noisy quantum channels, arXiv:quant-ph/9609024v3, PDF p. 14, VI.B, (6.12): asymptotic extended Hamming rate
Read-back

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

Let k,t:N→Nk,t:\mathbb N\to\mathbb Nk,t:N→N and p∈Rp\in\mathbb Rp∈R, with 0≤p≤3/40\le p\le 3/40≤p≤3/4. Suppose that for every positive integer nnn, t(n)≤nt(n)\le nt(n)≤n, and there exist vectors vj∈C{0,1}n×{0,1}nv_j\in\mathbb C^{\{0,1\}^n\times\{0,1\}^n}vj​∈C{0,1}n×{0,1}n, indexed by 0≤j<2k(n)0\le j<2^{k(n)}0≤j<2k(n), such that the entire family

{(I⊗Pe)vj:0≤j<2k(n),e∈{0,1,2,3}n,#{i:ei≠0}≤t(n)}\left\{(I\otimes P_e)v_j: 0\le j<2^{k(n)},\quad e\in\{0,1,2,3\}^n,\quad \#\{i:e_i\ne0\}\le t(n)\right\}{(I⊗Pe​)vj​:0≤j<2k(n),e∈{0,1,2,3}n,#{i:ei​=0}≤t(n)}

is orthonormal, where Pe=⨂i=0n−1σeiP_e=\bigotimes_{i=0}^{n-1}\sigma_{e_i}Pe​=⨂i=0n−1​σei​​ and (σ0,σ1,σ2,σ3)=(I,X,Y,Z)(\sigma_0,\sigma_1,\sigma_2,\sigma_3)=(I,X,Y,Z)(σ0​,σ1​,σ2​,σ3​)=(I,X,Y,Z) are the identity and standard Pauli matrices. Suppose also that t(n)/n→pt(n)/n\to pt(n)/n→p as n→∞n\to\inftyn→∞. Then

lim sup⁡n→∞k(n)n≤2−h2(p)−plog⁡23.\limsup_{n\to\infty}\frac{k(n)}n \le 2-h_2(p)-p\log_2 3.n→∞limsup​nk(n)​≤2−h2​(p)−plog2​3.

Moreover, this same number is the greatest element of

{S(ρ)+S(Φp(ρ))−S ⁣((id⁡⊗Φp)(∣Ωρ⟩⟨Ωρ∣)):ρ∈M2(C), ρ⪰0, tr⁡ρ=1},\left\{S(\rho)+S(\Phi_p(\rho))-S\!\left((\operatorname{id}\otimes\Phi_p) \bigl(|\Omega_\rho\rangle\langle\Omega_\rho|\bigr)\right): \rho\in M_2(\mathbb C),\ \rho\succeq0,\ \operatorname{tr}\rho=1\right\},{S(ρ)+S(Φp​(ρ))−S((id⊗Φp​)(∣Ωρ​⟩⟨Ωρ​∣)):ρ∈M2​(C), ρ⪰0, trρ=1},

where

Φp(A)=(1−p)A+p3(XAX†+YAY†+ZAZ†),Ωρ(a,b)=(ρ)b,a(a,b∈{0,1}).\Phi_p(A)=(1-p)A+\frac p3(XAX^\dagger+YAY^\dagger+ZAZ^\dagger), \qquad \Omega_\rho(a,b)=(\sqrt{\rho})_{b,a} \quad(a,b\in\{0,1\}).Φp​(A)=(1−p)A+3p​(XAX†+YAY†+ZAZ†),Ωρ​(a,b)=(ρ​)b,a​(a,b∈{0,1}).

Here ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣ has entries vavb‾v_a\overline{v_b}va​vb​​, the identity acts on the first factor and Φp\Phi_pΦp​ on the second, S(A)=−Re⁡tr⁡(f(A))S(A)=-\operatorname{Re}\operatorname{tr}\bigl(f(A)\bigr)S(A)=−Retr(f(A)) with f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x interpreted through continuous functional calculus, and h2(p)=[−plog⁡p−(1−p)log⁡(1−p)]/log⁡2h_2(p)=[-p\log p-(1-p)\log(1-p)]/\log2h2​(p)=[−plogp−(1−p)log(1−p)]/log2, with zero logarithmic terms assigned value zero. Being the greatest element asserts both attainment by some density matrix ρ\rhoρ and an upper bound for every such ρ\rhoρ. The hypotheses include p=0p=0p=0 and p=3/4p=3/4p=3/4, allow t(n)=0t(n)=0t(n)=0 or k(n)=0k(n)=0k(n)=0, and impose no code or radius condition at n=0n=0n=0; both rate expressions at n=0n=0n=0 are defined as zero by the total division convention.

Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me