Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Exact operator identity for the quartic logarithm of a Gibbs minimizer

Proved
OAI.EntropyPhotonNumber.GibbsData.exact_logarithmic_identity

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

hilbert-spacesoai-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 number basis (∣k⟩)k∈Nn(|k\rangle)_{k\in\mathbb{N}^n}(∣k⟩)k∈Nn​, total number ∣k∣=k1+⋯+kn|k|=k_1+\dots+k_n∣k∣=k1​+⋯+kn​, annihilation operators aja_jaj​, and the diagonal weight N^=1+∑jaj†aj\hat N=1+\sum_ja_j^\dagger a_jN^=1+∑j​aj†​aj​, i.e. N^∣k⟩=(1+∣k∣)∣k⟩\hat N|k\rangle=(1+|k|)|k\rangleN^∣k⟩=(1+∣k∣)∣k⟩. A state is a positive bounded operator on FFF whose number-basis diagonal sums to 111. For a state ρ\rhoρ write S(ρ)=−Tr⁡ρlog⁡ρS(\rho)=-\operatorname{Tr}\rho\log\rhoS(ρ)=−Trρlogρ, E(ρ)=∑k∣k∣ ρkkE(\rho)=\sum_k|k|\,\rho_{kk}E(ρ)=∑k​∣k∣ρkk​ and M4(ρ)=∑k(1+∣k∣)4ρkkM_4(\rho)=\sum_k(1+|k|)^4\rho_{kk}M4​(ρ)=∑k​(1+∣k∣)4ρkk​; ρ\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​<∞.

A Kraus flow consists of bounded operators (Vi)i(V_i)_{i}(Vi​)i​ on FFF with ∑i∥Vix∥2=∥x∥2\sum_i\|V_ix\|^2=\|x\|^2∑i​∥Vi​x∥2=∥x∥2 for all xxx, a constant F0≥0F_0\ge0F0​≥0 with ∑i⟨Vix,n^Vix⟩≤⟨x,n^x⟩+F0∥x∥2\sum_i\langle V_ix,\hat n V_ix\rangle\le\langle x,\hat nx\rangle+F_0\|x\|^2∑i​⟨Vi​x,n^Vi​x⟩≤⟨x,n^x⟩+F0​∥x∥2 (where n^=∑jaj†aj\hat n=\sum_ja_j^\dagger a_jn^=∑j​aj†​aj​, both sides in [0,∞][0,\infty][0,∞]), and a map F\mathcal FF on states such that F(ρ)=∑i,l∣Vivl⟩⟨Vivl∣\mathcal F(\rho)=\sum_{i,l}|V_iv_l\rangle\langle V_iv_l|F(ρ)=∑i,l​∣Vi​vl​⟩⟨Vi​vl​∣ whenever ρ=∑l∣vl⟩⟨vl∣\rho=\sum_l|v_l\rangle\langle v_l|ρ=∑l​∣vl​⟩⟨vl​∣ with ∑l∥vl∥2=1\sum_l\|v_l\|^2=1∑l​∥vl​∥2=1, and F\mathcal FF preserves finite energy. Its Heisenberg dual is F∗(Z)=∑iVi∗ZVi\mathcal F^*(Z)=\sum_iV_i^*ZV_iF∗(Z)=∑i​Vi∗​ZVi​.

A Gibbs representation of ρ\rhoρ with quartic coefficient kkk consists of a positive bounded operator BρB_\rhoBρ​, a Hilbert basis (gj)j(g_j)_{j}(gj​)j​ of FFF 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}\bigl(k+\hat N^{-3/2}B_\rho\hat N^{-3/2}\bigr)^{-1}\hat N^{-2}g_j=u_j^{-1}g_jN^−2(k+N^−3/2Bρ​N^−3/2)−1N^−2gj​=uj−1​gj​ for all jjj 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​∣ (moreover ρ\rhoρ is injective and has finite seventh moment). Formally ρ=e−H/Z\rho=e^{-H}/\mathcal Zρ=e−H/Z with H=kN^4+N^1/2BρN^1/2H=k\hat N^4+\hat N^{1/2}B_\rho\hat N^{1/2}H=kN^4+N^1/2Bρ​N^1/2. Its quartic logarithm is the bounded operator

Lρ=k Id+N^−3/2BρN^−3/2+(log⁡Z) N^−4,\mathcal L_\rho=k\,\mathrm{Id}+\hat N^{-3/2}B_\rho\hat N^{-3/2}+(\log\mathcal Z)\,\hat N^{-4},Lρ​=kId+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.

Theorem. Let ρ\rhoρ have a Gibbs representation (Bρ,g,u)(B_\rho,g,u)(Bρ​,g,u) with quartic coefficient kkk, let F=(Vi)\mathcal F=(V_i)F=(Vi​) be a Kraus flow and τ\tauτ a state. Let r>0r>0r>0 and 0<δ≤10<\delta\le10<δ≤1 with δ τr≤τ\delta\,\tau_r\le\tauδτr​≤τ in operator order, where τr\tau_rτr​ is the thermal state with mean photon number rrr per mode. Let (bj)j∈J(b_j)_{j\in J}(bj​)j∈J​ be a Hilbert basis and pj>0p_j>0pj​>0, ∑jpj=1\sum_jp_j=1∑j​pj​=1, with τbj=pjbj\tau b_j=p_jb_jτbj​=pj​bj​. Let α,β≥0\alpha,\beta\ge0α,β≥0 and suppose that for all x∈Fx\in Fx∈F, in [0,∞][0,\infty][0,∞],

⟨x,Bρx⟩=α∑i∑j(−log⁡pj) ∣⟨bj,ViN^−1/2x⟩∣2+β∑k∣k∣ ∣(N^−1/2x)k∣2.\langle x,B_\rho x\rangle=\alpha\sum_i\sum_j(-\log p_j)\,\bigl|\langle b_j,V_i\hat N^{-1/2}x\rangle\bigr|^2+\beta\sum_k|k|\,\bigl|(\hat N^{-1/2}x)_k\bigr|^2 .⟨x,Bρ​x⟩=αi∑​j∑​(−logpj​)​⟨bj​,Vi​N^−1/2x⟩​2+βk∑​∣k∣​(N^−1/2x)k​​2.

Then there exist positive bounded operators C,DC,DC,D on FFF such that for all xxx

⟨x,Cx⟩=∑i∑j(−log⁡pj) ∣⟨bj,ViN^−2x⟩∣2,⟨x,Dx⟩=∑k∣k∣ ∣(N^−2x)k∣2\langle x,Cx\rangle=\sum_i\sum_j(-\log p_j)\,\bigl|\langle b_j,V_i\hat N^{-2}x\rangle\bigr|^2,\qquad\langle x,Dx\rangle=\sum_k|k|\,\bigl|(\hat N^{-2}x)_k\bigr|^2⟨x,Cx⟩=i∑​j∑​(−logpj​)​⟨bj​,Vi​N^−2x⟩​2,⟨x,Dx⟩=k∑​∣k∣​(N^−2x)k​​2

(in [0,∞][0,\infty][0,∞]), and

Lρ=k Id+α C+β D+(log⁡Z) N^−4.\mathcal L_\rho=k\,\mathrm{Id}+\alpha\,C+\beta\,D+(\log\mathcal Z)\,\hat N^{-4}.Lρ​=kId+αC+βD+(logZ)N^−4.

Formally C=N^−2F∗(−log⁡τ)N^−2C=\hat N^{-2}\mathcal F^*(-\log\tau)\hat N^{-2}C=N^−2F∗(−logτ)N^−2 and D=N^−2n^N^−2D=\hat N^{-2}\hat n\hat N^{-2}D=N^−2n^N^−2, so the identity is the bounded, sandwiched version of the Euler–Lagrange equation −log⁡ρ=kN^4+α F∗(−log⁡τ)+βn^+log⁡Z-\log\rho=k\hat N^4+\alpha\,\mathcal F^*(-\log\tau)+\beta\hat n+\log\mathcal Z−logρ=kN^4+αF∗(−logτ)+βn^+logZ. Having it as an exact identity of bounded operators lets one pair −log⁡ρ-\log\rho−logρ with unbounded generators rigorously.

Formalization Note The Gibbs representation is GibbsData n k ρ and Lρ\mathcal L_\rhoLρ​ is G.quarticLogarithm; quadratic forms are compared in ℝ≥0∞ via ENNReal.ofReal; N^−1/2\hat N^{-1/2}N^−1/2 and N^−2\hat N^{-2}N^−2 are inversePower rootNumberWeight _ 1 and _ 4 (with rootNumberWeight =1+∣k∣=\sqrt{1+|k|}=1+∣k∣​).

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

open OAI OAI.EntropyPhotonNumber OAI.EntropyPhotonNumber.GibbsData
open scoped ComplexConjugate
open scoped BigOperators ComplexConjugate
open scoped BigOperators ComplexConjugate ENNReal Topology
open MeasureTheory
open scoped BigOperators
open MvPolynomial
open scoped BigOperators ComplexConjugate Classical
open Submodule
open scoped ENNReal
open Module
open scoped ComplexConjugate BigOperators Matrix
open NormedSpace
open scoped Matrix.Norms.Operator
open scoped Topology
open MeasureTheory NormedSpace
open Filter Asymptotics Topology
open ContinuousLinearMap
open QuantumTrace
variable {n : ℕ} {k : ℝ} {ρ : State n} (G : GibbsData n k ρ)
Formal statement
theorem OAI.EntropyPhotonNumber.GibbsData.exact_logarithmic_identity {J : Type*}
    (F : KrausFlow n) (τ : State n) {r δ : ℝ} (hr : 0<r) (hδ : 0<δ) (hδ1 : δ≤1)
    (hle : (δ:ℂ) • (thermalState n r hr).op ≤ τ.op)
    (b : HilbertBasis J ℂ (Fock n)) (p : J → ℝ) (hp : ∀j, 0<p j) (hs : HasSum p 1)
    (he : ∀j, τ.op (b j)=(p j:ℂ) • b j)
    {α β : ℝ} (hα : 0≤α) (hβ : 0≤β)
    (hform : ∀ x, ENNReal.ofReal (inner ℂ x (G.B x)).re = ENNReal.ofReal α*
      sliceMoment b (fun j => ENNReal.ofReal (-Real.log (p j))) F.V (energyInverse n x)+
      ENNReal.ofReal β*numberVectorMoment (energyInverse n x)) :
    ∃ C D : Fock n →L[ℂ] Fock n, C.IsPositive ∧ D.IsPositive ∧
      (∀ x, ENNReal.ofReal (inner ℂ x (C x)).re =
        sliceMoment b (fun j => ENNReal.ofReal (-Real.log (p j))) F.V
          (inversePower rootNumberWeight rootNumberWeight_one_le 4 x)) ∧
      (∀ x, ENNReal.ofReal (inner ℂ x (D x)).re =
        numberVectorMoment (inversePower rootNumberWeight rootNumberWeight_one_le 4 x)) ∧
      G.quarticLogarithm = (k:ℂ) • (1 : Fock n →L[ℂ] Fock n)+(α:ℂ) • C+(β:ℂ) • D+
        (Real.log (heatPartition G.eigenval):ℂ) •
          (inversePower rootNumberWeight rootNumberWeight_one_le 4 *
            inversePower rootNumberWeight rootNumberWeight_one_le 4) := by sorry
Source
https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/lean/OAI/InformationTheory/PhotonNumber/FiniteVariation.lean#L2819-L2875

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