Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Spin-degenerate fermion classical capacity and corrected entropy formula

Open
QAlgorithms.Papers.Independent.Advance50.P31.fermion_classical_capacity

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

prove2quantum

Consider a noiseless channel carrying massive, indistinguishable, noninteracting fermions with a positive integer spin degeneracy g=2s+1g=2s+1g=2s+1. Mode iii has energy ϵi\epsilon_iϵi​, identical for all ggg spin labels, and the mode energies are bounded below. Each spin-resolved occupation ni,σn_{i,\sigma}ni,σ​ is zero or one. Let kB,T>0k_B,T>0kB​,T>0, β=(kBT)−1\beta=(k_BT)^{-1}β=(kB​T)−1 and μf∈R\mu_f\in\mathbb Rμf​∈R. On all finite-particle Fock configurations set

pf(n)=Zf−1exp⁡ ⁣[−β∑i,σ(ϵi−μf)ni,σ],nˉi=geβ(ϵi−μf)+1.p_f(n)=Z_f^{-1}\exp\!\left[-\beta\sum_{i,\sigma}(\epsilon_i-\mu_f)n_{i,\sigma}\right],\qquad \bar n_i=\frac{g}{e^{\beta(\epsilon_i-\mu_f)}+1}.pf​(n)=Zf−1​exp[−βi,σ∑​(ϵi​−μf​)ni,σ​],nˉi​=eβ(ϵi​−μf​)+1g​.

Assume a normalizable positive partition sum, finite absolute Gibbs energy and particle-number moments, and finite Shannon entropy. Let E,NE,NE,N be the resulting means. Optimize Holevo information and single-copy accessible information over all countably supported ensembles whose average energy and number equal E,NE,NE,N, obtaining CH,C1C_H,C_1CH​,C1​. The fermionic number-state ensemble Gf={pf(n),∣n⟩⟨n∣}\mathcal G_f=\{p_f(n),|n\rangle\langle n|\}Gf​={pf​(n),∣n⟩⟨n∣} is admissible and satisfies

CH(E,N)=C1(E,N)=χ(Gf)=Iacc(Gf)=H(pf)=g∑ih2(nˉi/g),h2(x)=−xlog⁡2x−(1−x)log⁡2(1−x).C_H(E,N)=C_1(E,N)=\chi(\mathcal G_f)=I_{\rm acc}(\mathcal G_f) =H(p_f)=g\sum_i h_2(\bar n_i/g), \quad h_2(x)=-x\log_2 x-(1-x)\log_2(1-x).CH​(E,N)=C1​(E,N)=χ(Gf​)=Iacc​(Gf​)=H(pf​)=gi∑​h2​(nˉi​/g),h2​(x)=−xlog2​x−(1−x)log2​(1−x).

Its average-state entropy equals H(pf)H(p_f)H(pf​), the number-state measurement attains this information in a single copy, and all competing average-state entropies are bounded by it. Entropies are in bits and zero-log terms have their continuous values.

The outside factor ggg accounts for all independent spin states. Source correction: Eq.(60) prints a bosonic occupation label and a bosonic plus-sign entropy expression; the displayed formula is the unique Bernoulli-entropy correction determined by Eqs.(56),(58),(59). It does not include the separately deferred quantum-capacity equality.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P31
Formal statement
noncomputable section

open MeasureTheory

open scoped ENNReal BigOperators

namespace QAlgorithms.Papers.Independent.Advance50.P31

open QAlgorithms.Papers.Independent.Dependency50.P13 (IsTraceClass operatorTrace)

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

variable {I : Type*} [Countable I]

/-- PDF pp.11--12, Eqs.(56)--(60): spin-g fermion classical capacity and attaining
number-state ensemble. SOURCE CORRECTION: Eq.(60) prints bosonic nbar^b and
(1+nbar/g); Eqs.(56),(58),(59) uniquely give g*h_2(nbar^f/g), retained here
with the outside factor g. The quantum-capacity equality is not included. -/
theorem fermion_classical_capacity
    (g : ℕ) (hg : 0 < g) (b : HilbertBasis (FermiConfig g) ℂ H)
    (eps : ℕ → ℝ) (kB T mu : ℝ) (hkB : 0 < kB) (hT : 0 < T)
    (hlower : BddBelow (Set.range eps))
    (hregular : GibbsRegular (fermiEnergy (g := g) eps) (fermiNumber (g := g))
      ((kB * T)⁻¹) mu) :
    ThermalAttainment b (fermiEnergy (g := g) eps) (fermiNumber (g := g)) ((kB * T)⁻¹) mu
      (some (fockGibbsMean (fermiEnergy (g := g) eps) (fermiNumber (g := g))
        (fermiNumber (g := g)) ((kB * T)⁻¹) mu))
      ((g : ℝ≥0∞) * ∑' i : ℕ, ENNReal.ofReal
        (fermiEntropy (1 / (Real.exp ((kB * T)⁻¹ * (eps i - mu)) + 1)))) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P31

end
Source
Capacities of noiseless quantum channels for massive indistinguishable particles: Bosons vs. fermions, arXiv:quant-ph/0512200v3, PDF p. 11, §VIII B, Eqs.(56)–(60)
Read-back

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

Let HHH be a complete complex Hilbert space, let ggg be a natural number with g>0g>0g>0, and let Cg\mathcal C_gCg​ be the set of finitely supported functions n:N×{0,…,g−1}→Nn:\mathbb N\times\{0,\ldots,g-1\}\to\mathbb Nn:N×{0,…,g−1}→N satisfying n(i,s)≤1n(i,s)\le1n(i,s)≤1 everywhere. Fix a Hilbert basis b=(bn)n∈Cgb=(b_n)_{n\in\mathcal C_g}b=(bn​)n∈Cg​​ of HHH, a function ε:N→R\varepsilon:\mathbb N\to\mathbb Rε:N→R whose range is bounded below, and real numbers kB,T,μk_B,T,\mukB​,T,μ with kB>0k_B>0kB​>0 and T>0T>0T>0, with no sign restriction on μ\muμ. Write β=(kBT)−1\beta=(k_BT)^{-1}β=(kB​T)−1, En=∑i,sεin(i,s)E_n=\sum_{i,s}\varepsilon_i n(i,s)En​=∑i,s​εi​n(i,s), and Nn=∑i,sn(i,s)N_n=\sum_{i,s}n(i,s)Nn​=∑i,s​n(i,s), where these sums are finite. Set wn=exp⁡(−β(En−μNn))w_n=\exp(-\beta(E_n-\mu N_n))wn​=exp(−β(En​−μNn​)), Z=∑nwnZ=\sum_n w_nZ=∑n​wn​, pn=wn/Zp_n=w_n/Zpn​=wn​/Z, and h(t)=−tlog⁡2th(t)=-t\log_2th(t)=−tlog2​t. Assume that www is summable, Z>0Z>0Z>0, both (Enpn)n(E_np_n)_n(En​pn​)n​ and (Nnpn)n(N_np_n)_n(Nn​pn​)n​ are summable, and S=∑n[h(pn)]+<∞S=\sum_n[h(p_n)]_+<\inftyS=∑n​[h(pn​)]+​<∞, where [r]+[r]_+[r]+​ denotes the nonnegative real max⁡(r,0)\max(r,0)max(r,0), regarded as an element of [0,∞][0,\infty][0,∞]. The assertion concerns ensembles indexed by this same configuration set. To specify its meaning, put tr⁡bQ=∑n⟨bn,Qbn⟩\operatorname{tr}_b Q=\sum_n\langle b_n,Qb_n\rangletrb​Q=∑n​⟨bn​,Qbn​⟩; a density operator here is a bounded complex linear operator QQQ that is self-adjoint, satisfies Re⁡⟨x,Qx⟩≥0\operatorname{Re}\langle x,Qx\rangle\ge0Re⟨x,Qx⟩≥0 for every xxx, has tr⁡bQ=1\operatorname{tr}_bQ=1trb​Q=1, and admits sequences ur,vr∈Hu_r,v_r\in Hur​,vr​∈H with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞ and Qx=∑r⟨vr,x⟩urQx=\sum_r\langle v_r,x\rangle u_rQx=∑r​⟨vr​,x⟩ur​ for every xxx. Define its entropy by Hb(Q)=∑n[Re⁡⟨bn,h(Q)bn⟩]+\mathcal H_b(Q)=\sum_n[\operatorname{Re}\langle b_n,h(Q)b_n\rangle]_+Hb​(Q)=∑n​[Re⟨bn​,h(Q)bn​⟩]+​, using continuous functional calculus for h(Q)h(Q)h(Q). An ensemble e=(qn,Qn)ne=(q_n,Q_n)_ne=(qn​,Qn​)n​ is admissible at energy Eˉ=∑nEnpn\bar E=\sum_nE_np_nEˉ=∑n​En​pn​ and number Nˉ=∑nNnpn\bar N=\sum_nN_np_nNˉ=∑n​Nn​pn​ when every QnQ_nQn​ is such a density operator, every qn≥0q_n\ge0qn​≥0, qqq is summable with sum 111, its operator sum Qˉ=∑nqnQn\bar Q=\sum_nq_nQ_nQˉ​=∑n​qn​Qn​ is also a density operator, and the two sequences EnRe⁡⟨bn,Qˉbn⟩E_n\operatorname{Re}\langle b_n,\bar Qb_n\rangleEn​Re⟨bn​,Qˉ​bn​⟩ and NnRe⁡⟨bn,Qˉbn⟩N_n\operatorname{Re}\langle b_n,\bar Qb_n\rangleNn​Re⟨bn​,Qˉ​bn​⟩ are summable with sums exactly Eˉ\bar EEˉ and Nˉ\bar NNˉ. Its Holevo quantity is χb(e)=Hb(Qˉ)−∑n[qn]+Hb(Qn)\chi_b(e)=\mathcal H_b(\bar Q)-\sum_n[q_n]_+\mathcal H_b(Q_n)χb​(e)=Hb​(Qˉ​)−∑n​[qn​]+​Hb​(Qn​), with subtraction in [0,∞][0,\infty][0,∞], in particular ∞−∞=0\infty-\infty=0∞−∞=0. An allowed measurement is a family (Mj)j∈Cg(M_j)_{j\in\mathcal C_g}(Mj​)j∈Cg​​ of bounded self-adjoint positive operators such that, for every x,yx,yx,y, the sequence ⟨x,Mjy⟩\langle x,M_jy\rangle⟨x,Mj​y⟩ is summable and sums to ⟨x,y⟩\langle x,y\rangle⟨x,y⟩. For such a measurement define rnj=qnRe⁡tr⁡b(MjQn)r_{nj}=q_n\operatorname{Re}\operatorname{tr}_b(M_jQ_n)rnj​=qn​Retrb​(Mj​Qn​) and measured information Ib(e,M)=∑n,jL(rnj,(∑ℓrnℓ)(∑ℓrℓj))\mathcal I_b(e,M)=\sum_{n,j}L(r_{nj},(\sum_\ell r_{n\ell})(\sum_\ell r_{\ell j}))Ib​(e,M)=∑n,j​L(rnj​,(∑ℓ​rnℓ​)(∑ℓ​rℓj​)), where L(u,v)=[v/log⁡2]+L(u,v)=[v/\log2]_+L(u,v)=[v/log2]+​ if u=0u=0u=0, L(u,v)=∞L(u,v)=\inftyL(u,v)=∞ if u≠0u\ne0u=0 and v=0v=0v=0, and otherwise L(u,v)=[(ulog⁡(u/v)−u+v)/log⁡2]+L(u,v)=[(u\log(u/v)-u+v)/\log2]_+L(u,v)=[(ulog(u/v)−u+v)/log2]+​; accessible information is the supremum of Ib(e,M)\mathcal I_b(e,M)Ib​(e,M) over all allowed measurements. Then the particular ensemble e∗=(pn,∣bn⟩⟨bn∣)ne_*=(p_n,|b_n\rangle\langle b_n|)_ne∗​=(pn​,∣bn​⟩⟨bn​∣)n​ is admissible at (Eˉ,Nˉ)(\bar E,\bar N)(Eˉ,Nˉ), and Mn∗=∣bn⟩⟨bn∣M^*_n=|b_n\rangle\langle b_n|Mn∗​=∣bn​⟩⟨bn​∣ is an allowed measurement. Its measured information, average-state entropy, Holevo quantity, and accessible information all equal SSS; the supremum of Holevo quantities over all ensembles admissible at (Eˉ,Nˉ)(\bar E,\bar N)(Eˉ,Nˉ), and the supremum of their accessible information, also equal SSS. Moreover,

S=g∑i=0∞[−tilog⁡2ti−(1−ti)log⁡2(1−ti)]+,ti=1exp⁡(β(εi−μ))+1,S = g\sum_{i=0}^{\infty} \left[ -t_i\log_2t_i-(1-t_i)\log_2(1-t_i) \right]_+, \qquad t_i=\frac{1}{\exp(\beta(\varepsilon_i-\mu))+1},S=gi=0∑∞​[−ti​log2​ti​−(1−ti​)log2​(1−ti​)]+​,ti​=exp(β(εi​−μ))+11​,

where the multiplication and sum on the right take place in [0,∞][0,\infty][0,∞], and every admissible ensemble eee satisfies Hb(Qˉ)≤S\mathcal H_b(\bar Q)\le SHb​(Qˉ​)≤S. All infinite sums use their total definitions; in particular, an unsummable real, complex, or operator-valued sum is assigned zero, and the operator sum defining an admissible ensemble is not separately required to be summable.

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