Trace of a product of two diagonalizable operators via their eigenbasis overlaps
ProvedHlawkaSchatten.re_trace_comp_eq_sum_eigenbasis_overlapLet be a finite-dimensional complex inner-product space, and let be complex-linear maps with symmetric (self-adjoint), i.e. for all . Let and be orthonormal bases of indexed by finite sets , and let , be such that is an eigenvector of with eigenvalue () and is an eigenvector of with eigenvalue (), for every . Write the basis overlap . Then
This expands the trace of a product of two diagonalizable operators, each given in its own eigenbasis, into a double sum over pairs of eigenvalues weighted by the squared overlaps of the two eigenbases. It is the key spectral-lift step: applied to the Hermitian dilations of two rectangular operators, it turns trace-level Bregman- and Mazur-type comparison quantities into sums, over pairs of eigenvalues, of the purely scalar Bregman/Mazur comparison — which is where dimension-independent constants can come from.
Formalization Note. Only is hypothesized symmetric; is given only through its eigen-relation with real , not through a separate IsSymmetric hypothesis. This is not a genuinely broader class of operators than symmetric ones — an operator that is diagonal with real eigenvalues in some orthonormal basis is automatically self-adjoint — but the proof below never uses any self-adjointness fact about , only the explicit eigen-data , so stating the hypothesis this way records exactly what the argument needs, not a strictly weaker mathematical assumption. The same observation applies to : the eigen-relation already forces to be self-adjoint, so the separately listed hypothesis that is symmetric is likewise implied by the eigen-data, not an independent restriction.
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.re_trace_comp_eq_sum_eigenbasis_overlap [FiniteDimensional ℂ E]
(A B : E →ₗ[ℂ] E) (hA : A.IsSymmetric)
(e : OrthonormalBasis ι ℂ E) (f : OrthonormalBasis κ ℂ E)
(a : ι → ℝ) (b : κ → ℝ)
(he : ∀ i, A (e i) = (a i : ℂ) • e i)
(hf : ∀ j, B (f j) = (b j : ℂ) • f j) :
((A.comp B).trace ℂ E).re =
∑ ij : ι × κ, a ij.1 * b ij.2 * orthonormalBasisOverlap e f ij := by sorry