Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mean-energy mixed-codeword counterexample

Open
QAlgorithms.Papers.Independent.Bridge50.P27.mixedMeanCounterexample

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

prove2quantum

Let NS>0N_S>0NS​>0. Let the channel be either thermal noise with 0<η≤10<\eta\le10<η≤1 and NB≥0N_B\ge0NB​≥0, or additive noise with v≥0v\ge0v≥0. A mean constraint requires total expected photons at most nNSnN_SnNS​ for each message separately. Write A(P)=g(ηP+(1−η)NB)−g((1−η)NB)A(P)=g(\eta P+(1-\eta)N_B)-g((1-\eta)N_B)A(P)=g(ηP+(1−η)NB​)−g((1−η)NB​) in the thermal case and A(P)=g(P+v)−g(v)A(P)=g(P+v)-g(v)A(P)=g(P+v)−g(v) in the additive case. All codes use the full countable Fock space and actual finite POVMs. Let B=g(ηNS+(1−η)NB)−log⁡2(1+2(1−η)NB)B=g(\eta N_S+(1-\eta)N_B)-\log_2(1+2(1-\eta)N_B)B=g(ηNS​+(1−η)NB​)−log2​(1+2(1−η)NB​) for the thermal channel, and B=g(NS+v)−log⁡2(1+2v)B=g(N_S+v)-\log_2(1+2v)B=g(NS​+v)−log2​(1+2v) for the additive channel. There exist P>NSP>N_SP>NS​, a fixed rate B<R<A(P)B<R<A(P)B<R<A(P), reliable coherent codebooks ∣αn(m)⟩|\alpha^n(m)\rangle∣αn(m)⟩ of energy at most nPnPnP, their decoders, and errors ϵn→0\epsilon_n\to0ϵn​→0 bounding every message error. Put p=1−NS/Pp=1-N_S/Pp=1−NS​/P and dilute each word by vacuum. The resulting actual family has the same decoder, eventual rate at least RRR, and

ρm=(1−p)∣αn(m)⟩⟨αn(m)∣+p∣0⟩⟨0∣⊗n,Pr⁡(m^=m∣m)≥NSP(1−ϵn).\rho_m=(1-p)|\alpha^n(m)\rangle\langle\alpha^n(m)|+p|0\rangle\langle0|^{\otimes n},\qquad\Pr(\widehat m=m\mid m)\ge\frac{N_S}{P}(1-\epsilon_n).ρm​=(1−p)∣αn(m)⟩⟨αn(m)∣+p∣0⟩⟨0∣⊗n,Pr(m=m∣m)≥PNS​​(1−ϵn​).

Every diluted codeword satisfies the mean constraint, and average success does not tend to zero. This constructs the failure of the strong converse under a mean constraint, including the reliable high-energy code family as part of the conclusion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P27
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P27

open Filter MeasureTheory

open scoped BigOperators ENNReal Topology

-- Exact accepted definitions, checked against their complete source bodies.

open QAlgorithms.Papers.Independent.Frontier30.P24 (bosonicEntropy)

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

open QAlgorithms.Papers.Independent.Renew46.P30 (photonTotal)

open QAlgorithms.Papers.Independent.Support50.P06 (totalEnergy)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Section 4.1, PDF pp.8–9, (24)–(28). Constructs both the reliable coherent
family and its diluted family. P and the strict rate are chosen in the conclusion.
NS>0 and nonzero signal transmissivity exclude vacuum/replacer degeneracies.
Coherent codewords have energy at most nP; literal iid draws do not all have
exact energy nP. The same decoder is used for the actual mixed codewords. -/
theorem mixedMeanCounterexample (C : ChannelSpec) (hC : ValidChannel C)
    (hsignal : match C with | .thermal eta _ => 0 < eta | .additive _ => True)
    (NS : ℝ) (hNS : 0 < NS) :
    ∃ P R : ℝ, NS < P ∧ giovannettiRateBound C NS < R ∧ R < coherentCodeRateBits C P ∧
      ∃ (M : ℕ → ℕ) (F G : (n : ℕ) → FockCommunicationCode n (M n))
        (alpha : (n : ℕ) → Fin (M n) → Fin n → ℂ) (epsilon : ℕ → ℝ),
        ReliableCoherent C P F alpha epsilon ∧
        (∀ᶠ n in atTop, R ≤ communicationRateBits n (M n)) ∧
        (∀ n, 0 < n →
          MeanConstraint NS (G n) ∧ (G n).decoder = (F n).decoder ∧
          ∀ m, ((G n).encoder m).coefficients = mixedWord (alpha n m) (1 - NS / P) ∧
            (NS / P) * (1 - epsilon n) ≤ messageSuccess C (G n) m) ∧
        ¬ Tendsto (fun n => decodingSuccessProbability C (G n)) atTop (𝓝 0) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P27

end
Source
Strong converse rates for classical communication over thermal and additive noise bosonic channels, arXiv:1312.3287v2, PDF p. 8, §4.1, (24)–(28)
Read-back

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

Let CCC be either a thermal specification (η,NB)(\eta,N_B)(η,NB​), with 0<η≤10<\eta\le10<η≤1 and NB≥0N_B\ge0NB​≥0, or an additive specification v≥0v\ge0v≥0, and let NS>0N_S>0NS​>0 be real. Define

h(x)=(x+1)log⁡(x+1)−xlog⁡xlog⁡2,νC={(1−η)NB,C thermal,v,C additive,μC(P)={ηP+(1−η)NB,C thermal,P+v,C additive.h(x)=\frac{(x+1)\log(x+1)-x\log x}{\log2}, \quad \nu_C= \begin{cases}(1-\eta)N_B,&C\text{ thermal},\\v,&C\text{ additive},\end{cases} \quad \mu_C(P)= \begin{cases}\eta P+(1-\eta)N_B,&C\text{ thermal},\\P+v,&C\text{ additive}.\end{cases}h(x)=log2(x+1)log(x+1)−xlogx​,νC​={(1−η)NB​,v,​C thermal,C additive,​μC​(P)={ηP+(1−η)NB​,P+v,​C thermal,C additive.​

Then there exist real numbers P,RP,RP,R such that

NS<P,h(μC(NS))−log⁡(1+2νC)log⁡2<R<h(μC(P))−h(νC),N_S<P,\qquad h(\mu_C(N_S))-\frac{\log(1+2\nu_C)}{\log2} <R<h(\mu_C(P))-h(\nu_C),NS​<P,h(μC​(NS​))−log2log(1+2νC​)​<R<h(μC​(P))−h(νC​),

and there exist a function M:N→NM:\mathbb N\to\mathbb NM:N→N, code families Fn,GnF_n,G_nFn​,Gn​ of length nnn with the same M(n)>0M(n)>0M(n)>0 messages, amplitudes αn,m∈Cn\alpha_{n,m}\in\mathbb C^nαn,m​∈Cn, and a real sequence ϵn\epsilon_nϵn​, with the following properties. For every nnn, 0≤ϵn≤10\le\epsilon_n\le10≤ϵn​≤1, and ϵn→0\epsilon_n\to0ϵn​→0; for every n>0n>0n>0 and every message m<M(n)m<M(n)m<M(n), the encoder of FnF_nFn​ is the kernel

Kαn,m(a,b)=cαn,m(a)cαn,m(b)‾,cα(a)=∏i<ne−∣αi∣2/2αiaiai!,K_{\alpha_{n,m}}(a,b)=c_{\alpha_{n,m}}(a)\overline{c_{\alpha_{n,m}}(b)}, \qquad c_\alpha(a)=\prod_{i<n} \frac{e^{-|\alpha_i|^2/2}\alpha_i^{a_i}}{\sqrt{a_i!}},Kαn,m​​(a,b)=cαn,m​​(a)cαn,m​​(b)​,cα​(a)=i<n∏​ai​!​e−∣αi​∣2/2αiai​​​,

its amplitudes satisfy ∑i<n∣αn,m,i∣2≤nP\sum_{i<n}|\alpha_{n,m,i}|^2\le nP∑i<n​∣αn,m,i​∣2≤nP, and its individual success is at least 1−ϵn1-\epsilon_n1−ϵn​. For all sufficiently large nnn, log⁡M(n)/(nlog⁡2)≥R\log M(n)/(n\log2)\ge RlogM(n)/(nlog2)≥R. For every n>0n>0n>0, every encoder state Xn,mX_{n,m}Xn,m​ of GnG_nGn​ satisfies E(Xn,m)≤nNSE(X_{n,m})\le nN_SE(Xn,m​)≤nNS​, its decoder equals the decoder of FnF_nFn​, and

Xn,m=NSPKαn,m+(1−NSP)Vn,sC(Gn,m)≥NSP(1−ϵn).X_{n,m}=\frac{N_S}{P}K_{\alpha_{n,m}} +\left(1-\frac{N_S}{P}\right)V_n, \qquad s_C(G_n,m)\ge\frac{N_S}{P}(1-\epsilon_n).Xn,m​=PNS​​Kαn,m​​+(1−PNS​​)Vn​,sC​(Gn​,m)≥PNS​​(1−ϵn​).

Nevertheless, the average successes M(n)−1∑m<M(n)sC(Gn,m)M(n)^{-1}\sum_{m<M(n)}s_C(G_n,m)M(n)−1∑m<M(n)​sC​(Gn​,m) do not converge to 000. Here Vn(a,b)=1V_n(a,b)=1Vn​(a,b)=1 when a=b=0a=b=\mathbf0a=b=0, and is 000 otherwise, and

E(X)=∑i<n∑a′max⁡{aiRe⁡Xaa,0}E(X)=\sum_{i<n}\sum'_a \max\{a_i\operatorname{Re}X_{aa},0\}E(X)=i<n∑​a∑′​max{ai​ReXaa​,0}

is evaluated in [0,∞][0,\infty][0,∞]. A length-nnn code consists of an encoder state for every message and decoder kernels EmE_mEm​ indexed by Nn\mathbb N^nNn, such that every finite quadratic form of each EmE_mEm​ is real and nonnegative and ∑mEm(a,b)=1\sum_m E_m(a,b)=1∑m​Em​(a,b)=1 if a=ba=ba=b, and 000 otherwise; no injectivity of the encoder is required. An encoder state XXX means that Xab=∑r′ur(a)wr(b)‾X_{ab}=\sum'_r u_r(a)\overline{w_r(b)}Xab​=∑r′​ur​(a)wr​(b)​ for sequences ur,wr∈ℓ2(Nn;C)u_r,w_r\in\ell^2(\mathbb N^n;\mathbb C)ur​,wr​∈ℓ2(Nn;C) satisfying ∑r∥ur∥∥wr∥<∞\sum_r\|u_r\|\|w_r\|<\infty∑r​∥ur​∥∥wr​∥<∞, that every finite quadratic form of XXX is real and nonnegative, and that (Re⁡Xaa)a(\operatorname{Re}X_{aa})_a(ReXaa​)a​ is summable with sum 111. Individual success is exactly

sC(K,m)=Re⁡∑a′∑b′TC(n)(Xm)ab Em(b,a).s_C(K,m)=\operatorname{Re}\sum'_a\sum'_b \mathcal T_C^{(n)}(X_m)_{ab}\,E_m(b,a).sC​(K,m)=Rea∑′​b∑′​TC(n)​(Xm​)ab​Em​(b,a).

For additive C=vC=vC=v, TC(n)=Av(n)\mathcal T_C^{(n)}=\mathcal A_v^{(n)}TC(n)​=Av(n)​, where A0(n)(X)=X\mathcal A_0^{(n)}(X)=XA0(n)​(X)=X and, for v≠0v\ne0v=0,

Av(n)(X)ab=∫Cn(∏i<ne−∣zi∣2/vπv)∑c′Dz(a,c)(∑d′XcdDz(b,d)‾) dz,Dz(a,c)=∏i<n[e−∣zi∣2/2ai!ci!∑j=0min⁡(ai,ci)ziai−j(−zi‾)ci−jj!(ai−j)!(ci−j)!].\mathcal A_v^{(n)}(X)_{ab} =\int_{\mathbb C^n} \left(\prod_{i<n}\frac{e^{-|z_i|^2/v}}{\pi v}\right) \sum'_c D_z(a,c)\left(\sum'_d X_{cd}\overline{D_z(b,d)}\right)\,dz, \quad D_z(a,c)=\prod_{i<n} \left[ e^{-|z_i|^2/2}\sqrt{a_i!c_i!} \sum_{j=0}^{\min(a_i,c_i)} \frac{z_i^{a_i-j}(-\overline{z_i})^{c_i-j}} {j!(a_i-j)!(c_i-j)!} \right].Av(n)​(X)ab​=∫Cn​(i<n∏​πve−∣zi​∣2/v​)c∑′​Dz​(a,c)(d∑′​Xcd​Dz​(b,d)​)dz,Dz​(a,c)=i<n∏​​e−∣zi​∣2/2ai​!ci​!​j=0∑min(ai​,ci​)​j!(ai​−j)!(ci​−j)!ziai​−j​(−zi​​)ci​−j​​.

For thermal C=(η,NB)C=(\eta,N_B)C=(η,NB​), put TN(a,b)=1a=b∏i<n(N/(N+1))ai/(N+1)T_N(a,b)=\mathbf1_{a=b}\prod_{i<n}(N/(N+1))^{a_i}/(N+1)TN​(a,b)=1a=b​∏i<n​(N/(N+1))ai​/(N+1), define

Jη(X,Y)u,w=∑c∈Nn×Nn′∑d∈Nn×Nn′Bη(u,c) Xc1d1Yc2d2 Bη(w,d)‾,Bη(u,c)=∏i<nbη(u1i,u2i,c1i,c2i),J_\eta(X,Y)_{u,w} =\sum'_{c\in\mathbb N^n\times\mathbb N^n} \sum'_{d\in\mathbb N^n\times\mathbb N^n} B_\eta(u,c)\,X_{c_1d_1}Y_{c_2d_2}\, \overline{B_\eta(w,d)}, \qquad B_\eta(u,c)=\prod_{i<n}b_\eta(u_{1i},u_{2i},c_{1i},c_{2i}),Jη​(X,Y)u,w​=c∈Nn×Nn∑′​d∈Nn×Nn∑′​Bη​(u,c)Xc1​d1​​Yc2​d2​​Bη​(w,d)​,Bη​(u,c)=i<n∏​bη​(u1i​,u2i​,c1i​,c2i​),

and set TC(n)(X)ab=∑e′Jη(X,TNB)(a,e),(b,e)\mathcal T_C^{(n)}(X)_{ab}=\sum'_eJ_\eta(X,T_{N_B})_{(a,e),(b,e)}TC(n)​(X)ab​=∑e′​Jη​(X,TNB​​)(a,e),(b,e)​. The real coefficient bη(m,ℓ,p,q)b_\eta(m,\ell,p,q)bη​(m,ℓ,p,q) is 000 unless m+ℓ=p+qm+\ell=p+qm+ℓ=p+q, and otherwise equals

m!ℓ!p!q!∑0≤u≤pu≤m, m−u≤q(pu)(qm−u)(η)u(1−η)p−u+m−u(−η)q−(m−u).\sqrt{\frac{m!\ell!}{p!q!}} \sum_{\substack{0\le u\le p\\u\le m,\ m-u\le q}} \binom pu\binom q{m-u} (\sqrt\eta)^u (\sqrt{1-\eta})^{p-u+m-u} (-\sqrt\eta)^{q-(m-u)}.p!q!m!ℓ!​​0≤u≤pu≤m, m−u≤q​∑​(up​)(m−uq​)(η​)u(1−η​)p−u+m−u(−η​)q−(m−u).

All logarithms here are natural, with the total convention log⁡0=0\log0=0log0=0, and 00=10^0=100=1. The infinite sums and Bochner integrals retain their total definitions, assigning 000 to nonsummable series and nonintegrable integrands. Both code families are required to exist also at n=0n=0n=0, but their energy, encoder, decoder-equality, and individual-success assertions above are imposed only for n>0n>0n>0.

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

    Confirmed by the moderator at approval.

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