Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Convolution identity for thermal-balance defects through a two-stage beam splitter

Proved
OAI.EntropyPhotonNumber.physical_defect_convolution

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

mathematical-physicsoai-mathoperator-algebrasquantum-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†​.

Setting. Let η,θ∈(0,1)\eta,\theta\in(0,1)η,θ∈(0,1), κ∈[0,1]\kappa\in[0,1]κ∈[0,1], 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​), both in the number-basis sense of the beam-splitter output relation. 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 the number-diagonal thermal states with mean photon numbers ddd and r0r_0r0​ per mode, and that ρ∘=(1−κ)γ+κω\rho^\circ=(1-\kappa)\gamma+\kappa\omegaρ∘=(1−κ)γ+κω. Let G0,G1G_0,G_1G0​,G1​ be spectral logarithm data for ρ0,ρ1\rho_0,\rho_1ρ0​,ρ1​, G∘G^\circG∘ one for ρ∘\rho^\circρ∘, and let yV=(N^−3vl)y^{V}=(\hat N^{-3}v_l)yV=(N^−3vl​) and yO=(N^−3ol)y^{O}=(\hat N^{-3}o_l)yO=(N^−3ol​) come from weighted column families vvv of γ\gammaγ and ooo of ω\omegaω (weighted column families of τD\tau_DτD​ and mmm are also given).

Theorem. For every mode jjj and every bounded operator ZZZ on FFF,

ΔjG∘,r0(obsSG∘(r0)Z)=∑i=01(1−κ)λi ΔjGi,ai(obsSGi(ai)(NiZ))+(1−κ)κ  W‾  M(Z),\Delta^{G^\circ,r_0}_j\bigl(\mathrm{obs}_{\mathcal S_{G^\circ}(r_0)}Z\bigr)=\sum_{i=0}^{1}(1-\kappa)\lambda_i\,\Delta^{G_i,a_i}_j\bigl(\mathrm{obs}_{\mathcal S_{G_i}(a_i)}(N_iZ)\bigr)+\sqrt{(1-\kappa)\kappa}\;\overline W\;\mathcal M(Z),ΔjG∘,r0​​(obsSG∘​(r0​)​Z)=i=0∑1​(1−κ)λi​ΔjGi​,ai​​(obsSGi​​(ai​)​(Ni​Z))+(1−κ)κ​WM(Z),

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 and M(Z)=(1−κ)κ (∑l⟨ylV,ZylV⟩−∑l⟨ylO,ZylO⟩)\mathcal M(Z)=\sqrt{(1-\kappa)\kappa}\,\bigl(\sum_l\langle y^V_l,Zy^V_l\rangle-\sum_l\langle y^O_l,Zy^O_l\rangle\bigr)M(Z)=(1−κ)κ​(∑l​⟨ylV​,ZylV​⟩−∑l​⟨ylO​,ZylO​⟩).

The output defect functional is thus a weighted sum ("convolution") of the two input defect functionals composed with the normalized conditional slices of the beam-splitter dual, plus an explicit error from replacing a fraction κ\kappaκ of the output by a thermal state.

Formalization Note ΔjG,t\Delta^{G,t}_jΔjG,t​ is G.ambientDefect t ht j, obs\mathrm{obs}obs is (G.thermalSpace t ht).observable, NiN_iNi​ is normalizedSlices … (twoPortLambda η θ) i, r0r_0r0​ is outputReference η θ a d, W‾\overline WW is V.weakMean r₀ j, and M\mathcal MM is EnsembleL2.mixtureFunctional … (1-κ). The beam-splitter relations are IsBeamSplitterOutput.

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 BeamLadder TensorLp ThermalMetric ThermalSpectral
open scoped ComplexConjugate
variable {n : ℕ}
Formal statement
theorem OAI.EntropyPhotonNumber.physical_defect_convolution (η θ κ d : ℝ) (a : Fin 2 → ℝ)
    (hη : η ∈ Set.Ioo 0 1) (hθ : θ ∈ Set.Ioo 0 1) (hκ : κ ∈ Set.Icc 0 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)
    (j : Fin n) (Z : Fock n →L[ℂ] Fock n) :
    G0.ambientDefect (outputReference η θ a d) hr0 j
        ((G0.thermalSpace (outputReference η θ a d) hr0).observable Z)=
      (∑ i, (((1-κ)*twoPortLambda η θ i:ℝ):ℂ)*
        (G i).ambientDefect (a i) (ha i) j ((G i).thermalSpace (a i) (ha i) |>.observable
          (normalizedSlices η θ ⟨hη.1.le,hη.2.le⟩ ⟨hθ.1.le,hθ.2.le⟩ (ρ 0) (ρ 1) τD
            (fun i => (G i).thermalSpace (a i) (ha i)) (twoPortLambda η θ) i Z)))+
      ((Real.sqrt ((1-κ)*κ):ℂ)*V.weakMean (outputReference η θ a d) j)*
        EnsembleL2.mixtureFunctional (fun k => inverseWeight 3 (V.vector k))
          (fun k => inverseWeight 3 (O.vector k)) V.normalized.summable O.normalized.summable (1-κ) Z := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/Minimum.lean#L41-L101

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