Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Defect estimate for the regularized output in terms of the input defects and means

Proved
OAI.EntropyPhotonNumber.ThermalSetup.physical_estimate

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

functional-analysisinequalitiesoai-mathquantum-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.

Thermal setup. Fix η,θ,κ∈(0,1)\eta,\theta,\kappa\in(0,1)η,θ,κ∈(0,1), ε>0\varepsilon>0ε>0, d>0d>0d>0, r1,r2>0r_1,r_2>0r1​,r2​>0, and put

r0=θ(ηr1+(1−η)r2)+(1−θ)d,w1=(1−κ)θη,w2=(1−κ)θ(1−η).r_0=\theta\bigl(\eta r_1+(1-\eta)r_2\bigr)+(1-\theta)d,\qquad w_1=(1-\kappa)\theta\eta,\qquad w_2=(1-\kappa)\theta(1-\eta).r0​=θ(ηr1​+(1−η)r2​)+(1−θ)d,w1​=(1−κ)θη,w2​=(1−κ)θ(1−η).

Let LLL be the logarithmic mean, f(x)=x/sinh⁡xf(x)=x/\sinh xf(x)=x/sinhx, w(r,ν)=1h(r)f(h(r)ν/2)f(−h(r)/2)f(h(r)ν/2−h(r)/2)w(r,\nu)=\frac{1}{h(r)}\frac{f(h(r)\nu/2)f(-h(r)/2)}{f(h(r)\nu/2-h(r)/2)}w(r,ν)=h(r)1​f(h(r)ν/2−h(r)/2)f(h(r)ν/2)f(−h(r)/2)​ the thermal weight, w∗(r)=inf⁡νw(r,ν)w_*(r)=\inf_\nu w(r,\nu)w∗​(r)=infν​w(r,ν) and χ(r)=(h(r)w∗(r))−1/2\chi(r)=(h(r)w_*(r))^{-1/2}χ(r)=(h(r)w∗​(r))−1/2. The setup assumes the slack conditions

(1+ε)(θηr1+θ(1−η)r2)≤r0,(1+ε)(θη(r1+1)+θ(1−η)(r2+1))≤r0+1,(1+\varepsilon)\bigl(\theta\eta r_1+\theta(1-\eta)r_2\bigr)\le r_0,\qquad(1+\varepsilon)\bigl(\theta\eta(r_1+1)+\theta(1-\eta)(r_2+1)\bigr)\le r_0+1,(1+ε)(θηr1​+θ(1−η)r2​)≤r0​,(1+ε)(θη(r1​+1)+θ(1−η)(r2​+1))≤r0​+1,

and the smallness κ≤ε2/(4(ε+2)χ(r0)2)\kappa\le\varepsilon^2/\bigl(4(\varepsilon+2)\chi(r_0)^2\bigr)κ≤ε2/(4(ε+2)χ(r0​)2). For ζ>0\zeta>0ζ>0 the associated regularization uses transmissivities η\etaη and θ\thetaθ, environment τd\tau_dτd​, replacement τr0\tau_{r_0}τr0​​ with weight κ\kappaκ, and constants c=1/h(r0)c=1/h(r_0)c=1/h(r0​), ai=(1+ε)wi/h(ri)a_i=(1+\varepsilon)w_i/h(r_i)ai​=(1+ε)wi​/h(ri​), bi=εwib_i=\varepsilon w_ibi​=εwi​ and ζ\zetaζ; its output is ω(ρ,σ)=(1−κ) Bθ(Bη(ρ,σ),τd)+κτr0\omega(\rho,\sigma)=(1-\kappa)\,\mathcal B_\theta(\mathcal B_\eta(\rho,\sigma),\tau_d)+\kappa\tau_{r_0}ω(ρ,σ)=(1−κ)Bθ​(Bη​(ρ,σ),τd​)+κτr0​​ and its objective is Φζ(ρ,σ)=cS(ω)−a1S(ρ)−a2S(σ)+b1E(ρ)+ζM4(ρ)+b2E(σ)+ζM4(σ)\Phi_\zeta(\rho,\sigma)=cS(\omega)-a_1S(\rho)-a_2S(\sigma)+b_1E(\rho)+\zeta M_4(\rho)+b_2E(\sigma)+\zeta M_4(\sigma)Φζ​(ρ,σ)=cS(ω)−a1​S(ρ)−a2​S(σ)+b1​E(ρ)+ζM4​(ρ)+b2​E(σ)+ζM4​(σ).

For a spectral logarithm datum GGG (eigenbasis (bl)(b_l)(bl​), eigenvalues plp_lpl​) of a state and a mode jjj, let μj=∑lpl⟨bl,ajbl⟩\mu_j=\sum_lp_l\langle b_l,a_jb_l\rangleμj​=∑l​pl​⟨bl​,aj​bl​⟩, clm=⟨bl,(aj−μj)bm⟩c_{lm}=\langle b_l,(a_j-\mu_j)b_m\rangleclm​=⟨bl​,(aj​−μj​)bm​⟩, and for t>0t>0t>0 let ΔjG,t\Delta^{G,t}_jΔjG,t​ be the defect functional x↦∑l,m(t+1)pm−tplmlmclm‾ xlmx\mapsto\sum_{l,m}\frac{(t+1)p_m-tp_l}{\sqrt{m_{lm}}}\overline{c_{lm}}\,x_{lm}x↦∑l,m​mlm​​(t+1)pm​−tpl​​clm​​xlm​, where mlm=h(t)L(pl,pm)w(t,log⁡pl−log⁡pmh(t))m_{lm}=h(t)L(p_l,p_m)w(t,\frac{\log p_l-\log p_m}{h(t)})mlm​=h(t)L(pl​,pm​)w(t,h(t)logpl​−logpm​​), restricted to the centered space (the orthogonal complement in ℓ2\ell^2ℓ2 of the vector with diagonal entries pl\sqrt{p_l}pl​​). Put

Dt(G)=∑j=1n∥ΔjG,t∥2,M(G)=∑j=1n∣μj∣2.\mathsf D_t(G)=\sum_{j=1}^n\bigl\|\Delta^{G,t}_j\bigr\|^2,\qquad\mathsf M(G)=\sum_{j=1}^n|\mu_j|^2 .Dt​(G)=j=1∑n​​ΔjG,t​​2,M(G)=j=1∑n​∣μj​∣2.

For a basis eee and weights vvv let Qe,v(T)=∑i,lL(vi,vl)∣⟨ei,Tel⟩∣2Q_{e,v}(T)=\sum_{i,l}L(v_i,v_l)|\langle e_i,Te_l\rangle|^2Qe,v​(T)=∑i,l​L(vi​,vl​)∣⟨ei​,Tel​⟩∣2 and ce,v(T)=T−(∑ivi⟨ei,Tei⟩)Id\mathrm c_{e,v}(T)=T-(\sum_iv_i\langle e_i,Te_i\rangle)\mathrm{Id}ce,v​(T)=T−(∑i​vi​⟨ei​,Tei​⟩)Id, and let Z(e,v)\mathcal Z(e,v)Z(e,v) be the span of ∣ei⟩⟨el∣−δilviId|e_i\rangle\langle e_l|-\delta_{il}v_i\mathrm{Id}∣ei​⟩⟨el​∣−δil​vi​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 the two-stage map (mix the inputs at η\etaη, then mix with τd\tau_dτd​ at θ\thetaθ, keep the retained port) applied to ZZZ, and A2(Z)A_2(Z)A2​(Z) the partial expectation over the first input in state ρ\rhoρ.

Theorem. Let ζ>0\zeta>0ζ>0, let ρ,σ\rho,\sigmaρ,σ be states with finite sixth moments, and let G1,G2,G0G_1,G_2,G_0G1​,G2​,G0​ be spectral logarithm data of ρ\rhoρ, σ\sigmaσ and ω(ρ,σ)\omega(\rho,\sigma)ω(ρ,σ) (bases e(i)e^{(i)}e(i), probabilities v(i)v^{(i)}v(i)). Assume for all Z∈Z(e(0),v(0))Z\in\mathcal Z(e^{(0)},v^{(0)})Z∈Z(e(0),v(0))

(1−κ)2Qe(1),v(1)(ce(1),v(1)(A1Z))≤(1+ε)w1/h(r1)1/h(r0) Qe(0),v(0)(Z),(1−κ)2Qe(2),v(2)(ce(2),v(2)(A2Z))≤(1+ε)w2/h(r2)1/h(r0) Qe(0),v(0)(Z).(1-\kappa)^2Q_{e^{(1)},v^{(1)}}\bigl(\mathrm c_{e^{(1)},v^{(1)}}(A_1Z)\bigr)\le\frac{(1+\varepsilon)w_1/h(r_1)}{1/h(r_0)}\,Q_{e^{(0)},v^{(0)}}(Z),\qquad(1-\kappa)^2Q_{e^{(2)},v^{(2)}}\bigl(\mathrm c_{e^{(2)},v^{(2)}}(A_2Z)\bigr)\le\frac{(1+\varepsilon)w_2/h(r_2)}{1/h(r_0)}\,Q_{e^{(0)},v^{(0)}}(Z).(1−κ)2Qe(1),v(1)​(ce(1),v(1)​(A1​Z))≤1/h(r0​)(1+ε)w1​/h(r1​)​Qe(0),v(0)​(Z),(1−κ)2Qe(2),v(2)​(ce(2),v(2)​(A2​Z))≤1/h(r0​)(1+ε)w2​/h(r2​)​Qe(0),v(0)​(Z).

Then

Dr0(G0)≤w1Dr1(G1)+w2Dr2(G2)+ε2(w1Dr1(G1)+w2Dr2(G2)+w1M(G1)+w2M(G2)).\mathsf D_{r_0}(G_0)\le w_1\mathsf D_{r_1}(G_1)+w_2\mathsf D_{r_2}(G_2)+\frac\varepsilon2\Bigl(w_1\mathsf D_{r_1}(G_1)+w_2\mathsf D_{r_2}(G_2)+w_1\mathsf M(G_1)+w_2\mathsf M(G_2)\Bigr).Dr0​​(G0​)≤w1​Dr1​​(G1​)+w2​Dr2​​(G2​)+2ε​(w1​Dr1​​(G1​)+w2​Dr2​​(G2​)+w1​M(G1​)+w2​M(G2​)).

So the total thermal-balance defect of the output is controlled by the weighted input defects, with an ε/2\varepsilon/2ε/2 relative loss that also involves the input means; this is one half of the cancellation argument for the minimizers.

Formalization Note The data are the structure ThermalSetup and its regularization P.reg n ζ hζ; Dt\mathsf D_tDt​ and M\mathsf MM are defectSquared and meanSquared; A1,A2A_1,A_2A1​,A2​ are rawFirstSlice P.η P.θ … σ (thermalState n P.d P.hd) and rawSecondSlice … ρ ….

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.ThermalSetup
open scoped BigOperators ComplexConjugate
open QuantumTrace ThermalMetric Annihilation
variable {n : ℕ} (P : ThermalSetup)
Formal statement
theorem OAI.EntropyPhotonNumber.ThermalSetup.physical_estimate (ζ : ℝ) (hζ : 0<ζ) (ρ σ : State n)
    (G1 : SpectralLogData n ρ) (G2 : SpectralLogData n σ)
    (G0 : SpectralLogData n ((P.reg n ζ hζ).output ρ σ))
    (h6ρ : FiniteMoment 6 ρ) (h6σ : FiniteMoment 6 σ)
    (hh1 : ∀ Z, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
      (1-P.κ)^2*BKM.quadratic G1.basis G1.probability
        (BKM.center G1.basis G1.probability (rawFirstSlice P.η P.θ P.η_mem P.θ_mem σ (thermalState n P.d P.hd) Z))≤
        ((1+P.ε)*P.w1/h P.r1)/(1/h P.r0)*BKM.quadratic G0.basis G0.probability Z)
    (hh2 : ∀ Z, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
      (1-P.κ)^2*BKM.quadratic G2.basis G2.probability
        (BKM.center G2.basis G2.probability (rawSecondSlice P.η P.θ P.η_mem P.θ_mem ρ (thermalState n P.d P.hd) Z))≤
        ((1+P.ε)*P.w2/h P.r2)/(1/h P.r0)*BKM.quadratic G0.basis G0.probability Z) :
    G0.defectSquared P.r0 P.r0_pos≤
      P.w1*G1.defectSquared P.r1 P.hr1+P.w2*G2.defectSquared P.r2 P.hr2+
      P.ε/2*(P.w1*G1.defectSquared P.r1 P.hr1+P.w2*G2.defectSquared P.r2 P.hr2+
        (P.w1*G1.meanSquared+P.w2*G2.meanSquared)) := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/Minimum.lean#L1312-L1371

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