CourantβFischer min-max and Weyl's eigenvalue perturbation inequality #
For a symmetric operator T on a finite-dimensional inner product space over
π = β, β, Mathlib provides the decreasingly sorted eigenvalues
LinearMap.IsSymmetric.eigenvalues together with an orthonormal eigenbasis
LinearMap.IsSymmetric.eigenvectorBasis. This file proves the discrete
CourantβFischer characterization of these sorted eigenvalues β the directional
bounds and the characteristic sup-inf equality β and derives from it Weyl's
eigenvalue perturbation inequality.
Main results #
LinearMap.IsSymmetric.re_inner_apply_self_eq_sum_eigenvalues_mul_sq: diagonalization of the quadratic form,re βͺT x, xβ« = β i, Ξ»α΅’ * β(b.repr x) iβ ^ 2in the eigenbasisbofT.LinearMap.IsSymmetric.exists_unit_vector_re_inner_le_eigenvalue: CourantβFischer, upper direction β every subspace of dimensionk + 1contains a unit vectorxwithre βͺT x, xβ« β€ Ξ»β(T).LinearMap.IsSymmetric.exists_submodule_forall_unit_eigenvalue_le_re_inner: CourantβFischer, lower direction β some subspace of dimensionk + 1satisfiesΞ»β(T) β€ re βͺT x, xβ«for all unit vectorsxin it.LinearMap.IsSymmetric.eigenvalues_eq_iSup_iInf_re_inner: the CourantβFischer min-max equalityΞ»β(T) = β¨ (V, dim V = k+1), β¨ (x β V, βxβ = 1), re βͺT x, xβ«.LinearMap.IsSymmetric.eigenvalues_eq_of_eigenbasis: an antitone list diagonalizingTin some orthonormal basis is the sorted eigenvalue list.LinearMap.IsSymmetric.eigenvalue_mono: Loewner monotonicity of the sorted eigenvalues in the quadratic form.TauCeti.abs_eigenvalue_sub_eigenvalue_le: Weyl's inequality atLinearMaplevel, with the operator-norm bound supplied pointwise.TauCeti.abs_eigenvalue_sub_eigenvalue_le_norm: Weyl's inequality for self-adjoint continuous linear maps,|Ξ»β(T) β Ξ»β(S)| β€ βT β Sβ.
References #
- R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Theorem 4.2.6 (CourantβFischer) and Theorem 4.3.1 (Weyl).
- R. Bhatia, Matrix Analysis, Corollary III.2.6 (Weyl).
Namespace note #
The eigenvalue results extend LinearMap.IsSymmetric (dot notation on the
Mathlib symmetry certificate, matching IsSymmetric.eigenvalues); the
two-operator Weyl inequalities are helper facts under TauCeti.
Provenance #
- Original repository: Davis--Kahan/DKPS formalization (Kitware, Inc.).
- Original module:
ForMathlib/Analysis/InnerProductSpace/CourantFischer.leanat Davis--Kahan commitfc38eb48b9b49f2e1d87fe0c7022dc5e262820a7. - Original declarations: the CourantβFischer / Weyl API listed above, with the
former names
specSubspace,re_inner_map_self_eq_sum_eigenvalues_mul_sq,forall_unit_vector_eigenvalue_le_re_inner,abs_eigenvalues_sub_le,abs_eigenvalues_sub_le_opNorm,eigenvalues_le_eigenvalues_of_re_inner_le,map_mem_specSubspace. - Original authors / copyright: formalized by Claude Fable 5, golfed/polished by Claude Opus 4.8; Apache 2.0. To be re-authored per upstream AI-contribution policy at PR time.
- Extraction class: redesigned per the signature-polish backlog; the min-max equality endpoint is new in the redesign.
- Spectra influence: none β this module imports only Mathlib.
Two subspaces whose dimensions overshoot the ambient one must meet.
The contrapositive of Submodule.finrank_add_finrank_le_of_disjoint, in the
form the min--max arguments below use it; both of them derived it inline from
finrank_sup_add_finrank_inf_eq.
The first k indices of Fin n number exactly k.
A Finset counting fact with no eigenvalue content, kept here because this is the module
both of its consumers already import β Analysis/InnerProductSpace/KyFan.lean for the Ky Fan
trace inequality and Analysis/OperatorIdeal/ApproximationNumber/FiniteDimensional.lean for
a span dimension. Each had its own private copy, differing only by a prime on the name.
Mathlib has Fin.card_Iio but not this filter form, which is the shape a Finset.sum_const
leaves behind.
The quadratic form in the eigenbasis #
The quadratic form re βͺT x, xβ« of a symmetric operator T expressed in
its eigenbasis: it is the eigenvalue-weighted sum of the squared norms of the
coordinates of x. This is the diagonalization of the quadratic form. (For
symmetric T the inner product βͺT x, xβ« is real, so no information is lost
by taking the real part.)
On the span of a selected subfamily of the eigenbasis, the quadratic form
is bounded by any bound on the selected eigenvalues: if
x β b.spanIndices s (so its coordinates vanish off s) and every selected
eigenvalue satisfies Ξ»α΅’ β€ c, then re βͺT x, xβ« β€ c βxβΒ².
Dual of re_inner_apply_self_le_of_mem_spanIndices: if
x β b.spanIndices s and every selected eigenvalue satisfies c β€ Ξ»α΅’, then
c βxβΒ² β€ re βͺT x, xβ«.
Discrete CourantβFischer directional bounds #
CourantβFischer, upper direction. On any subspace V of dimension
k + 1 there is a unit vector x with re βͺT x, xβ« β€ Ξ»β(T), where Ξ» is the
decreasing enumeration LinearMap.IsSymmetric.eigenvalues of the eigenvalues
of the symmetric operator T.
CourantβFischer, lower direction. There is a subspace V of dimension
k + 1 on which every unit vector x satisfies Ξ»β(T) β€ re βͺT x, xβ«, where
Ξ» is the decreasing enumeration LinearMap.IsSymmetric.eigenvalues of the
eigenvalues of the symmetric operator T.
Witness: V = span {bα΅’ : i β€ k}; on it the quadratic form is bounded below by
Ξ»β since all involved eigenvalues are β₯ Ξ»β.
The CourantβFischer min-max equality #
CourantβFischer min-max equality. The k-th (decreasingly sorted)
eigenvalue of a symmetric operator on a finite-dimensional inner product space
over π = β, β is the supremum, over the subspaces V of dimension k + 1,
of the infimum of the Rayleigh quotient re βͺT x, xβ« over the unit vectors of
V.
Horn & Johnson, Matrix Analysis 2nd ed., Theorem 4.2.6.
Sorted-eigenvalue uniqueness and Loewner monotonicity #
CourantβFischer consequences needed by the Ky Fan / unitarily-invariant-norm development: an antitone list diagonalizing a symmetric operator in some orthonormal basis is the sorted eigenvalue list, and the sorted eigenvalues are monotone in the quadratic form (Loewner order).
Diagonalization of the quadratic form in any orthonormal eigenbasis: if
S (w i) = ΞΌ i β’ w i for all i, then
re βͺS x, xβ« = β i, ΞΌ i * βw.repr x iβ ^ 2.
Sorted-eigenvalue uniqueness. If an orthonormal basis w
diagonalizes the symmetric operator S with an antitone value list ΞΌ,
then ΞΌ is the sorted eigenvalue list: hS.eigenvalues hn = ΞΌ.
(CourantβFischer: both lists satisfy the same minimax characterization.)
Loewner monotonicity of the sorted eigenvalues. If the quadratic form
of T is dominated by that of S, then so is every sorted eigenvalue.
The span of a selected subfamily of the eigenbasis of a symmetric operator is invariant under the operator.
Weyl's inequality #
Weyl's inequality for symmetric operators on a finite-dimensional inner
product space over π = β, β: the k-th (decreasingly sorted) eigenvalues of
T and S differ by at most the operator norm of T β S.
At LinearMap level there is no operator norm, so the bound is supplied as the
pointwise hypothesis β x, β(T β S) xβ β€ Ξ΅ * βxβ; see
TauCeti.abs_eigenvalue_sub_eigenvalue_le_norm for the continuous-linear-map
operator-norm form.
Horn & Johnson, Matrix Analysis 2nd ed., Theorem 4.3.1; Bhatia, Matrix Analysis, Corollary III.2.6.
Weyl's inequality, operator-norm form, for symmetric (equivalently,
self-adjoint) continuous linear maps on a finite-dimensional inner product
space: the k-th sorted eigenvalues of T and S differ by at most
βT β Sβ. The symmetry hypotheses are stated on the underlying linear maps
so that the signature does not require the adjoint star structure (whose
instance needs CompleteSpace E, which FiniteDimensional deliberately does
not register as an instance).
Related Lean work: YuanheZ/lean-stat-learning-theory,
SLT/MatrixInfra/Perturb.lean at commit
216e578c9576bab6b0abc3ba6c65762536768e96, proves the same operator-norm
endpoint. The present proof belongs to the local Courant--Fischer chain and is
retained to keep the development self-contained.
Weyl's inequality, LinearMap form: the bound is the operator norm of
T - S read through LinearMap.toContinuousLinearMap.
Two things about this declaration are not free choices, and both are worth stating rather than leaving to be rediscovered.
The name does not follow the convention its neighbours use
(abs_eigenvalue_sub_eigenvalue_le, abs_eigenvalue_sub_eigenvalue_le_norm)
because it is pinned as data: comparator/candidate-02-courant-fischer-weyl.json
lists TauCeti.abs_eigenvalues_sub_le_opNorm in its theorem_names, and the
paired immutable challenge statement in
Challenge/MathlibCandidate/CourantFischerWeyl/Conformance.lean declares it
under that name. Renaming it here would silently orphan the conformance
comparison, which no compiler checks.
The duplication with abs_eigenvalue_sub_eigenvalue_le_norm is only apparent.
The eigenvalue API is stated for LinearMap.IsSymmetric, so the LinearMap
form is the one that needs no coercion in its hypotheses; the continuous form
above needs (T : E ββ[π] E) in both. They bound the same quantity by norms
of two different objects.
Sorted eigenvalues are congruent along an operator equality (the eigenvalue enumeration depends only on the operator, not on the symmetry proof).
The eigenvalue enumeration does not depend on which witness of the dimension indexes
it: two witnesses finrank π E = m and finrank π E = n enumerate the same eigenvalues,
read across the induced Fin m β Fin n.
Both spellings occur in practice. A matrix over Fin n has
Matrix.IsHermitian.eigenvaluesβ indexed by Fin (Fintype.card (Fin n)), while the
operator theory it is transported to indexes by Fin n; Fintype.card (Fin n) = n is a
theorem and not definitional, so the two index types are genuinely different.