# Structure 13: Matrix analysis, operator monotonicity, and noncommutative inequalities Part of the [Mathlib and TauCeti coverage series](STRUCTURE.md). [Mathematical inventory](SYNOPSIS13.md); [bibliographical scope](CKMA-bib.md#ckma-13); [MSC2020 index](CKMA-MSC2020.md). This file follows the thematic order of the mathematical inventory. It records definitions, structures, and proved results, with supporting material identified separately. A topic heading locates the recorded statements; it does not assert coverage of every result in the corresponding synopsis. The closing line of each section assigns every numbered synopsis entry under that heading to exactly one of the lists covered, partly covered, or not covered. **Source baseline.** Mathlib `911003dd6dea5df215dff57f2717be762e11a6ca` and TauCeti `5cdecf40e99d5a5ad0833afff31f5b007d68a149`, both of 2026-10-18, checked against local checkouts on 2026-10-19. See the [revision and source conventions](STRUCTURE.md#source-baseline-and-conventions). **Mathlib source areas.** `Mathlib.Analysis.Matrix` (spectral theorem, functional calculus, order, positive definiteness, LDL), `Mathlib.LinearAlgebra.Matrix.PosDef`, `Mathlib.LinearAlgebra.Matrix.SchurComplement`, `Mathlib.LinearAlgebra.Matrix.Gershgorin`, `Mathlib.LinearAlgebra.Matrix.Irreducible.Defs`, `Mathlib.LinearAlgebra.Matrix.Determinant.TotallyNonneg`, `Mathlib.Analysis.InnerProductSpace.SingularValues`, `Mathlib.Analysis.InnerProductSpace.Positive`, `Mathlib.Analysis.InnerProductSpace.Rayleigh`, `Mathlib.Analysis.Convex.Birkhoff`, `Mathlib.Analysis.CStarAlgebra.Matrix`, `Mathlib.Analysis.CStarAlgebra.CStarMatrix`, `Mathlib.Analysis.CStarAlgebra.CompletelyPositiveMap`, `Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order`, `Mathlib.Analysis.CStarAlgebra.ApproximateUnit`, and the order files under `Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus`. **Namespaces.** Hermitian eigenvalues, the matrix spectral theorem and functional calculus are `Matrix.IsHermitian`; positive (semi)definite matrices and the Schur complement criterion are `Matrix.PosDef` and `Matrix.PosSemidef`. Singular values, sorted eigenvalues of symmetric maps, and the Loewner order on algebraic operators are `LinearMap` and `LinearMap.IsSymmetric`. The Loewner order on bounded operators, the modulus, the polar factor, approximation numbers (`ContinuousLinearMap.singularValue`) and the Sylvester operator are `ContinuousLinearMap`. Powers, logarithms, and positive parts through the functional calculus are `CFC`. Norm comparisons, inverses, and integer powers are `CStarAlgebra`. Matrices over a C⋆-algebra are `CStarMatrix`. The matrix order is installed by opening the scope `MatrixOrder`; the \(\ell^2\) operator norm is the scope `Matrix.Norms.L2Operator`. In TauCeti, unitarily invariant seminorms, Schatten seminorms and the Davis–Kahan bounds are `TauCeti.UnitarilyInvariantSeminorm`, and the geometric mean is `TauCeti.geometricMean`. ## Spectral structure and variational comparison [Mathematical scope](SYNOPSIS13.md#spectral-structure-and-variational-comparison). ### Mathlib **Spectral theorem for Hermitian matrices.** A Hermitian matrix over \(\mathbb R\) or \(\mathbb C\) has real eigenvalues, listed in decreasing order by `Matrix.IsHermitian.eigenvalues₀`, and is diagonalized by the unitary matrix of an orthonormal eigenbasis (`Matrix.IsHermitian.spectral_theorem`); its determinant and trace are the product and sum of the eigenvalues, and its rank is the number of nonzero eigenvalues (`Analysis/Matrix/Spectrum.lean`). A Hermitian matrix is positive semidefinite (positive definite) exactly when its eigenvalues are nonnegative (positive) (`Matrix.IsHermitian.posSemidef_iff_eigenvalues_nonneg`, `Matrix.IsHermitian.posDef_iff_eigenvalues_pos`, `Analysis/Matrix/PosDef.lean`). The continuous functional calculus of a Hermitian matrix is realized as \(Uf(\Lambda)U^*\) (`Matrix.IsHermitian.cfc`, `Analysis/Matrix/HermitianFunctionalCalculus.lean`). For symmetric endomorphisms of a finite-dimensional inner product space the eigenvalues are listed in decreasing order (`LinearMap.IsSymmetric.eigenvalues_antitone`, `Analysis/InnerProductSpace/Spectrum.lean`). **Eigenvalue localization and nonnegative matrices.** Gershgorin's circle theorem: every eigenvalue of a square matrix over a normed field lies in one of the discs centred at a diagonal entry with radius the sum of the norms of the other entries in its row (`Matrix.eigenvalue_mem_ball`). A strictly diagonally dominant matrix, by rows or by columns, has nonzero determinant (`LinearAlgebra/Matrix/Gershgorin.lean`). The counting statement for disjoint unions of discs is not proved. The Rayleigh quotient of a self-adjoint operator is \(\langle Tx,x\rangle/\|x\|^2\). On a complete space, a point at which it attains its maximum or minimum on a sphere is an eigenvector, and the supremum or infimum is the corresponding eigenvalue; in finite dimension the supremum and infimum are eigenvalues (`Analysis/InnerProductSpace/Rayleigh.lean`). A nonnegative square matrix is irreducible when its positivity graph is strongly connected, equivalently when every entry of some positive power is positive, and primitive when a single power is entrywise positive (`LinearAlgebra/Matrix/Irreducible/Defs.lean`). These are the definitions of Perron–Frobenius theory; the Perron–Frobenius theorem itself is not proved. ### TauCeti **Normal matrices.** A normal operator on a finite-dimensional complex inner product space has an orthonormal basis of eigenvectors (`LinearMap.exists_orthonormalBasis_apply_eq_smul_of_isStarNormal`, [normal operators](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/NormalOperator.lean)), and a normal complex matrix is unitarily diagonalizable (`Matrix.exists_mem_unitaryGroup_star_mul_mul_eq_diagonal`, [normal matrices](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/Matrix/Normal.lean)). For a Hermitian matrix and a set \(\Omega\subseteq\mathbb R\), the functional calculus of the indicator of \(\Omega\) is the orthogonal projection onto the sum of the eigenspaces at eigenvalues in \(\Omega\), and \(A\mapsto f(A)\) is continuous for continuous \(f\) ([spectral projectors](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/Matrix/FunctionalCalculus.lean)). **Singular value decomposition and polar decomposition.** For a linear map \(A\) between finite-dimensional inner product spaces over \(\mathbb R\) or \(\mathbb C\), the right singular vectors are an ordered orthonormal eigenbasis of \(A^*A\), the left singular vectors are \(u_i=\sigma_i^{-1}Av_i\), \(A\) and \(A^*\) have the same singular values, and \(A=\sum_i\sigma_i\,u_i\otimes v_i\) (`LinearMap.eq_sum_singularValues_smul_rankOne`, `LinearMap.exists_orthonormal_eq_sum_singularValues_smul_rankOne`, [singular system](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/SingularValues.lean)). This is the singular value decomposition in rank-one form. The polar decomposition \(T=U|T|\) is proved for bounded operators between Hilbert spaces, with \(|T|=\sqrt{T^*T}\) and \(U\) the canonical partial isometry with initial space \((\ker T)^\perp\) and final space the closure of the range; \(U\) is the unique bounded operator with \(U|T|=T\) vanishing on \(\ker T\) (`ContinuousLinearMap.polarFactor_comp_modulus`, `ContinuousLinearMap.eq_polarFactor_iff`, [bounded polar decomposition](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/Polar/Bounded.lean), [modulus](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/Modulus.lean), [partial isometries](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/PartialIsometry.lean)). The finite-dimensional rectangular version is `LinearMap.polarFactor` ([finite polar factor](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/Polar/Finite.lean)); between spaces of equal dimension the polar factor can be taken to be a linear isometric equivalence (`LinearMap.exists_linearIsometryEquiv_comp_operatorAbs_eq`, [unitary polar decomposition](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/Polar/Unitary.lean)), and for injective maps the isometric factor is unique ([injective maps](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/Polar/Isometry.lean)). **Variational eigenvalue theory.** For a symmetric endomorphism \(T\) of a finite-dimensional inner product space over \(\mathbb R\) or \(\mathbb C\), with eigenvalues \(\lambda_0\ge\cdots\ge\lambda_{n-1}\), the Courant–Fischer theorem states that \(\lambda_k\) is the supremum, over subspaces of dimension \(k+1\), of the infimum of \(\mathop{\mathrm{re}}\langle Tx,x\rangle\) over their unit vectors (`LinearMap.IsSymmetric.eigenvalues_eq_iSup_iInf_re_inner`); the min–max form follows by passing to \(-T\). Consequences are monotonicity of the sorted eigenvalues under quadratic-form domination, hence in the Loewner order, and Weyl's perturbation bound \(|\lambda_k(T)-\lambda_k(S)|\le\|T-S\|\) (`LinearMap.IsSymmetric.eigenvalue_mono`, `LinearMap.IsSymmetric.abs_eigenvalue_sub_eigenvalue_le_norm`; [Courant–Fischer](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/Analysis/InnerProductSpace/CourantFischer.lean)). The index-shifted Weyl inequalities and Cauchy interlacing are not stated. Ky Fan's trace inequality bounds \(\sum_{i