Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for The classical capacity of quantum thermal noise channels to within 1.45 bits

Definition
QAlgorithms_Papers_Independent_Bridge50_P28

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

prove2quantum

The objects the formalized statements of The classical capacity of quantum thermal noise channels to within 1.45 bits (arXiv:1207.0256) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • thermalNoiseChannelKernel: PDF p.1: coefficient adapter for the accepted thermal beam-splitter channel. The environment has photon mean NE; lambda is intensity transmissivity. On trace class boundedOperator has its unique bounded realization.
  • quantumLimitedAmplifierKernel: PDF p.2 and p.3 note [19]: accepted vacuum amplifier, intensity gain G. Its countable Kraus operators have amplitude parameter sqrt(G), including G=1. Trace-norm convergence is part of the accepted physical channel construction.
  • FiniteCollectivePOVM: PDF p.1: finite-outcome collective decoding on a complete Hilbert space. Positive bounded effects sum to the identity. Finite additivity suffices for the finite message alphabet; there is no finite photon-number cutoff.
  • PhotonConstrainedClassicalCode: PDF p.1: an unassisted n-use classical code, with positive n and M. Signals are arbitrary normalized mixed states, possibly entangled across uses. One decoder is fixed before the unknown message.
  • photonCodeAverageInput: PDF p.1: uniform-message average block input. No per-message energy cap.
  • photonCodeSuccessProbability: PDF p.1: uniform-message success using the actual memoryless channel. The trace-class/bounded pairing converges even for infinite-rank signal states.
  • codeWithinBudget: PDF p.1: mean input energy only. The fixed input basis weight is summed across the block and averaged over messages; an infinite expectation stays infinity. For the oscillator the weight is the photon number j itself.
  • classicalPhotonRateAchievable: PDF p.1: rates in bits/use with vanishing uniform-message average error. For each positive error and rate slack, all sufficiently large positive lengths admit one code satisfying the SAME average input budget. No feedback, shared entanglement, product-state restriction, or energy cap after the channel.
  • classicalPhotonCapacityBits: PDF p.1: operational classical capacity as an extended nonnegative supremum. Empty rate sets give zero; unbounded sets give infinity. Neither g nor a scalar capacity bound appears in this definition.
  • coherentSignalRateBits: PDF pp.1--2, Eq.(1) and Theorem 1: Holevo's coherent-signal rate in bits. The accepted g uses natural logarithms and 0 log 0=0.
  • thermalUpperBoundBits: PDF p.2, Eq.(3): finite numerical upper bound, not a capacity definition.
  • thermalBoundGapNats: PDF p.2, Lemma 1: the numerical upper-minus-lower gap in nats. Source limit and strict derivative claims use Y>0, and X>0 where stated.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P26

/-!
König--Smith, arXiv:1207.0256v1, PDF pp.1--3.
Full countable Fock spaces; arbitrary mixed and entangled block signals;
unassisted classical communication; uniform-message average error and mean block
photon energy. Capacity is an operational extended supremum, independently of g.
Only pinned accepted library modules are imported. Compilation is pending.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P28

open Filter
open scoped BigOperators NNReal ENNReal Topology
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33
  (State IsTraceClass IsTraceClassChannel)
open QAlgorithms.Papers.Independent.Frontier18.P18
  (operatorCoeff boundedOperator)
open QAlgorithms.Papers.Independent.Claimed50.P35
  (traceClassChannelPower tracePair)
open QAlgorithms.Papers.Independent.Gap48.P26 (weightedPhotonExpectation)
open QAlgorithms.Papers.Independent.Claimed50.P39 (g)

/-! The accepted basenames `Support50.P11.codeAverageInput` and
`Dependency50.P23.codeSuccess` / `Dependency50.P45.codeSuccess` describe
finite-dimensional bipartite or assisted codes. Their Fintype requirements and
code types cannot represent this paper's full countable Fock inputs. The two
photon-code definitions below therefore have distinct names and retain the
required trace-class domain; they are not copies of those frozen objects. -/

/-- PDF p.1: coefficient adapter for the accepted thermal beam-splitter channel.
The environment has photon mean NE; lambda is intensity transmissivity.
On trace class boundedOperator has its unique bounded realization. -/
def thermalNoiseChannelKernel (lam NE : ℝ) (X : Matrix ℕ ℕ ℂ) : Matrix ℕ ℕ ℂ :=
  operatorCoeff (QAlgorithms.Papers.Independent.Claimed50.P39.thermal lam NE
    (boundedOperator X))

/-- PDF p.2 and p.3 note [19]: accepted vacuum amplifier, intensity gain G.
Its countable Kraus operators have amplitude parameter sqrt(G), including G=1.
Trace-norm convergence is part of the accepted physical channel construction. -/
def quantumLimitedAmplifierKernel (G : ℝ) (X : Matrix ℕ ℕ ℂ) : Matrix ℕ ℕ ℂ :=
  operatorCoeff (QAlgorithms.Papers.Independent.Claimed50.P39.amplifier G
    (boundedOperator X))

/-- PDF p.1: finite-outcome collective decoding on a complete Hilbert space.
Positive bounded effects sum to the identity. Finite additivity suffices for the
finite message alphabet; there is no finite photon-number cutoff. -/
structure FiniteCollectivePOVM (J : Type) (M : ℕ) where
  effect : Fin M → Hilbert J →L[ℂ] Hilbert J
  positive : ∀ m u, (inner (𝕜 := ℂ) u (effect m u)).im = 0 ∧
    0 ≤ (inner (𝕜 := ℂ) u (effect m u)).re
  total : (∑ m, effect m) = ContinuousLinearMap.id ℂ (Hilbert J)

/-- PDF p.1: an unassisted n-use classical code, with positive n and M.
Signals are arbitrary normalized mixed states, possibly entangled across uses.
One decoder is fixed before the unknown message. -/
structure PhotonConstrainedClassicalCode (I J : Type) (n : ℕ) where
  block_pos : 0 < n
  messages : ℕ
  messages_pos : 0 < messages
  signal : Fin messages → State (Fin n → I)
  decoder : FiniteCollectivePOVM (Fin n → J) messages

/-- PDF p.1: uniform-message average block input. No per-message energy cap. -/
def photonCodeAverageInput {I J : Type} {n : ℕ}
    (c : PhotonConstrainedClassicalCode I J n) : Matrix (Fin n → I) (Fin n → I) ℂ :=
  (1 / (c.messages : ℂ)) • ∑ m, (c.signal m).coefficients

/-- PDF p.1: uniform-message success using the actual memoryless channel.
The trace-class/bounded pairing converges even for infinite-rank signal states. -/
def photonCodeSuccessProbability {I J : Type} {n : ℕ}
    (T : Matrix I I ℂ → Matrix J J ℂ)
    (c : PhotonConstrainedClassicalCode I J n) : ℝ :=
  (∑ m, (tracePair (traceClassChannelPower T n (c.signal m).coefficients)
    (operatorCoeff (c.decoder.effect m))).re) / (c.messages : ℝ)

/-- PDF p.1: mean input energy only. The fixed input basis weight is summed
across the block and averaged over messages; an infinite expectation stays
infinity. For the oscillator the weight is the photon number j itself. -/
def codeWithinBudget {I J : Type} {n : ℕ} (weight : I → ℕ) (N : ℝ)
    (c : PhotonConstrainedClassicalCode I J n) : Prop :=
  weightedPhotonExpectation (fun a : Fin n → I => ∑ t, weight (a t))
    (photonCodeAverageInput c) ≤ ENNReal.ofReal ((n : ℝ) * N)

/-- PDF p.1: rates in bits/use with vanishing uniform-message average error.
For each positive error and rate slack, all sufficiently large positive lengths
admit one code satisfying the SAME average input budget. No feedback, shared
entanglement, product-state restriction, or energy cap after the channel. -/
def classicalPhotonRateAchievable {I J : Type} (weight : I → ℕ)
    (T : Matrix I I ℂ → Matrix J J ℂ) (N : ℝ) (R : ℝ≥0) : Prop :=
  ∀ epsilon delta : ℝ, 0 < epsilon → 0 < delta →
    ∃ n0 : ℕ, 0 < n0 ∧ ∀ n ≥ n0,
      ∃ c : PhotonConstrainedClassicalCode I J n,
        codeWithinBudget weight N c ∧ 1 - epsilon ≤ photonCodeSuccessProbability T c ∧
        (R : ℝ) - delta ≤ Real.log (c.messages : ℝ) / Real.log 2 / (n : ℝ)

/-- PDF p.1: operational classical capacity as an extended nonnegative
supremum. Empty rate sets give zero; unbounded sets give infinity. Neither g
nor a scalar capacity bound appears in this definition. -/
def classicalPhotonCapacityBits {I J : Type} (weight : I → ℕ)
    (T : Matrix I I ℂ → Matrix J J ℂ) (N : ℝ) : ℝ≥0∞ :=
  ⨆ R : {R : ℝ≥0 // classicalPhotonRateAchievable weight T N R},
    (R.val : ℝ≥0∞)

/-- PDF pp.1--2, Eq.(1) and Theorem 1: Holevo's coherent-signal rate in bits.
The accepted g uses natural logarithms and 0 log 0=0. -/
def coherentSignalRateBits (lam NE N : ℝ) : ℝ :=
  (g (lam * N + (1 - lam) * NE) - g ((1 - lam) * NE)) / Real.log 2

/-- PDF p.2, Eq.(3): finite numerical upper bound, not a capacity definition. -/
def thermalUpperBoundBits (lam NE N : ℝ) : ℝ :=
  g (lam * N / ((1 - lam) * NE + 1)) / Real.log 2

/-- PDF p.2, Lemma 1: the numerical upper-minus-lower gap in nats.
Source limit and strict derivative claims use Y>0, and X>0 where stated. -/
def thermalBoundGapNats (Y X : ℝ) : ℝ :=
  g (X / (Y + 1)) - g (X + Y) + g Y

/-! Sanity examples pin zero-energy/zero-noise boundaries and code domains.
Only definitions are checked here; no source theorem is proved. -/

example (lam NE : ℝ) : coherentSignalRateBits lam NE 0 = 0 := by
  simp [coherentSignalRateBits]

example (lam NE : ℝ) : thermalUpperBoundBits lam NE 0 = 0 := by
  simp [thermalUpperBoundBits, g]

example (Y : ℝ) : thermalBoundGapNats Y 0 = 0 := by
  simp [thermalBoundGapNats, g]

example (X : ℝ) : thermalBoundGapNats 0 X = 0 := by
  simp [thermalBoundGapNats, g]

example {I J : Type} {n : ℕ} (c : PhotonConstrainedClassicalCode I J n) :
    n ≠ 0 ∧ c.messages ≠ 0 := by
  exact ⟨Nat.ne_of_gt c.block_pos, Nat.ne_of_gt c.messages_pos⟩

example (I J : Type) : IsEmpty (PhotonConstrainedClassicalCode I J 0) :=
  ⟨fun c => (Nat.lt_irrefl 0) c.block_pos⟩

example {J : Type} (d : FiniteCollectivePOVM J 1) :
    d.effect 0 = ContinuousLinearMap.id ℂ (Hilbert J) := by
  simpa using d.total

example {I J : Type} (X : Matrix I I ℂ) :
    weightedPhotonExpectation (fun _ : I => 0) X = 0 := by
  simp [weightedPhotonExpectation]

end QAlgorithms.Papers.Independent.Bridge50.P28
Source
The classical capacity of quantum thermal noise channels to within 1.45 bits, arXiv:1207.0256v1, https://arxiv.org/abs/1207.0256v1
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P28.FiniteCollectivePOVM

For any type JJJ and natural number MMM, this structure consists of MMM bounded complex-linear operators EmE_mEm​ on H=ℓ2(J;C)H=\ell^2(J;\mathbb C)H=ℓ2(J;C), indexed by 0≤m<M0\le m<M0≤m<M, such that for every index mmm and every u∈Hu\in Hu∈H,

Im⁡⟨u,Emu⟩=0,0≤Re⁡⟨u,Emu⟩,∑m=0M−1Em=IH.\operatorname{Im}\langle u,E_m u\rangle=0, \qquad 0\le\operatorname{Re}\langle u,E_m u\rangle, \qquad \sum_{m=0}^{M-1}E_m=I_H.Im⟨u,Em​u⟩=0,0≤Re⟨u,Em​u⟩,m=0∑M−1​Em​=IH​.

The type JJJ need not be finite, countable, or nonempty, and M=0M=0M=0 is allowed as a parameter; in that case the last condition requires 0=IH0=I_H0=IH​.

QAlgorithms.Papers.Independent.Bridge50.P28.PhotonConstrainedClassicalCode

For arbitrary types I,JI,JI,J and a natural number nnn, an instance of this structure supplies a proof that n>0n>0n>0, a positive natural number MMM of messages, one state matrix ρm\rho_mρm​ on A=({0,…,n−1}→I)A=(\{0,\ldots,n-1\}\to I)A=({0,…,n−1}→I) for every 0≤m<M0\le m<M0≤m<M, and MMM bounded complex-linear decoding operators EmE_mEm​ on ℓ2({0,…,n−1}→J;C)\ell^2(\{0,\ldots,n-1\}\to J;\mathbb C)ℓ2({0,…,n−1}→J;C). Each state matrix has a representation

(ρm)ab=∑r=0∞ur(a)vr(b)‾,ur,vr∈ℓ2(A;C),∑r∥ur∥∥vr∥<∞,(\rho_m)_{ab}=\sum_{r=0}^{\infty}u_r(a)\overline{v_r(b)}, \qquad u_r,v_r\in\ell^2(A;\mathbb C), \qquad \sum_r\|u_r\|\|v_r\|<\infty,(ρm​)ab​=r=0∑∞​ur​(a)vr​(b)​,ur​,vr​∈ℓ2(A;C),r∑​∥ur​∥∥vr​∥<∞,

has real nonnegative quadratic form ∑a,b∈Fza‾(ρm)abzb\sum_{a,b\in F}\overline{z_a}(\rho_m)_{ab}z_b∑a,b∈F​za​​(ρm​)ab​zb​ for every finite F⊆AF\subseteq AF⊆A and every function z:A→Cz:A\to\mathbb Cz:A→C, and has a summable real diagonal satisfying ∑aRe⁡(ρm)aa=1\sum_a\operatorname{Re}(\rho_m)_{aa}=1∑a​Re(ρm​)aa​=1. The decoder satisfies Im⁡⟨u,Emu⟩=0\operatorname{Im}\langle u,E_m u\rangle=0Im⟨u,Em​u⟩=0 and 0≤Re⁡⟨u,Emu⟩0\le\operatorname{Re}\langle u,E_m u\rangle0≤Re⟨u,Em​u⟩ for every m,um,um,u, and ∑mEm=I\sum_mE_m=I∑m​Em​=I. Thus there are no instances at n=0n=0n=0 or with zero messages; no energy bound is a field of this structure.

QAlgorithms.Papers.Independent.Bridge50.P28.classicalPhotonCapacityBits

For arbitrary types I,JI,JI,J, a function w:I→Nw:I\to\mathbb Nw:I→N, an arbitrary function T:CI×I→CJ×JT:\mathbb C^{I\times I}\to\mathbb C^{J\times J}T:CI×I→CJ×J, and a real number NNN, this defines an element of [0,∞][0,\infty][0,∞] as the supremum of all nonnegative real numbers RRR having the following property: for every ε,δ>0\varepsilon,\delta>0ε,δ>0, there is an integer n0>0n_0>0n0​>0 such that for every integer n≥n0n\ge n_0n≥n0​, one can choose a positive integer MMM, signal matrices ρm\rho_mρm​ on InI^nIn, and bounded complex-linear decoding operators EmE_mEm​ on ℓ2(Jn;C)\ell^2(J^n;\mathbb C)ℓ2(Jn;C), with

∑a∈In[(∑t=0n−1w(at))Re⁡(1M∑m=0M−1(ρm)aa)]+≤[nN]+,\sum_{a\in I^n} \left[ \left(\sum_{t=0}^{n-1}w(a_t)\right) \operatorname{Re}\left(\frac1M\sum_{m=0}^{M-1}(\rho_m)_{aa}\right) \right]_+ \le[nN]_+,a∈In∑​[(t=0∑n−1​w(at​))Re(M1​m=0∑M−1​(ρm​)aa​)]+​≤[nN]+​, 1−ε≤1M∑m=0M−1Re⁡(∑a∈Jn∑b∈Jn[Tn(ρm)]ab(Emea)b),R−δ≤log⁡M(log⁡2)n.1-\varepsilon\le \frac1M\sum_{m=0}^{M-1}\operatorname{Re} \left(\sum_{a\in J^n}\sum_{b\in J^n} [T_n(\rho_m)]_{ab}(E_m e_a)_b\right), \qquad R-\delta\le\frac{\log M}{(\log2)n}.1−ε≤M1​m=0∑M−1​Re(a∈Jn∑​b∈Jn∑​[Tn​(ρm​)]ab​(Em​ea​)b​),R−δ≤(log2)nlogM​.

For each mmm, the signal matrix must have an expansion (ρm)ab=∑rur(a)vr(b)‾(\rho_m)_{ab}=\sum_r u_r(a)\overline{v_r(b)}(ρm​)ab​=∑r​ur​(a)vr​(b)​ with ur,vr∈ℓ2(In;C)u_r,v_r\in\ell^2(I^n;\mathbb C)ur​,vr​∈ℓ2(In;C) and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, real nonnegative quadratic forms on finite sets, and summable real diagonal summing to one. The decoding operators have real nonnegative quadratic forms and sum to the identity, and eae_aea​ is a standard basis vector. The operation TnT_nTn​ is specified by T0(X)∅,∅=X∅,∅T_0(X)_{\varnothing,\varnothing}=X_{\varnothing,\varnothing}T0​(X)∅,∅​=X∅,∅​ and

[Tr+1(X)](a0,a′),(b0,b′)=[Tr ⁣((s,t)⟼[T((i,j)⟼X(i,s),(j,t))]a0b0)]a′b′.[T_{r+1}(X)]_{(a_0,a'),(b_0,b')} = \left[ T_r\!\left( (s,t)\longmapsto \left[T\bigl((i,j)\longmapsto X_{(i,s),(j,t)}\bigr)\right]_{a_0b_0} \right) \right]_{a'b'}.[Tr+1​(X)](a0​,a′),(b0​,b′)​=[Tr​((s,t)⟼[T((i,j)⟼X(i,s),(j,t)​)]a0​b0​​)]a′b′​.

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is embedded in [0,∞][0,\infty][0,∞], and nonsummable complex sums are assigned zero. There are no further assumptions on I,J,T,NI,J,T,NI,J,T,N. The supremum is zero if there are no qualifying rates, and it is infinite if the qualifying rates are unbounded.

QAlgorithms.Papers.Independent.Bridge50.P28.classicalPhotonRateAchievable

For arbitrary types I,JI,JI,J, a function w:I→Nw:I\to\mathbb Nw:I→N, an arbitrary matrix-valued function T:CI×I→CJ×JT:\mathbb C^{I\times I}\to\mathbb C^{J\times J}T:CI×I→CJ×J, a real number NNN, and a nonnegative real rate RRR, this predicate says that for every pair of positive real numbers ε,δ\varepsilon,\deltaε,δ, there is a positive integer n0n_0n0​ such that for every integer n≥n0n\ge n_0n≥n0​, there exist a positive message count MMM, signal matrices ρ0,…,ρM−1\rho_0,\ldots,\rho_{M-1}ρ0​,…,ρM−1​ on InI^nIn, and bounded complex-linear decoding operators E0,…,EM−1E_0,\ldots,E_{M-1}E0​,…,EM−1​ on ℓ2(Jn;C)\ell^2(J^n;\mathbb C)ℓ2(Jn;C), satisfying

∑a∈In[(∑t=0n−1w(at))Re⁡(1M∑m(ρm)aa)]+≤[nN]+,\sum_{a\in I^n} \left[ \left(\sum_{t=0}^{n-1}w(a_t)\right) \operatorname{Re}\left(\frac1M\sum_m(\rho_m)_{aa}\right) \right]_+ \le[nN]_+,a∈In∑​[(t=0∑n−1​w(at​))Re(M1​m∑​(ρm​)aa​)]+​≤[nN]+​, 1−ε≤1M∑mRe⁡(∑a∈Jn∑b∈Jn[Tn(ρm)]ab(Emea)b),R−δ≤log⁡M(log⁡2)n.1-\varepsilon\le \frac1M\sum_m\operatorname{Re} \left(\sum_{a\in J^n}\sum_{b\in J^n} [T_n(\rho_m)]_{ab}(E_m e_a)_b\right), \qquad R-\delta\le\frac{\log M}{(\log2)n}.1−ε≤M1​m∑​Re(a∈Jn∑​b∈Jn∑​[Tn​(ρm​)]ab​(Em​ea​)b​),R−δ≤(log2)nlogM​.

Each ρm\rho_mρm​ must admit an expansion (ρm)ab=∑rur(a)vr(b)‾(\rho_m)_{ab}=\sum_r u_r(a)\overline{v_r(b)}(ρm​)ab​=∑r​ur​(a)vr​(b)​, with ur,vr∈ℓ2(In;C)u_r,v_r\in\ell^2(I^n;\mathbb C)ur​,vr​∈ℓ2(In;C) and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, must have real nonnegative quadratic forms on all finite sets of indices, and must have summable real diagonal of sum one. Each EmE_mEm​ has real nonnegative quadratic form and ∑mEm=I\sum_mE_m=I∑m​Em​=I, and eae_aea​ denotes a standard basis vector. The matrix operation TnT_nTn​ is defined by T0(X)∅,∅=X∅,∅T_0(X)_{\varnothing,\varnothing}=X_{\varnothing,\varnothing}T0​(X)∅,∅​=X∅,∅​ and

[Tr+1(X)](a0,a′),(b0,b′)=[Tr ⁣((s,t)⟼[T((i,j)⟼X(i,s),(j,t))]a0b0)]a′b′.[T_{r+1}(X)]_{(a_0,a'),(b_0,b')} = \left[ T_r\!\left( (s,t)\longmapsto \left[T\bigl((i,j)\longmapsto X_{(i,s),(j,t)}\bigr)\right]_{a_0b_0} \right) \right]_{a'b'}.[Tr+1​(X)](a0​,a′),(b0​,b′)​=[Tr​((s,t)⟼[T((i,j)⟼X(i,s),(j,t)​)]a0​b0​​)]a′b′​.

The notation [x]+[x]_+[x]+​ means the nonnegative part of xxx, viewed in [0,∞][0,\infty][0,∞]; its sum may be infinite. No channel assumption on TTT or nonnegativity assumption on NNN is present. The error and rate conditions must hold for every positive ε,δ\varepsilon,\deltaε,δ, with codes allowed to depend on these numbers and on nnn; nonsummable complex sums in the success expression take the totalized value zero.

QAlgorithms.Papers.Independent.Bridge50.P28.codeWithinBudget

For arbitrary types I,JI,JI,J, a natural number nnn, a function w:I→Nw:I\to\mathbb Nw:I→N, a real number NNN, and a supplied code ccc with positive block length nnn, positive message count MMM, and signal matrices ρm\rho_mρm​, this predicate means

∑a∈In[(∑t=0n−1w(at))Re⁡(1M∑m=0M−1(ρm)aa)]+≤[nN]+.\sum_{a\in I^n} \left[ \left(\sum_{t=0}^{n-1}w(a_t)\right) \operatorname{Re}\left(\frac1M\sum_{m=0}^{M-1}(\rho_m)_{aa}\right) \right]_+ \le [nN]_+.a∈In∑​[(t=0∑n−1​w(at​))Re(M1​m=0∑M−1​(ρm​)aa​)]+​≤[nN]+​.

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is regarded as an element of [0,∞][0,\infty][0,∞], and the sum on the left is an extended nonnegative sum, so it may be infinite. The code’s signal matrices have countable expansions (ρm)ab=∑rur(a)vr(b)‾(\rho_m)_{ab}=\sum_r u_r(a)\overline{v_r(b)}(ρm​)ab​=∑r​ur​(a)vr​(b)​, with ur,vr∈ℓ2(In;C)u_r,v_r\in\ell^2(I^n;\mathbb C)ur​,vr​∈ℓ2(In;C) and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, real nonnegative quadratic forms on finite sets, and summable real diagonals of sum one; its decoder consists of MMM bounded complex-linear operators on ℓ2(Jn;C)\ell^2(J^n;\mathbb C)ℓ2(Jn;C) with real nonnegative quadratic forms and sum equal to the identity. The weights may be zero, and NNN is unrestricted; when N≤0N\le0N≤0, the right-hand side is zero.

QAlgorithms.Papers.Independent.Bridge50.P28.coherentSignalRateBits

For arbitrary real numbers λ,NE,N\lambda,N_E,Nλ,NE​,N, put A=λN+(1−λ)NEA=\lambda N+(1-\lambda)N_EA=λN+(1−λ)NE​ and B=(1−λ)NEB=(1-\lambda)N_EB=(1−λ)NE​. This defines the real number

(A+1)log⁡(A+1)−Alog⁡A−(B+1)log⁡(B+1)+Blog⁡Blog⁡2.\frac{ (A+1)\log(A+1)-A\log A -(B+1)\log(B+1)+B\log B }{\log2}.log2(A+1)log(A+1)−AlogA−(B+1)log(B+1)+BlogB​.

The logarithms are natural logarithms. No positivity or interval restrictions on the three parameters are imposed; the real logarithm is total, including log⁡0=0\log0=0log0=0, so the formula also defines a value when AAA, BBB, or their increments by one are nonpositive.

QAlgorithms.Papers.Independent.Bridge50.P28.photonCodeAverageInput

For arbitrary types I,JI,JI,J, a natural number nnn, and a supplied code ccc, this defines the matrix

ρ‾=1M∑m=0M−1ρm\overline\rho=\frac1M\sum_{m=0}^{M-1}\rho_mρ​=M1​m=0∑M−1​ρm​

on the index set A=({0,…,n−1}→I)A=(\{0,\ldots,n-1\}\to I)A=({0,…,n−1}→I), where MMM and ρm\rho_mρm​ are the message count and signal matrices of ccc, and the scalar 1/M1/M1/M is taken in C\mathbb CC. The supplied code requires n>0n>0n>0 and M>0M>0M>0. Its signal matrices each admit a coefficient expansion (ρm)ab=∑rur(a)vr(b)‾(\rho_m)_{ab}=\sum_r u_r(a)\overline{v_r(b)}(ρm​)ab​=∑r​ur​(a)vr​(b)​ with ur,vr∈ℓ2(A;C)u_r,v_r\in\ell^2(A;\mathbb C)ur​,vr​∈ℓ2(A;C) and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, have real nonnegative quadratic forms on every finite set of indices, and have summable real diagonals summing to one. The code also supplies MMM bounded complex-linear decoding operators on ℓ2({0,…,n−1}→J;C)\ell^2(\{0,\ldots,n-1\}\to J;\mathbb C)ℓ2({0,…,n−1}→J;C) whose quadratic forms are real and nonnegative and whose sum is the identity.

QAlgorithms.Papers.Independent.Bridge50.P28.photonCodeSuccessProbability

For arbitrary types I,JI,JI,J, a natural number nnn, an arbitrary function TTT from complex matrices on III to complex matrices on JJJ, and a supplied code ccc with n>0n>0n>0, M>0M>0M>0, signal matrices ρm\rho_mρm​, and decoding operators EmE_mEm​, this defines the real number

1M∑m=0M−1Re⁡(∑a∈Jn∑b∈Jn[Tn(ρm)]ab (Emea)b).\frac1M\sum_{m=0}^{M-1} \operatorname{Re}\left( \sum_{a\in J^n}\sum_{b\in J^n} [T_n(\rho_m)]_{ab}\,(E_m e_a)_b \right).M1​m=0∑M−1​Re(a∈Jn∑​b∈Jn∑​[Tn​(ρm​)]ab​(Em​ea​)b​).

Here JnJ^nJn means the functions from {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} to JJJ, eae_aea​ is the corresponding standard basis vector in ℓ2(Jn;C)\ell^2(J^n;\mathbb C)ℓ2(Jn;C), and TnT_nTn​ is defined recursively: T0(X)T_0(X)T0​(X) has the single entry X∅,∅X_{\varnothing,\varnothing}X∅,∅​, while, writing a=(a0,a′)a=(a_0,a')a=(a0​,a′) and b=(b0,b′)b=(b_0,b')b=(b0​,b′),

[Tr+1(X)]ab=[Tr ⁣((s,t)⟼[T((i,j)⟼X(i,s),(j,t))]a0b0)]a′b′.[T_{r+1}(X)]_{ab} = \left[ T_r\!\left( (s,t)\longmapsto \left[T\bigl((i,j)\longmapsto X_{(i,s),(j,t)}\bigr)\right]_{a_0b_0} \right) \right]_{a'b'}.[Tr+1​(X)]ab​=[Tr​((s,t)⟼[T((i,j)⟼X(i,s),(j,t)​)]a0​b0​​)]a′b′​.

Each ρm\rho_mρm​, on InI^nIn, admits an expansion (ρm)ab=∑rur(a)vr(b)‾(\rho_m)_{ab}=\sum_r u_r(a)\overline{v_r(b)}(ρm​)ab​=∑r​ur​(a)vr​(b)​ with square-summable vectors and summable ∥ur∥∥vr∥\|u_r\|\|v_r\|∥ur​∥∥vr​∥, has real nonnegative quadratic forms on finite index sets, and has summable real diagonal summing to one; each EmE_mEm​ is bounded and complex-linear, has real nonnegative quadratic form, and ∑mEm=I\sum_mE_m=I∑m​Em​=I. No channel or linearity assumption is imposed on TTT, and no summability assumption is included for the nested complex sums in this definition; any nonsummable such sum takes the totalized value zero.

QAlgorithms.Papers.Independent.Bridge50.P28.quantumLimitedAmplifierKernel

For an arbitrary real number GGG and arbitrary complex matrix XXX indexed by N\mathbb NN, let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), with standard basis ene_nen​, and choose a bounded complex-linear operator BBB with (Ben)m=Xmn(Be_n)_m=X_{mn}(Ben​)m​=Xmn​, if one exists; otherwise set B=0B=0B=0. Put s=Gs=\sqrt Gs=G​. For each ℓ∈N\ell\in\mathbb Nℓ∈N, choose a bounded complex-linear operator AℓA_\ellAℓ​ with matrix

(Aℓen)m={s−1(n+ℓℓ) (1−(s−1)2)ℓ(s−1)n,m=n+ℓ,0,otherwise,(A_\ell e_n)_m= \begin{cases} \displaystyle s^{-1}\sqrt{\binom{n+\ell}{\ell}}\, \bigl(\sqrt{1-(s^{-1})^2}\bigr)^\ell (s^{-1})^n,&m=n+\ell,\\ 0,&\text{otherwise}, \end{cases}(Aℓ​en​)m​=⎩⎨⎧​s−1(ℓn+ℓ​)​(1−(s−1)2​)ℓ(s−1)n,0,​m=n+ℓ,otherwise,​

if such an operator exists, and set Aℓ=0A_\ell=0Aℓ​=0 otherwise. The definition then chooses an operator YYY for which the family AℓBAℓ†A_\ell B A_\ell^\daggerAℓ​BAℓ†​ sums to YYY in the following specified sense, if such a YYY exists, and takes Y=0Y=0Y=0 otherwise: an operator ZZZ is called trace class here when there are sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H such that ∑r∥ur∥∥vr∥\sum_r\|u_r\|\|v_r\|∑r​∥ur​∥∥vr​∥ is summable and ∑r∣ur⟩⟨vr∣\sum_r |u_r\rangle\langle v_r|∑r​∣ur​⟩⟨vr​∣ converges to ZZZ in operator norm, where ∣u⟩⟨v∣|u\rangle\langle v|∣u⟩⟨v∣ sends xxx to ⟨v,x⟩u\langle v,x\rangle u⟨v,x⟩u; define

ν(Z)=inf⁡{∑r∥ur∥∥vr∥:(ur,vr) give such an expansion of Z}.\nu(Z)=\inf\left\{ \sum_r\|u_r\|\|v_r\|: (u_r,v_r)\text{ give such an expansion of }Z \right\}.ν(Z)=inf{r∑​∥ur​∥∥vr​∥:(ur​,vr​) give such an expansion of Z}.

The required summation condition is that YYY, every finite partial sum PF=∑ℓ∈FAℓBAℓ†P_F=\sum_{\ell\in F}A_\ell B A_\ell^\daggerPF​=∑ℓ∈F​Aℓ​BAℓ†​, and every PF−YP_F-YPF​−Y are trace class, and ν(PF−Y)→0\nu(P_F-Y)\to0ν(PF​−Y)→0 as the finite sets F⊆NF\subseteq\mathbb NF⊆N increase by inclusion. The output matrix has entries (Yen)m(Ye_n)_m(Yen​)m​. There is no positivity, normalization, trace-class, or parameter-range assumption on the supplied X,GX,GX,G. Real square root and inversion are total, with G=0\sqrt G=0G​=0 for G≤0G\le0G≤0 and 0−1=00^{-1}=00−1=0; the real infimum defining ν\nuν is zero when its defining set is empty.

QAlgorithms.Papers.Independent.Bridge50.P28.thermalBoundGapNats

For arbitrary real numbers Y,XY,XY,X, let a=X/(Y+1)a=X/(Y+1)a=X/(Y+1) and b=X+Yb=X+Yb=X+Y. This defines the real number

(a+1)log⁡(a+1)−alog⁡a−(b+1)log⁡(b+1)+blog⁡b+(Y+1)log⁡(Y+1)−Ylog⁡Y,(a+1)\log(a+1)-a\log a -(b+1)\log(b+1)+b\log b +(Y+1)\log(Y+1)-Y\log Y,(a+1)log(a+1)−aloga−(b+1)log(b+1)+blogb+(Y+1)log(Y+1)−YlogY,

where all logarithms are natural. No sign restrictions or inequality assertions are included. Division by zero is zero, so a=0a=0a=0 when Y=−1Y=-1Y=−1; real logarithms are total, with log⁡0=0\log0=0log0=0, and the formula includes nonpositive logarithm arguments.

QAlgorithms.Papers.Independent.Bridge50.P28.thermalNoiseChannelKernel

For arbitrary real numbers λ,NE\lambda,N_Eλ,NE​ and an arbitrary complex matrix X=(Xmn)m,n∈NX=(X_{mn})_{m,n\in\mathbb N}X=(Xmn​)m,n∈N​, this defines a complex matrix as follows. Let H=ℓ2(N;C)H=\ell^2(\mathbb N;\mathbb C)H=ℓ2(N;C), and let ene_nen​ be its standard basis vectors. Choose a bounded complex-linear operator B:H→HB:H\to HB:H→H satisfying (Ben)m=Xmn(Be_n)_m=X_{mn}(Ben​)m​=Xmn​ for every m,nm,nm,n, if such an operator exists; otherwise set B=0B=0B=0. Define

pa=(NE/(NE+1))aNE+1,p_a=\frac{(N_E/(N_E+1))^a}{N_E+1},pa​=NE​+1(NE​/(NE​+1))a​,

and, for natural numbers m,ℓ,p,qm,\ell,p,qm,ℓ,p,q, define

bλ(m,ℓ,p,q)={m! ℓ!p! q!∑r=0p{(pr)(qm−r)(λ) r+(q−(m−r))(−1−λ)p−r(1−λ)m−r,r≤m, m−r≤q,0,otherwise,m+ℓ=p+q,0,otherwise.b_\lambda(m,\ell,p,q)= \begin{cases} \displaystyle \sqrt{\frac{m!\,\ell!}{p!\,q!}} \sum_{r=0}^{p} \begin{cases} \displaystyle \binom pr\binom q{m-r} (\sqrt\lambda)^{\,r+(q-(m-r))} (-\sqrt{1-\lambda})^{p-r} (\sqrt{1-\lambda})^{m-r}, & r\le m,\ m-r\le q,\\ 0,&\text{otherwise}, \end{cases} & m+\ell=p+q,\\ 0,&\text{otherwise}. \end{cases}bλ​(m,ℓ,p,q)=⎩⎨⎧​p!q!m!ℓ!​​r=0∑p​⎩⎨⎧​(rp​)(m−rq​)(λ​)r+(q−(m−r))(−1−λ​)p−r(1−λ​)m−r,0,​r≤m, m−r≤q,otherwise,​0,​m+ℓ=p+q,otherwise.​

Set

Kmn=∑(a,ℓ)∈N2{pa bλ(m,ℓ,m+ℓ−a,a) bλ(n,ℓ,n+ℓ−a,a) (Ben+ℓ−a)m+ℓ−a,a≤m+ℓ, a≤n+ℓ,0,otherwise.K_{mn}=\sum_{(a,\ell)\in\mathbb N^2} \begin{cases} p_a\,b_\lambda(m,\ell,m+\ell-a,a)\, b_\lambda(n,\ell,n+\ell-a,a)\, (Be_{n+\ell-a})_{m+\ell-a}, & a\le m+\ell,\ a\le n+\ell,\\ 0,&\text{otherwise}. \end{cases}Kmn​=(a,ℓ)∈N2∑​{pa​bλ​(m,ℓ,m+ℓ−a,a)bλ​(n,ℓ,n+ℓ−a,a)(Ben+ℓ−a​)m+ℓ−a​,0,​a≤m+ℓ, a≤n+ℓ,otherwise.​

Choose a bounded complex-linear operator A:H→HA:H\to HA:H→H whose matrix is KKK, if one exists; otherwise set A=0A=0A=0. The defined output has entries (Aen)m(Ae_n)_m(Aen​)m​. No restrictions on λ,NE\lambda,N_Eλ,NE​, or XXX are assumed. Natural-number subtraction is truncated at zero, real square roots of nonpositive numbers are zero, division by zero is zero, and the displayed infinite complex sum has the totalized value zero if it is not summable.

QAlgorithms.Papers.Independent.Bridge50.P28.thermalUpperBoundBits

For arbitrary real numbers λ,NE,N\lambda,N_E,Nλ,NE​,N, let

x=λN(1−λ)NE+1.x=\frac{\lambda N}{(1-\lambda)N_E+1}.x=(1−λ)NE​+1λN​.

This defines the real number

(x+1)log⁡(x+1)−xlog⁡xlog⁡2,\frac{(x+1)\log(x+1)-x\log x}{\log2},log2(x+1)log(x+1)−xlogx​,

using natural logarithms. There are no parameter-range assumptions. Division by zero is defined to be zero, so if (1−λ)NE+1=0(1-\lambda)N_E+1=0(1−λ)NE​+1=0, then x=0x=0x=0 and the defined value is zero. The real logarithm is total, with log⁡0=0\log0=0log0=0, including when its arguments are nonpositive.

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