Spectral projectors, traces, continuity and measurability of the Hermitian functional calculus #
For a Hermitian matrix A over ๐ = โ or โ (any RCLike field) and a real function f,
Mathlib's continuous functional calculus defines the matrix cfc f A. Every real function is
continuous on the finite spectrum of A, so cfc f A is meaningful for arbitrary f. This file
relates it to the eigenspaces of A and studies its dependence on A.
Eigenvectors and spectral projectors. The Euclidean operator of cfc f A multiplies an
eigenvector of A with eigenvalue ฮผ by f ฮผ, so it is the functional calculus
LinearMap.IsSymmetric.cfc of the symmetric operator Matrix.toEuclideanLin A. For a set
ฮฉ โ โ, the Euclidean operator of the star projection cfc (ฮฉ.indicator 1) A (see
TauCeti.isStarProjection_cfc_indicator) is therefore the orthogonal projection onto the sum
Module.End.pointSpectralSubspace A.toEuclideanLin ฮฉ of the eigenspaces of A at eigenvalues in
ฮฉ. For ฮฉ = [c, โ) this is the fixed-threshold spectral projector P_[c,โ)(A), the cluster
object used for spectral subspaces in the presence of eigenvalue multiplicity.
Intertwiners. A rectangular matrix V with A * V = V * B for Hermitian A and B also
satisfies cfc f A * V = V * cfc f B, since both functional calculi agree with one polynomial on
the two finite spectra. Compressing cfc f A to an A-invariant subspace thus gives the
functional calculus of the compression of A.
Traces. The trace of cfc f A is โแตข f(aแตข) over the eigenvalues aแตข of A. For a second
Hermitian matrix B with eigenvalues bโฑผ, the trace of cfc f A * cfc g B is
โแตข โโฑผ f(aแตข) g(bโฑผ) โโชuแตข, vโฑผโซโยฒ, where uแตข and vโฑผ are the orthonormal eigenvectors. This reduces
trace inequalities for noncommuting Hermitian matrices, such as the positivity of relative entropy,
to scalar inequalities between eigenvalues.
Continuity. For continuous f, the map A โฆ cfc f A is continuous on the Hermitian matrices
for the entrywise topology. This is Mathlib's continuity of the isometric functional calculus in
its operator variable, which is available for matrices under the scoped โยฒ operator norm.
Measurability. For continuous f, the map A โฆ cfc f A is Borel measurable on all of
Matrix n n ๐: it is continuous on the closed set of Hermitian matrices and zero off it. Since the
spectrum of a matrix is finite, pointwise convergence F k โ f gives cfc (F k) A โ cfc f A, so
measurability passes to pointwise limits of continuous functions. The indicator of a closed set is
such a limit, so spectral projectors A โฆ cfc (ฮฉ.indicator 1) A for closed ฮฉ, in particular the
fixed-threshold projectors, are Borel measurable even though they are not continuous. Composing
with a measurable random matrix ฯ โฆ A ฯ gives measurability of ฯ โฆ cfc f (A ฯ) and of
ฯ โฆ P_[c,โ)(A ฯ); no Hermitian hypothesis on A ฯ is needed for this.
Main results #
Matrix.IsHermitian.cfc_mul_eq_mul_cfcโA * V = V * Bimpliescfc f A * V = V * cfc f B;Matrix.IsHermitian.toEuclideanLin_cfc_apply_of_apply_eq_smulโcfc f Aacts byf ฮผon an eigenvector ofAwith eigenvalueฮผ;Matrix.IsHermitian.toEuclideanLin_cfcโ the Euclidean operator ofcfc f Ais the symmetric functional calculusLinearMap.IsSymmetric.cfc fofA.toEuclideanLin;Matrix.IsHermitian.toEuclideanLin_cfc_indicatorโ the Euclidean operator ofcfc (ฮฉ.indicator 1) Ais the orthogonal projection onto the point-spectral subspaceModule.End.pointSpectralSubspace A.toEuclideanLin ฮฉ;Matrix.IsHermitian.trace_cfc,Matrix.IsHermitian.trace_cfc_mul_cfcandMatrix.IsHermitian.re_trace_cfc_mul_cfcโ the traces ofcfc f Aand ofcfc f A * cfc g Bin terms of eigenvalues and eigenvector overlaps;TauCeti.continuousOn_matrix_cfcโ for continuousf,A โฆ cfc f Ais continuous on the Hermitian matrices;TauCeti.tendsto_matrix_cfc_funโ pointwise convergence of functions gives convergence of their functional calculi at every matrix;TauCeti.measurable_matrix_cfcโ for continuousf,A โฆ cfc f Ais measurable;TauCeti.measurable_matrix_cfc_of_tendstoโ the same for pointwise limits of continuousf;TauCeti.measurable_matrix_cfc_indicatorโ for closedฮฉ, the spectral projectorA โฆ cfc (ฮฉ.indicator 1) Ais measurable.
References #
- R. A. Horn, C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press (2013), ยงยง2.5 and 7.2 (the spectral theorem and functions of Hermitian matrices).
- R. Bhatia, Matrix Analysis, Graduate Texts in Mathematics 169, Springer (1997), ยงVII.3 (spectral projectors of Hermitian matrices).
Multiplying the functional calculus by its Hermitian matrix on the left multiplies the scalar function by the identity.
Multiplying the functional calculus by its Hermitian matrix on the right multiplies the scalar function by the identity.
The functional calculus preserves intertwiners. If a rectangular matrix V intertwines
the Hermitian matrices A and B, that is A * V = V * B, then cfc f A * V = V * cfc f B for
every real function f.
For symmetric C and positive ฮต, (Cยฒ + ฮต I)โปยน C is the functional calculus of
x โฆ x / (xยฒ + ฮต) at C, including when C is singular.
The functional calculus cfc f A of a Hermitian matrix multiplies an eigenvector of A
with eigenvalue ฮผ by f ฮผ.
The Euclidean operator of the functional calculus cfc f A of a Hermitian matrix is the
functional calculus LinearMap.IsSymmetric.cfc f of the symmetric operator A.toEuclideanLin.
The spectral projector of a Hermitian matrix. For ฮฉ โ โ, the Euclidean operator of
cfc (ฮฉ.indicator 1) A is the orthogonal projection onto the sum of the eigenspaces of A at
eigenvalues in ฮฉ. For ฮฉ = Set.Ici c this is the fixed-threshold projector P_[c,โ)(A).
The trace of cfc f A is the sum of the values of f at the eigenvalues of A, counted with
multiplicity.
The entries of Uโ V, for the eigenvector unitaries U of A and V of B, are the inner
products of the eigenvectors of A with those of B.
The trace of a product of two functional calculi. For Hermitian A and B with
eigenvalues aแตข, bโฑผ and orthonormal eigenvectors uแตข, vโฑผ,
Tr (f(A) g(B)) = โแตข โโฑผ f(aแตข) g(bโฑผ) โโชuแตข, vโฑผโซโยฒ. The weights โโชuแตข, vโฑผโซโยฒ form a doubly
stochastic matrix (OrthonormalBasis.sum_sq_norm_inner_right and
OrthonormalBasis.sum_sq_norm_inner_left); this identity reduces trace inequalities for pairs of
noncommuting Hermitian matrices to scalar inequalities between their eigenvalues.
The real part of the trace formula Matrix.IsHermitian.trace_cfc_mul_cfc:
re Tr (f(A) g(B)) = โแตข โโฑผ f(aแตข) g(bโฑผ) โโชuแตข, vโฑผโซโยฒ, as an identity of real numbers.
Continuity of the Hermitian functional calculus. For a continuous f : โ โ โ, the map
A โฆ cfc f A is continuous on the Hermitian matrices.
If F k โ f pointwise along a filter l, then cfc (F k) A โ cfc f A for every square
matrix A. No continuity is needed, because the spectrum of a matrix is finite.
Measurability of the Hermitian functional calculus. For a continuous f : โ โ โ, the
map A โฆ cfc f A is Borel measurable on Matrix n n ๐. It is continuous on the closed set of
Hermitian matrices and zero elsewhere.
If f : โ โ โ is a pointwise limit of continuous functions, then A โฆ cfc f A is Borel
measurable on Matrix n n ๐, although it need not be continuous on the Hermitian matrices.
Measurability of spectral projectors. For a closed set ฮฉ โ โ, the spectral projector
A โฆ cfc (ฮฉ.indicator 1) A is Borel measurable on Matrix n n ๐. For ฮฉ = Set.Ici c this is
the fixed-threshold projector P_[c,โ)(A).