Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Classical chi-square upper bound for the thermal rate gap

Open
QAlgorithms.Papers.Independent.Intake100.P74.classical_rate_gap_chiSquare_bound

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Fix m≥2m\ge2m≥2, N>0N>0N>0, 0≤k≤10\le k\le10≤k≤1, and Nc≥0N_c\ge0Nc​≥0. Let XmX_mXm​ be a finite real law with nonnegative normalized weights, mean zero and second moment one, and use two independent copies in Zm=N/2(Xm+iXm′)Z_m=\sqrt{N/2}(X_m+iX'_m)Zm​=N/2​(Xm​+iXm′​). Let ρm\rho_mρm​ be the average output of the attenuation-plus-noise channel and N′=k2N+NcN'=k^2N+N_cN′=k2N+Nc​. All entropies are in nats. Write g(t)=(t+1)log⁡(t+1)−tlog⁡tg(t)=(t+1)\log(t+1)-t\log tg(t)=(t+1)log(t+1)−tlogt, with 0log⁡0=00\log0=00log0=0. The output entropy is finite and at most g(N′)g(N')g(N′). The Holevo-information gap is ΔB=g(N′)−H(ρm)\Delta_B=g(N')-H(\rho_m)ΔB​=g(N′)−H(ρm​), since the common conditional entropy g(Nc)g(N_c)g(Nc​) cancels. If N′>0N'>0N′>0, use s=k2N/(N′(N′+1)−k2N)s=k^2N/(\sqrt{N'(N'+1)}-k^2N)s=k2N/(N′(N′+1)​−k2N), Ym=sXm+GY_m=\sqrt{s}X_m+GYm​=s​Xm​+G, and Y∼N(0,1+s)Y\sim\mathcal N(0,1+s)Y∼N(0,1+s). Then

ΔB≤(1+χ2(PYm,PY))2−1.\Delta_B\le(1+\chi^2(P_{Y_m},P_Y))^2-1.ΔB​≤(1+χ2(PYm​​,PY​))2−1.

The right side may be infinite. If N′=0N'=0N′=0, the gap is zero, without evaluating the displayed quotient. The square uses the identical law in both coordinates; this is an upper bound on the quantum rate loss.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P74
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P74

open MeasureTheory

open scoped BigOperators ENNReal

open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity)

open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient thermalMatrix)

open QAlgorithms.Papers.Independent.Support50.P14 (photonEnergy)

open QAlgorithms.Papers.Independent.Next46.P32 (complexNormal spectralEntropyNats)

open QAlgorithms.Papers.Independent.Claimed50.P39 (thermalProbability g)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.5, (12): iid centered variance-one finite coordinates, with the
square appropriate to identical laws. The complete replacing-vacuum endpoint
has zero gap and is never fed to the comparison SNR formula. -/
theorem classical_rate_gap_chiSquare_bound
    (m : ℕ) (hm : 2 ≤ m) (k Nc N : ℝ)
    (hk : 0 ≤ k) (hkUpper : k ≤ 1) (hNc : 0 ≤ Nc) (hN : 0 < N)
    (p x : Fin m → ℝ) (hp : ∀ j, 0 ≤ p j) (hpTotal : ∑ j, p j = 1)
    (hxMean : ∑ j, p j * x j = 0) (hxVariance : ∑ j, p j * (x j) ^ 2 = 1) :
    singleModeEntropy (constellationOutput k Nc N (finiteRealLaw p x)
      (finiteRealLaw p x)) ≤ ENNReal.ofReal (g (k ^ 2 * N + Nc)) ∧
    (0 < k ^ 2 * N + Nc →
      classicalInformationGap k Nc N (finiteRealLaw p x) ≤
        (1 + classicalChiSquare (comparisonSnr k Nc N) (finiteRealLaw p x)) ^ 2 - 1) ∧
    (k ^ 2 * N + Nc = 0 → classicalInformationGap k Nc N (finiteRealLaw p x) = 0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P74

end
Source
Coherent-state constellations and polar codes for thermal Gaussian channels, arXiv:1603.05970v3, PDF p. 5, §4 (12): classical chi-square bound on the quantum rate gap
Read-back

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

Let m≥2m\ge2m≥2 be a natural number, let k,Nc,N∈Rk,N_c,N\in\mathbb Rk,Nc​,N∈R satisfy 0≤k≤10\le k\le10≤k≤1, Nc≥0N_c\ge0Nc​≥0, and N>0N>0N>0, and let pj,xj∈Rp_j,x_j\in\mathbb Rpj​,xj​∈R, 0≤j<m0\le j<m0≤j<m, satisfy

pj≥0,∑jpj=1,∑jpjxj=0,∑jpjxj2=1.p_j\ge0,\qquad \sum_jp_j=1,\qquad \sum_jp_jx_j=0,\qquad \sum_jp_jx_j^2=1.pj​≥0,j∑​pj​=1,j∑​pj​xj​=0,j∑​pj​xj2​=1.

Define μ=∑j[pj]+δxj\mu=\sum_j[p_j]_+\delta_{x_j}μ=∑j​[pj​]+​δxj​​, M=k2N+NcM=k^2N+N_cM=k2N+Nc​, and s=k2N/(M(M+1)−k2N)s=k^2N/(\sqrt{M(M+1)}-k^2N)s=k2N/(M(M+1)​−k2N). Let γNc=δ0\gamma_{N_c}=\delta_0γNc​​=δ0​ when Nc=0N_c=0Nc​=0, and otherwise let it have density [e−∣w∣2/Nc/(πNc)]+[e^{-|w|^2/N_c}/(\pi N_c)]_+[e−∣w∣2/Nc​/(πNc​)]+​. Push μ⊗μ⊗γNc\mu\otimes\mu\otimes\gamma_{N_c}μ⊗μ⊗γNc​​ forward by (x,y,w)↦kN/2(x+iy)+w(x,y,w)\mapsto k\sqrt{N/2}(x+\mathrm i y)+w(x,y,w)↦kN/2​(x+iy)+w to obtain λ\lambdaλ, and put

ca(z)=e−∣z∣2/2zaa!,ρab=∫ca(z)cb(z)‾ dλ(z).c_a(z)=e^{-|z|^2/2}\frac{z^a}{\sqrt{a!}}, \qquad \rho_{ab}=\int c_a(z)\overline{c_b(z)}\,d\lambda(z).ca​(z)=e−∣z∣2/2a!​za​,ρab​=∫ca​(z)cb​(z)​dλ(z).

Define H(ρ)H(\rho)H(ρ) as the infimum of ∑r[−wrlog⁡wr]+\sum_r[-w_r\log w_r]_+∑r​[−wr​logwr​]+​ over all sequences wr≥0w_r\ge0wr​≥0 and vr∈ℓ2(N;C)v_r\in\ell^2(\mathbb N;\mathbb C)vr​∈ℓ2(N;C) such that (wr)(w_r)(wr​) is summable with sum 111, each vrv_rvr​ with wr>0w_r>0wr​>0 has norm 111, distinct positive-weight vectors are orthogonal, and ρab=∑r′wrvr(a)vr(b)‾\rho_{ab}=\sum'_r w_rv_r(a)\overline{v_r(b)}ρab​=∑r′​wr​vr​(a)vr​(b)​ for every a,ba,ba,b; the infimum is ∞\infty∞ if there is no such resolution. This is the entropy obtained by viewing ρ\rhoρ as a kernel indexed by one-coordinate number strings. Write

g(t)=(t+1)log⁡(t+1)−tlog⁡t,Δ={∞,H(ρ)=∞,[g(M)]+\dotminusH(ρ),H(ρ)≠∞,g(t)=(t+1)\log(t+1)-t\log t,\qquad \Delta= \begin{cases} \infty,&H(\rho)=\infty,\\ [g(M)]_+\dotminus H(\rho),&H(\rho)\ne\infty, \end{cases}g(t)=(t+1)log(t+1)−tlogt,Δ={∞,[g(M)]+​\dotminusH(ρ),​H(ρ)=∞,H(ρ)=∞,​

and, with φv(t)=e−t2/(2v)/2πv\varphi_v(t)=e^{-t^2/(2v)}/\sqrt{2\pi v}φv​(t)=e−t2/(2v)/2πv​, define

Cs(μ)=(∫R−(∫R−[φ1(y−s x)]+ dμ(x))2[φ1+s(y)]+ dy)\dotminus1.C_s(\mu)= \left( \int_{\mathbb R}^{-} \frac{\left(\int_{\mathbb R}^{-} [\varphi_1(y-\sqrt{s}\,x)]_+\,d\mu(x)\right)^2} {[\varphi_{1+s}(y)]_+}\,dy \right)\dotminus1.Cs​(μ)=​∫R−​[φ1+s​(y)]+​(∫R−​[φ1​(y−s​x)]+​dμ(x))2​dy​\dotminus1.

Then

H(ρ)≤[g(M)]+,M>0 ⟹ Δ≤(1+Cs(μ))2\dotminus1,M=0 ⟹ Δ=0.H(\rho)\le[g(M)]_+,\qquad M>0\ \Longrightarrow\ \Delta\le(1+C_s(\mu))^2\dotminus1, \qquad M=0\ \Longrightarrow\ \Delta=0.H(ρ)≤[g(M)]+​,M>0 ⟹ Δ≤(1+Cs​(μ))2\dotminus1,M=0 ⟹ Δ=0.

Here [r]+=ofReal⁡(r)[r]_+=\operatorname{ofReal}(r)[r]+​=ofReal(r), and \dotminus\dotminus\dotminus is subtraction truncated at zero in [0,∞][0,\infty][0,∞]. In particular, the first inequality makes H(ρ)H(\rho)H(ρ) finite. Zero weights and repeated xjx_jxj​ are allowed, as is k=0k=0k=0.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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