The spectral Bregman trace as an overlap-weighted sum of scalar Bregman terms
ProvedHlawkaSchatten.spectralBregmanTrace_eq_sumFix a finite-dimensional complex inner-product space and a real number (no hypothesis is placed on ). Let and be orthonormal bases of indexed by finite index types , and let , be real numbers attached to them. For an orthonormal basis and real numbers , write for the self-adjoint operator on with for every (spectralDiagonal), and for a function write for the tuple , so is the operator with eigenvalues ; we also write for this same operator.
With and , the spectral Bregman trace of against is
(spectralBregmanTrace). The first, second and fourth traces are traces of operators diagonal with real entries. The cross term is the real trace of a product of two self-adjoint operators; its reality also follows from . The product itself need not be self-adjoint. Write for the squared overlap of two basis vectors (orthonormalBasisOverlap), and
for the scalar Bregman quantity of (scalarBregman). The theorem states
This is one of two exact finite double-sum decompositions (the other is for the squared spectral Mazur distance) that let a scalar comparison between and a Mazur-type quantity, once it is known to hold for every pair of real numbers, be summed against the overlap weights — which are nonnegative and sum to along every row and column — and so lift unchanged, with the same constants, to a comparison between traces of finite-dimensional Hermitian operators.
Formalization Note The identity holds for every real , including or , because , , and division are all totalized in Lean: evaluates to for every real (for because ; for because but ). This theorem asserts an algebraic trace identity, with no nonnegativity conclusion. For , is convex and differentiable everywhere with derivative , giving the usual Bregman-divergence interpretation used later in the argument.
import Definitions.Def_HlawkaSchatten_HermitianSpectral
import Definitions.Def_HlawkaSchatten_ScalarBregman
import Definitions.Def_HlawkaSchatten_SpectralLift
import Mathlib.Analysis.Calculus.LHopital
import Mathlib.Analysis.Convex.Deriv
import Mathlib.Analysis.Convex.SpecificFunctions.Basic
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.InnerProductSpace.Dual
import Mathlib.Analysis.InnerProductSpace.NormPow
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Analysis.InnerProductSpace.Trace
import Mathlib.Data.Sign.Basic
import Mathlib.Topology.Compactification.OnePoint.Basic
import Mathlib.Topology.Instances.Sign
/-
Copyright (c) 2026 Ezzeri Esa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Ezzeri Esa
-/
/-!
# Finite Hermitian spectral trace expansions
This file connects the overlap-weighted scalar comparison to traces of
finite-dimensional symmetric complex-linear maps.
-/
open scoped InnerProductSpace
open RCLike
open ComplexConjugate
variable {ι κ E : Type*} [Fintype ι] [Fintype κ]
[NormedAddCommGroup E] [InnerProductSpace ℂ E]
open HlawkaSchatten
theorem HlawkaSchatten.spectralBregmanTrace_eq_sum [FiniteDimensional ℂ E]
(p : ℝ) (e : OrthonormalBasis ι ℂ E) (a : ι → ℝ)
(f : OrthonormalBasis κ ℂ E) (b : κ → ℝ) :
spectralBregmanTrace p e a f b =
∑ ij : ι × κ, orthonormalBasisOverlap e f ij *
scalarBregman p (a ij.1) (b ij.2) := by sorry