Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Spectral pairing balance at a minimizer with thermal environment and thermal replacement

Proved
OAI.EntropyPhotonNumber.Regularization.minimum_spectral_pairing_balance

by Shuze Chen · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

entropyoai-mathoptimizationquantum-information

Let F=ℓ2(Nn,C)F=\ell^2(\mathbb{N}^n,\mathbb{C})F=ℓ2(Nn,C) be the nnn-mode Fock space with number basis (∣k⟩)(|k\rangle)(∣k⟩), ∣k∣=k1+⋯+kn|k|=k_1+\dots+k_n∣k∣=k1​+⋯+kn​, annihilation operators aja_jaj​, n^j=aj†aj\hat n_j=a_j^\dagger a_jn^j​=aj†​aj​, and the diagonal weight N^=1+∑jn^j\hat N=1+\sum_j\hat n_jN^=1+∑j​n^j​ (so N^∣k⟩=(1+∣k∣)∣k⟩\hat N|k\rangle=(1+|k|)|k\rangleN^∣k⟩=(1+∣k∣)∣k⟩). States are positive operators on FFF with number-basis diagonal summing to 111; E(ρ)=∑k∣k∣ρkkE(\rho)=\sum_k|k|\rho_{kk}E(ρ)=∑k​∣k∣ρkk​, and ρ\rhoρ has finite mmm-th moment if ∑k(1+∣k∣)mρkk<∞\sum_k(1+|k|)^m\rho_{kk}<\infty∑k​(1+∣k∣)mρkk​<∞. For r>0r>0r>0, τr\tau_rτr​ denotes the thermal state with mean photon number rrr per mode, ⟨k∣τr∣l⟩=δkl∏i1r+1(rr+1)ki\langle k|\tau_r|l\rangle=\delta_{kl}\prod_i\frac1{r+1}(\frac r{r+1})^{k_i}⟨k∣τr​∣l⟩=δkl​∏i​r+11​(r+1r​)ki​, and h(r)=log⁡(r+1)−log⁡rh(r)=\log(r+1)-\log rh(r)=log(r+1)−logr.

Regularized problem. Fix η,δ,κ∈[0,1]\eta,\delta,\kappa\in[0,1]η,δ,κ∈[0,1], finite-energy states τD,τ0\tau_D,\tau_0τD​,τ0​ and constants c,a1,a2,b1,b2,ζ>0c,a_1,a_2,b_1,b_2,\zeta>0c,a1​,a2​,b1​,b2​,ζ>0. With Bθ\mathcal B_\thetaBθ​ the beam-splitter output at transmissivity θ\thetaθ, put

ω(ρ,σ)=(1−κ) B1−δ(Bη(ρ,σ),τD)+κτ0,Φ(ρ,σ)=cS(ω)−a1S(ρ)−a2S(σ)+b1E(ρ)+ζM4(ρ)+b2E(σ)+ζM4(σ),\omega(\rho,\sigma)=(1-\kappa)\,\mathcal B_{1-\delta}\bigl(\mathcal B_\eta(\rho,\sigma),\tau_D\bigr)+\kappa\tau_0,\qquad \Phi(\rho,\sigma)=cS(\omega)-a_1S(\rho)-a_2S(\sigma)+b_1E(\rho)+\zeta M_4(\rho)+b_2E(\sigma)+\zeta M_4(\sigma),ω(ρ,σ)=(1−κ)B1−δ​(Bη​(ρ,σ),τD​)+κτ0​,Φ(ρ,σ)=cS(ω)−a1​S(ρ)−a2​S(σ)+b1​E(ρ)+ζM4​(ρ)+b2​E(σ)+ζM4​(σ),

with SSS the von Neumann entropy and M4(ρ)=∑k(1+∣k∣)4ρkkM_4(\rho)=\sum_k(1+|k|)^4\rho_{kk}M4​(ρ)=∑k​(1+∣k∣)4ρkk​.

A Gibbs representation of ρ\rhoρ with quartic coefficient kkk consists of a positive bounded BρB_\rhoBρ​, a Hilbert basis (gj)(g_j)(gj​) and numbers uj>0u_j>0uj​>0 with Z=∑je−uj<∞\mathcal Z=\sum_je^{-u_j}<\inftyZ=∑j​e−uj​<∞ such that N^−2(k+N^−3/2BρN^−3/2)−1N^−2gj=uj−1gj\hat N^{-2}(k+\hat N^{-3/2}B_\rho\hat N^{-3/2})^{-1}\hat N^{-2}g_j=u_j^{-1}g_jN^−2(k+N^−3/2Bρ​N^−3/2)−1N^−2gj​=uj−1​gj​ and ρ=∑je−ujZ∣gj⟩⟨gj∣\rho=\sum_j\frac{e^{-u_j}}{\mathcal Z}|g_j\rangle\langle g_j|ρ=∑j​Ze−uj​​∣gj​⟩⟨gj​∣ (ρ\rhoρ injective with finite seventh moment); its probabilities are e−uj/Ze^{-u_j}/\mathcal Ze−uj​/Z and its log sandwich is Lρ=k+N^−3/2BρN^−3/2+(log⁡Z)N^−4\mathcal L_\rho=k+\hat N^{-3/2}B_\rho\hat N^{-3/2}+(\log\mathcal Z)\hat N^{-4}Lρ​=k+N^−3/2Bρ​N^−3/2+(logZ)N^−4 (formally N^−2(−log⁡ρ)N^−2\hat N^{-2}(-\log\rho)\hat N^{-2}N^−2(−logρ)N^−2).

A spectral logarithm datum for a state ρ\rhoρ consists of a Hilbert basis (bj)j∈J(b_j)_{j\in J}(bj​)j∈J​ of FFF and pj>0p_j>0pj​>0 with ∑jpj=1\sum_jp_j=1∑j​pj​=1 and ρbj=pjbj\rho b_j=p_jb_jρbj​=pj​bj​; spectral columns xj∈Fx_j\in Fxj​∈F with ∑j∥xj∥2<∞\sum_j\|x_j\|^2<\infty∑j​∥xj​∥2<∞ and N^−3xj=pj bj\hat N^{-3}x_j=\sqrt{p_j}\,b_jN^−3xj​=pj​​bj​; and a bounded symmetric operator L\mathcal LL (the log sandwich) with

Re⁡⟨y,Ly⟩=∑j(−log⁡pj) ∣⟨bj,N^−2y⟩∣2(y∈F),L(N^−1xj)=(−log⁡pj) N^−5xj.\operatorname{Re}\langle y,\mathcal Ly\rangle=\sum_j(-\log p_j)\,\bigl|\langle b_j,\hat N^{-2}y\rangle\bigr|^2\quad(y\in F),\qquad \mathcal L(\hat N^{-1}x_j)=(-\log p_j)\,\hat N^{-5}x_j .Re⟨y,Ly⟩=j∑​(−logpj​)​⟨bj​,N^−2y⟩​2(y∈F),L(N^−1xj​)=(−logpj​)N^−5xj​.

Formally L=N^−2(−log⁡ρ)N^−2\mathcal L=\hat N^{-2}(-\log\rho)\hat N^{-2}L=N^−2(−logρ)N^−2.

For a state μ\muμ with finite sixth moment, its canonical columns are xkμ=N^3μ∣k⟩x^\mu_k=\hat N^3\sqrt\mu|k\ranglexkμ​=N^3μ​∣k⟩, with yk=N^−3xkμ=μ∣k⟩y_k=\hat N^{-3}x^\mu_k=\sqrt\mu|k\rangleyk​=N^−3xkμ​=μ​∣k⟩. For s∈Rs\in\mathbb{R}s∈R and a bounded ZZZ the generator pairing is

Γs(xμ;Z)=∑j=1n∑k[(s+1)(⟨N^2ajyk,ZN^2ajyk⟩−12⟨N^2yk,ZN^2n^jyk⟩−12⟨N^2n^jyk,ZN^2yk⟩)+s(⟨N^2aj†yk,ZN^2aj†yk⟩−12⟨N^2yk,ZN^2(n^j+1)yk⟩−12⟨N^2(n^j+1)yk,ZN^2yk⟩)],\Gamma_s(x^\mu;Z)=\sum_{j=1}^n\sum_k\Bigl[(s+1)\Bigl(\langle\hat N^2a_jy_k,Z\hat N^2a_jy_k\rangle-\tfrac12\langle\hat N^2y_k,Z\hat N^2\hat n_jy_k\rangle-\tfrac12\langle\hat N^2\hat n_jy_k,Z\hat N^2y_k\rangle\Bigr)+s\Bigl(\langle\hat N^2a_j^\dagger y_k,Z\hat N^2a_j^\dagger y_k\rangle-\tfrac12\langle\hat N^2y_k,Z\hat N^2(\hat n_j+1)y_k\rangle-\tfrac12\langle\hat N^2(\hat n_j+1)y_k,Z\hat N^2y_k\rangle\Bigr)\Bigr],Γs​(xμ;Z)=j=1∑n​k∑​[(s+1)(⟨N^2aj​yk​,ZN^2aj​yk​⟩−21​⟨N^2yk​,ZN^2n^j​yk​⟩−21​⟨N^2n^j​yk​,ZN^2yk​⟩)+s(⟨N^2aj†​yk​,ZN^2aj†​yk​⟩−21​⟨N^2yk​,ZN^2(n^j​+1)yk​⟩−21​⟨N^2(n^j​+1)yk​,ZN^2yk​⟩)],

formally Tr⁡μ Ls∗(N^2ZN^2)\operatorname{Tr}\mu\,\mathcal L_s^*(\hat N^2Z\hat N^2)TrμLs∗​(N^2ZN^2) with Ls∗(K)=∑j(s+1)(aj†Kaj−12{n^j,K})+s(ajKaj†−12{ajaj†,K})\mathcal L_s^*(K)=\sum_j(s+1)(a_j^\dagger Ka_j-\frac12\{\hat n_j,K\})+s(a_jKa_j^\dagger-\frac12\{a_ja_j^\dagger,K\})Ls∗​(K)=∑j​(s+1)(aj†​Kaj​−21​{n^j​,K})+s(aj​Kaj†​−21​{aj​aj†​,K}) the Heisenberg generator of the thermal-noise semigroup with mean photon number sss.

Let N=N^−2(∑jn^j)N^−2\mathcal N=\hat N^{-2}\Bigl(\sum_j\hat n_j\Bigr)\hat N^{-2}N=N^−2(∑j​n^j​)N^−2 (the diagonal operator with entries ∣k∣/(1+∣k∣)4|k|/(1+|k|)^4∣k∣/(1+∣k∣)4). For a basis eee and weights www let Qe,w(T)=∑i,lL(wi,wl)∣⟨ei,Tel⟩∣2Q_{e,w}(T)=\sum_{i,l}L(w_i,w_l)|\langle e_i,Te_l\rangle|^2Qe,w​(T)=∑i,l​L(wi​,wl​)∣⟨ei​,Tel​⟩∣2 (LLL the logarithmic mean), ce,w(T)=T−(∑iwi⟨ei,Tei⟩)Id\mathrm c_{e,w}(T)=T-(\sum_iw_i\langle e_i,Te_i\rangle)\mathrm{Id}ce,w​(T)=T−(∑i​wi​⟨ei​,Tei​⟩)Id, and Z(e,w)\mathcal Z(e,w)Z(e,w) the span of ∣ei⟩⟨el∣−δilwiId|e_i\rangle\langle e_l|-\delta_{il}w_i\mathrm{Id}∣ei​⟩⟨el​∣−δil​wi​Id. Let A1(Z)A_1(Z)A1​(Z) be the partial expectation over the second input in state σ\sigmaσ of the Heisenberg dual of ρ′⊗σ′↦B1−δ(Bη(ρ′,σ′),τD)\rho'\otimes\sigma'\mapsto\mathcal B_{1-\delta}(\mathcal B_\eta(\rho',\sigma'),\tau_D)ρ′⊗σ′↦B1−δ​(Bη​(ρ′,σ′),τD​) applied to ZZZ, and A2(Z)A_2(Z)A2​(Z) the partial expectation over the first input in state ρ\rhoρ.

Theorem. Let ρ,σ\rho,\sigmaρ,σ have finite fourth moments, let s1,s2,d,r0∈Rs_1,s_2,d,r_0\in\mathbb{R}s1​,s2​,d,r0​∈R with d>0d>0d>0, r0>0r_0>0r0​>0 and

r0=(1−δ)(ηs1+(1−η)s2)+δd,r_0=(1-\delta)\bigl(\eta s_1+(1-\eta)s_2\bigr)+\delta d,r0​=(1−δ)(ηs1​+(1−η)s2​)+δd,

assume τD=τd\tau_D=\tau_dτD​=τd​, τ0=τr0\tau_0=\tau_{r_0}τ0​=τr0​​, κ>0\kappa>0κ>0, and that (ρ,σ)(\rho,\sigma)(ρ,σ) minimizes Φ\PhiΦ among all pairs of states with finite fourth moments. Then ρ,σ\rho,\sigmaρ,σ and ω=ω(ρ,σ)\omega=\omega(\rho,\sigma)ω=ω(ρ,σ) have finite sixth moments, and there are Gibbs representations G1G_1G1​ of ρ\rhoρ (coefficient ζ/a1\zeta/a_1ζ/a1​; basis g(1)g^{(1)}g(1), probabilities w(1)w^{(1)}w(1), log sandwich Lρ\mathcal L_\rhoLρ​), G2G_2G2​ of σ\sigmaσ (coefficient ζ/a2\zeta/a_2ζ/a2​; g(2)g^{(2)}g(2), w(2)w^{(2)}w(2), Lσ\mathcal L_\sigmaLσ​) and a spectral logarithm datum G0G_0G0​ of ω\omegaω (basis bbb, probabilities ppp, log sandwich Lω\mathcal L_\omegaLω​) such that

  1. a1Γs1(xρ;Lρ)+a2Γs2(xσ;Lσ)=c Γr0(xω;Lω)+b1Γs1(xρ;N)+b2Γs2(xσ;N)+ζ(Γs1(xρ;Id)+Γs2(xσ;Id))a_1\Gamma_{s_1}(x^\rho;\mathcal L_\rho)+a_2\Gamma_{s_2}(x^\sigma;\mathcal L_\sigma)=c\,\Gamma_{r_0}(x^\omega;\mathcal L_\omega)+b_1\Gamma_{s_1}(x^\rho;\mathcal N)+b_2\Gamma_{s_2}(x^\sigma;\mathcal N)+\zeta\bigl(\Gamma_{s_1}(x^\rho;\mathrm{Id})+\Gamma_{s_2}(x^\sigma;\mathrm{Id})\bigr)a1​Γs1​​(xρ;Lρ​)+a2​Γs2​​(xσ;Lσ​)=cΓr0​​(xω;Lω​)+b1​Γs1​​(xρ;N)+b2​Γs2​​(xσ;N)+ζ(Γs1​​(xρ;Id)+Γs2​​(xσ;Id));
  2. for all Z∈Z(b,p)Z\in\mathcal Z(b,p)Z∈Z(b,p): (1−κ)2 Qg(1),w(1)(cg(1),w(1)(A1Z))≤a1c Qb,p(Z)(1-\kappa)^2\,Q_{g^{(1)},w^{(1)}}\bigl(\mathrm c_{g^{(1)},w^{(1)}}(A_1Z)\bigr)\le\frac{a_1}{c}\,Q_{b,p}(Z)(1−κ)2Qg(1),w(1)​(cg(1),w(1)​(A1​Z))≤ca1​​Qb,p​(Z);
  3. for all Z∈Z(b,p)Z\in\mathcal Z(b,p)Z∈Z(b,p): (1−κ)2 Qg(2),w(2)(cg(2),w(2)(A2Z))≤a2c Qb,p(Z)(1-\kappa)^2\,Q_{g^{(2)},w^{(2)}}\bigl(\mathrm c_{g^{(2)},w^{(2)}}(A_2Z)\bigr)\le\frac{a_2}{c}\,Q_{b,p}(Z)(1−κ)2Qg(2),w(2)​(cg(2),w(2)​(A2​Z))≤ca2​​Qb,p​(Z).

Formally item 1 reads a1Tr⁡ρ Ls1∗(−log⁡ρ)+a2Tr⁡σ Ls2∗(−log⁡σ)=cTr⁡ω Lr0∗(−log⁡ω)+…a_1\operatorname{Tr}\rho\,\mathcal L^*_{s_1}(-\log\rho)+a_2\operatorname{Tr}\sigma\,\mathcal L^*_{s_2}(-\log\sigma)=c\operatorname{Tr}\omega\,\mathcal L^*_{r_0}(-\log\omega)+\dotsa1​TrρLs1​∗​(−logρ)+a2​TrσLs2​∗​(−logσ)=cTrωLr0​∗​(−logω)+…: when the environment and replacement states are thermal with compatible means, the output term collapses to a single thermal generator acting on the output. This is the stationarity identity in which the centered energy terms later cancel.

Formalization Note The data are the structure Regularization n; Γs\Gamma_sΓs​ is WeightedGenerator.pairing with columns weightedRoot 3, N\mathcal NN is numberSandwich n, A1,A2A_1,A_2A1​,A2​ are rawFirstSlice R.η (1-R.δ) … σ R.τD and rawSecondSlice … ρ R.τD. The moment proofs h6ρ h6σ h60 are part of the existential conclusion.

Preamble
import Mathlib
import Definitions.Def_EntropyPhotonNumber
import Definitions.Def_OAI_MathematicalPhysics_Fock_Beam
import Definitions.Def_OAI_Analysis_QuantumTrace_Basic
import Definitions.Def_OAI_MathematicalPhysics_Fock_Operators
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Gibbs
import Definitions.Def_OAI_Analysis_TensorLp
import Definitions.Def_OAI_InformationTheory_PhotonNumber_BeamTrace
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Functions
import Definitions.Def_OAI_Analysis_DiagonalForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_ThermalMetric
import Definitions.Def_OAI_InformationTheory_PhotonNumber_BeamForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Generator
import Definitions.Def_OAI_InformationTheory_PhotonNumber_SpectralLog
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Continuity
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Entropy
import Definitions.Def_OAI_InformationTheory_PhotonNumber_GibbsVariational
import Definitions.Def_OAI_Analysis_Herglotz
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Interpolation
import Definitions.Def_OAI_InformationTheory_PhotonNumber_SpectralForms
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Contraction
import Definitions.Def_OAI_InformationTheory_PhotonNumber_FiniteVariation
import Definitions.Def_OAI_InformationTheory_PhotonNumber_PhysicalMinimum
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Duality
import Definitions.Def_OAI_InformationTheory_PhotonNumber_Minimum

open OAI OAI.EntropyPhotonNumber OAI.EntropyPhotonNumber.Regularization
open scoped BigOperators ComplexConjugate
open QuantumTrace Annihilation
variable {n : ℕ} (R : Regularization n)
Formal statement
theorem OAI.EntropyPhotonNumber.Regularization.minimum_spectral_pairing_balance (ρ σ : State n)
    (hmρ : FiniteMoment 4 ρ) (hmσ : FiniteMoment 4 σ)
    (s1 s2 d r0 : ℝ) (hd : 0<d) (hr0 : 0<r0)
    (heq : r0=(1-R.δ)*(R.η*s1+(1-R.η)*s2)+(1-(1-R.δ))*d)
    (hD : R.τD=thermalState n d hd) (hτ : R.τ0=thermalState n r0 hr0)
    (hκ : 0<R.κ)
    (hmin : ∀ ρ' σ', FiniteMoment 4 ρ' → FiniteMoment 4 σ' → R.objective ρ σ ≤ R.objective ρ' σ') :
    ∃ (G1 : GibbsData n (R.ζ/R.a1) ρ) (G2 : GibbsData n (R.ζ/R.a2) σ)
      (G0 : SpectralLogData n (R.output ρ σ))
      (h6ρ : FiniteMoment 6 ρ) (h6σ : FiniteMoment 6 σ) (h60 : FiniteMoment 6 (R.output ρ σ)),
      (R.a1:ℂ)*WeightedGenerator.pairing s1 (weightedRoot 3 ρ h6ρ) G1.logSandwich+
      (R.a2:ℂ)*WeightedGenerator.pairing s2 (weightedRoot 3 σ h6σ) G2.logSandwich=
      (R.c:ℂ)*WeightedGenerator.pairing r0 (weightedRoot 3 (R.output ρ σ) h60) G0.logSandwich+
      (R.b1:ℂ)*WeightedGenerator.pairing s1 (weightedRoot 3 ρ h6ρ) (numberSandwich n)+
      (R.b2:ℂ)*WeightedGenerator.pairing s2 (weightedRoot 3 σ h6σ) (numberSandwich n)+
      (R.ζ:ℂ)*(WeightedGenerator.pairing s1 (weightedRoot 3 ρ h6ρ) (1 : Fock n →L[ℂ] Fock n)+
        WeightedGenerator.pairing s2 (weightedRoot 3 σ h6σ) (1 : Fock n →L[ℂ] Fock n)) ∧
      (∀ Z : Fock n →L[ℂ] Fock n, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
        (1-R.κ)^2*BKM.quadratic G1.basis G1.probability
          (BKM.center G1.basis G1.probability
            (rawFirstSlice R.η (1-R.δ) R.hη R.attenuation_mem σ R.τD Z)) ≤
          (R.a1/R.c)*BKM.quadratic G0.basis G0.probability Z) ∧
      (∀ Z : Fock n →L[ℂ] Fock n, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
        (1-R.κ)^2*BKM.quadratic G2.basis G2.probability
          (BKM.center G2.basis G2.probability
            (rawSecondSlice R.η (1-R.δ) R.hη R.attenuation_mem ρ R.τD Z)) ≤
          (R.a2/R.c)*BKM.quadratic G0.basis G0.probability Z) := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/Minimum.lean#L1131-L1199

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me