Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Per-mode bound for the output thermal-balance defect by the input defects

Proved
OAI.EntropyPhotonNumber.physical_defect_mode_bound

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 annihilation operators aja_jaj​, number operators n^j=aj†aj\hat n_j=a_j^\dagger a_jn^j​=aj†​aj​ and the weight N^=1+∑jn^j\hat N=1+\sum_j\hat n_jN^=1+∑j​n^j​ (diagonal, 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. A weighted column family of a state μ\muμ is a family (xl)(x_l)(xl​) in FFF with ∑l∥xl∥2<∞\sum_l\|x_l\|^2<\infty∑l​∥xl​∥2<∞ such that yl=N^−3xly_l=\hat N^{-3}x_lyl​=N^−3xl​ satisfy ∑l∥yl∥2=1\sum_l\|y_l\|^2=1∑l​∥yl​∥2=1 and ∑l∣yl⟩⟨yl∣=μ\sum_l|y_l\rangle\langle y_l|=\mu∑l​∣yl​⟩⟨yl​∣=μ.

Put h(r)=log⁡(r+1)−log⁡rh(r)=\log(r+1)-\log rh(r)=log(r+1)−logr for r>0r>0r>0, let LLL be the logarithmic mean (L(x,y)=y−xlog⁡y−log⁡xL(x,y)=\frac{y-x}{\log y-\log x}L(x,y)=logy−logxy−x​, L(x,x)=xL(x,x)=xL(x,x)=x), f(x)=x/sinh⁡xf(x)=x/\sinh xf(x)=x/sinhx (f(0)=1f(0)=1f(0)=1), and let

w(r,ν)=1h(r) f(h(r)ν/2) f(−h(r)/2)f(h(r)ν/2−h(r)/2)w(r,\nu)=\frac1{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)​

be the thermal weight. A thermal spectral datum S=(e,p,r)\mathcal S=(e,p,r)S=(e,p,r) on FFF is a Hilbert basis (ek)k∈I(e_k)_{k\in I}(ek​)k∈I​, weights pk>0p_k>0pk​>0 with ∑kpk=1\sum_kp_k=1∑k​pk​=1, and r>0r>0r>0; put νkl=(log⁡pk−log⁡pl)/h(r)\nu_{kl}=(\log p_k-\log p_l)/h(r)νkl​=(logpk​−logpl​)/h(r) and mkl=h(r) L(pk,pl) w(r,νkl)>0m_{kl}=h(r)\,L(p_k,p_l)\,w(r,\nu_{kl})>0mkl​=h(r)L(pk​,pl​)w(r,νkl​)>0. Its observable map sends a bounded operator ZZZ to

obsS(Z)=(mkl ⟨ek,Zel⟩)k,l∈ℓ2(I×I),\mathrm{obs}_{\mathcal S}(Z)=\Bigl(\sqrt{m_{kl}}\,\langle e_k,Ze_l\rangle\Bigr)_{k,l}\in\ell^2(I\times I),obsS​(Z)=(mkl​​⟨ek​,Zel​⟩)k,l​∈ℓ2(I×I),

so that ∥obsS(Z)∥2=QwS(Z):=∑k,lmkl∣⟨ek,Zel⟩∣2\|\mathrm{obs}_{\mathcal S}(Z)\|^2=Q^{\mathcal S}_w(Z):=\sum_{k,l}m_{kl}|\langle e_k,Ze_l\rangle|^2∥obsS​(Z)∥2=QwS​(Z):=∑k,l​mkl​∣⟨ek​,Zel​⟩∣2. The centered space C(S)⊆ℓ2(I×I)\mathcal C(\mathcal S)\subseteq\ell^2(I\times I)C(S)⊆ℓ2(I×I) is the orthogonal complement of obsS(Id)\mathrm{obs}_{\mathcal S}(\mathrm{Id})obsS​(Id) (the vector with diagonal entries pk\sqrt{p_k}pk​​ and zero off-diagonal entries), and Z(S)\mathcal Z(\mathcal S)Z(S) is the span of the operators ∣ek⟩⟨el∣−δklpkId|e_k\rangle\langle e_l|-\delta_{kl}p_k\mathrm{Id}∣ek​⟩⟨el​∣−δkl​pk​Id. Finally let w∗(r)=inf⁡ν∈Rw(r,ν)w_*(r)=\inf_{\nu\in\mathbb{R}}w(r,\nu)w∗​(r)=infν∈R​w(r,ν) (which is ≥r>0\ge r>0≥r>0) and χ(r)=(h(r) w∗(r))−1/2\chi(r)=\bigl(h(r)\,w_*(r)\bigr)^{-1/2}χ(r)=(h(r)w∗​(r))−1/2.

A spectral logarithm datum GGG for a state ρ\rhoρ consists (among other data) of an eigenbasis (bl)(b_l)(bl​) of ρ\rhoρ with eigenvalues pl>0p_l>0pl​>0, ∑lpl=1\sum_lp_l=1∑l​pl​=1, and spectral columns xlx_lxl​ with N^−3xl=pl bl\hat N^{-3}x_l=\sqrt{p_l}\,b_lN^−3xl​=pl​​bl​ (a weighted column family of ρ\rhoρ). For mode jjj put μj=∑lpl⟨bl,ajbl⟩\mu_j=\sum_lp_l\langle b_l,a_jb_l\rangleμj​=∑l​pl​⟨bl​,aj​bl​⟩ (the mean of aja_jaj​) and clm=⟨bl,(aj−μj)bm⟩c_{lm}=\langle b_l,(a_j-\mu_j)b_m\rangleclm​=⟨bl​,(aj​−μj​)bm​⟩.

For t>0t>0t>0 let SG(t)\mathcal S_G(t)SG​(t) be the thermal spectral datum (b,p,t)(b,p,t)(b,p,t) and dlm=(t+1)pm−tpld_{lm}=(t+1)p_m-tp_ldlm​=(t+1)pm​−tpl​. The defect functional of GGG at ttt in mode jjj is the bounded functional on ℓ2\ell^2ℓ2

ΔjG,t(x)=∑l,mdlmmlm clm‾ xlm,\Delta^{G,t}_j(x)=\sum_{l,m}\frac{d_{lm}}{\sqrt{m_{lm}}}\,\overline{c_{lm}}\,x_{lm},ΔjG,t​(x)=l,m∑​mlm​​dlm​​clm​​xlm​,

so that ΔjG,t(obs(Z))=∑l,mdlmclm‾⟨bl,Zbm⟩\Delta^{G,t}_j(\mathrm{obs}(Z))=\sum_{l,m}d_{lm}\overline{c_{lm}}\langle b_l,Zb_m\rangleΔjG,t​(obs(Z))=∑l,m​dlm​clm​​⟨bl​,Zbm​⟩ is a weak form of the thermal balance (t+1)aj(t+1)a_j(t+1)aj​ versus t aj†t\,a_j^\daggertaj†​. Write ∥ΔjG,t∥\|\Delta^{G,t}_j\|∥ΔjG,t​∥ for the norm of ΔjG,t\Delta^{G,t}_jΔjG,t​ restricted to the centered space C(SG(t))\mathcal C(\mathcal S_G(t))C(SG​(t)).

Setting. Let η,θ∈(0,1)\eta,\theta\in(0,1)η,θ∈(0,1), κ∈[0,1)\kappa\in[0,1)κ∈[0,1), ε∈R\varepsilon\in\mathbb{R}ε∈R, d>0d>0d>0, a0,a1>0a_0,a_1>0a0​,a1​>0. Let ρ0,ρ1,τD,m,γ,ω,ρ∘\rho_0,\rho_1,\tau_D,m,\gamma,\omega,\rho^\circρ0​,ρ1​,τD​,m,γ,ω,ρ∘ be states with m=Bη(ρ0,ρ1)m=\mathcal B_\eta(\rho_0,\rho_1)m=Bη​(ρ0​,ρ1​) and γ=Bθ(m,τD)\gamma=\mathcal B_\theta(m,\tau_D)γ=Bθ​(m,τD​) (beam-splitter output relations). For η∈[0,1]\eta\in[0,1]η∈[0,1] and states ρ0,ρ1\rho_0,\rho_1ρ0​,ρ1​, write Bη(ρ0,ρ1)\mathcal B_\eta(\rho_0,\rho_1)Bη​(ρ0​,ρ1​) for the beam-splitter output (the reduced state of the retained port after the passive rotation of transmissivity η\etaη in every mode applied to ρ0⊗ρ1\rho_0\otimes\rho_1ρ0​⊗ρ1​). Put λ0=θη\lambda_0=\theta\etaλ0​=θη, λ1=θ(1−η)\lambda_1=\theta(1-\eta)λ1​=θ(1−η) and r0=θ(ηa0+(1−η)a1)+(1−θ)dr_0=\theta(\eta a_0+(1-\eta)a_1)+(1-\theta)dr0​=θ(ηa0​+(1−η)a1​)+(1−θ)d. For a bounded ZZZ let A0(Z)A_0(Z)A0​(Z) be the partial expectation, over the second input in state ρ1\rho_1ρ1​, of the Heisenberg dual of the two-stage map (mix the two inputs at η\etaη, then mix the result with τD\tau_DτD​ at θ\thetaθ, keep the retained port) applied to ZZZ, and A1(Z)A_1(Z)A1​(Z) the analogous partial expectation over the first input in state ρ0\rho_0ρ0​. With ci(T)=T−(∑lpl(i)⟨bl(i),Tbl(i)⟩)Id\mathrm c_i(T)=T-(\sum_lp^{(i)}_l\langle b^{(i)}_l,Tb^{(i)}_l\rangle)\mathrm{Id}ci​(T)=T−(∑l​pl(i)​⟨bl(i)​,Tbl(i)​⟩)Id the centering in the eigenbasis of ρi\rho_iρi​, the normalized slices are Ni(Z)=λi−1/2 ci(AiZ)N_i(Z)=\lambda_i^{-1/2}\,\mathrm c_i(A_iZ)Ni​(Z)=λi−1/2​ci​(Ai​Z). Assume r0>0r_0>0r0​>0, that τD\tau_DτD​ and ω\omegaω are number-diagonal thermal states with means ddd and r0r_0r0​ per mode, and ρ∘=(1−κ)γ+κω\rho^\circ=(1-\kappa)\gamma+\kappa\omegaρ∘=(1−κ)γ+κω. Let G0,G1,G∘G_0,G_1,G^\circG0​,G1​,G∘ be spectral logarithm data for ρ0,ρ1,ρ∘\rho_0,\rho_1,\rho^\circρ0​,ρ1​,ρ∘ (with eigenbases b(i),b∘b^{(i)},b^\circb(i),b∘ and eigenvalues p(i),p∘p^{(i)},p^\circp(i),p∘), and let yV=(N^−3vl)y^V=(\hat N^{-3}v_l)yV=(N^−3vl​) come from a weighted column family vvv of γ\gammaγ (weighted column families of τD\tau_DτD​, mmm and ω\omegaω are also given). For a basis bbb and weights ppp let Qb,p(T)=∑k,lL(pk,pl)∣⟨bk,Tbl⟩∣2Q_{b,p}(T)=\sum_{k,l}L(p_k,p_l)|\langle b_k,Tb_l\rangle|^2Qb,p​(T)=∑k,l​L(pk​,pl​)∣⟨bk​,Tbl​⟩∣2. Assume the Hessian bounds: for i=0,1i=0,1i=0,1 and all Z∈Z(b∘,p∘)Z\in\mathcal Z(b^\circ,p^\circ)Z∈Z(b∘,p∘),

(1−κ)2 Qb(i),p(i)(ci(AiZ))≤(1+ε)(1−κ) λi h(r0)h(ai) Qb∘,p∘(Z),(1-\kappa)^2\,Q_{b^{(i)},p^{(i)}}\bigl(\mathrm c_i(A_iZ)\bigr)\le(1+\varepsilon)(1-\kappa)\,\lambda_i\,\frac{h(r_0)}{h(a_i)}\,Q_{b^\circ,p^\circ}(Z),(1−κ)2Qb(i),p(i)​(ci​(Ai​Z))≤(1+ε)(1−κ)λi​h(ai​)h(r0​)​Qb∘,p∘​(Z),

and the slack conditions (1+ε)(λ0a0+λ1a1)≤r0(1+\varepsilon)(\lambda_0a_0+\lambda_1a_1)\le r_0(1+ε)(λ0​a0​+λ1​a1​)≤r0​ and (1+ε)(λ0(a0+1)+λ1(a1+1))≤r0+1(1+\varepsilon)(\lambda_0(a_0+1)+\lambda_1(a_1+1))\le r_0+1(1+ε)(λ0​(a0​+1)+λ1​(a1​+1))≤r0​+1.

Theorem. For every mode jjj,

∥ΔjG∘,r0∥≤∑i=01(1−κ)λi ∥ΔjGi,ai∥2+(1−κ)κ  ∣W‾∣  χ(r0),\bigl\|\Delta^{G^\circ,r_0}_j\bigr\|\le\sqrt{\sum_{i=0}^1(1-\kappa)\lambda_i\,\bigl\|\Delta^{G_i,a_i}_j\bigr\|^2}+\sqrt{(1-\kappa)\kappa}\;\bigl|\overline W\bigr|\;\chi(r_0),​ΔjG∘,r0​​​≤i=0∑1​(1−κ)λi​​ΔjGi​,ai​​​2​+(1−κ)κ​​W​χ(r0​),

where W‾=(r0+1)∑l⟨ajylV,ylV⟩−r0∑l⟨ylV,aj†ylV⟩\overline W=(r_0+1)\sum_l\langle a_jy^V_l,y^V_l\rangle-r_0\sum_l\langle y^V_l,a_j^\dagger y^V_l\rangleW=(r0​+1)∑l​⟨aj​ylV​,ylV​⟩−r0​∑l​⟨ylV​,aj†​ylV​⟩ is the weak mean of γ\gammaγ in mode jjj.

This controls the thermal-balance defect of the regularized output by those of the inputs, up to the error caused by the thermal replacement; it is the per-mode estimate that is later aggregated over modes.

Formalization Note ∥ΔjG,t∥\|\Delta^{G,t}_j\|∥ΔjG,t​∥ is the norm of G.defect t ht j; Qb,pQ_{b,p}Qb,p​ is BKM.quadratic, ci\mathrm c_ici​ is BKM.center, A0,A1A_0,A_1A0​,A1​ are rawFirstSlice, rawSecondSlice, λ\lambdaλ is twoPortLambda η θ, r0r_0r0​ is outputReference η θ a d, χ\chiχ is mixtureConstant.

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
open scoped BigOperators ComplexConjugate
open scoped BigOperators
open MvPolynomial
open scoped BigOperators ComplexConjugate Classical
open Submodule
open scoped ENNReal
open scoped ComplexConjugate
open ContinuousLinearMap
open Set Filter Topology Metric
open MeasureTheory Set Filter Topology Metric InnerProductSpace
open scoped ENNReal NNReal
open Filter Topology
open Set Filter Topology MeasureTheory
open QuantumTrace Annihilation ThermalMetric ThermalSpectral TensorLp
open scoped ComplexConjugate
variable {n : ℕ}
Formal statement
theorem OAI.EntropyPhotonNumber.physical_defect_mode_bound (η θ κ ε d : ℝ) (a : Fin 2 → ℝ)
    (hη : η ∈ Set.Ioo 0 1) (hθ : θ ∈ Set.Ioo 0 1) (hκ : κ ∈ Set.Icc 0 1) (hκ1 : κ<1)
    (hd : 0<d) (ha : ∀ i, 0<a i) (hr0 : 0<outputReference η θ a d)
    (ρ : Fin 2 → State n) (τD m γ ω ρ0 : State n)
    (h1 : IsBeamSplitterOutput η (ρ 0) (ρ 1) m) (h2 : IsBeamSplitterOutput θ m τD γ)
    (G : (i : Fin 2) → SpectralLogData n (ρ i)) (G0 : SpectralLogData n ρ0)
    (D : WeightedColumns τD) (M : WeightedColumns m) (V : WeightedColumns γ) (O : WeightedColumns ω)
    (hD : ∀ k l, entry τD.op k l=if k=l then (QuantumTrace.thermalWeight n d k:ℂ) else 0)
    (hO : ∀ k l, entry ω.op k l=if k=l then (QuantumTrace.thermalWeight n (outputReference η θ a d) k:ℂ) else 0)
    (hrepl : ρ0.op=((1-κ:ℝ):ℂ) • γ.op+(κ:ℂ) • ω.op)
    (hh₁ : ∀ Z, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
      (1-κ)^2*BKM.quadratic (G 0).basis (G 0).probability
        (BKM.center (G 0).basis (G 0).probability
          (rawFirstSlice η θ ⟨hη.1.le,hη.2.le⟩ ⟨hθ.1.le,hθ.2.le⟩ (ρ 1) τD Z)) ≤
      (1+ε)*(1-κ)*twoPortLambda η θ 0*(h (outputReference η θ a d)/h (a 0))*
        BKM.quadratic G0.basis G0.probability Z)
    (hh₂ : ∀ Z, Z ∈ CenteredTests.operatorSpace G0.basis G0.probability →
      (1-κ)^2*BKM.quadratic (G 1).basis (G 1).probability
        (BKM.center (G 1).basis (G 1).probability
          (rawSecondSlice η θ ⟨hη.1.le,hη.2.le⟩ ⟨hθ.1.le,hθ.2.le⟩ (ρ 0) τD Z)) ≤
      (1+ε)*(1-κ)*twoPortLambda η θ 1*(h (outputReference η θ a d)/h (a 1))*
        BKM.quadratic G0.basis G0.probability Z)
    (hr : (1+ε)*(∑ i, twoPortLambda η θ i*a i) ≤ outputReference η θ a d)
    (hs : (1+ε)*(∑ i, twoPortLambda η θ i*(a i+1)) ≤ outputReference η θ a d+1)
    (j : Fin n) :
    ‖G0.defect (outputReference η θ a d) hr0 j‖ ≤
      Real.sqrt (∑ i, ((1-κ)*twoPortLambda η θ i)*‖(G i).defect (a i) (ha i) j‖^2)+
      Real.sqrt ((1-κ)*κ)*‖V.weakMean (outputReference η θ a d) j‖*
        mixtureConstant (outputReference η θ a d) := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/Minimum.lean#L109-L180

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