Functions of a Hermitian matrix
Library · Source module
Functions of a Hermitian matrix
For a Hermitian matrix \mathbf{A} and a function f from \mathbb{R} to \mathbb{R}, the matrix f(\mathbf{A}) is Mathlib's continuous functional calculus cfc. This file gives the working API in the vocabulary of this library: f(\mathbf{A}) through any unitary diagonalisation, its trace, eigenvalues, quadratic form and spectral norm, and its behaviour under unitary conjugation and block diagonal sums; the inverse and the inverse square root of a positive definite matrix are functions of it.
No definition is introduced. cfc f A is the spelling of f(\mathbf{A}); the square root \mathbf{A}^{1/2} is CFC.sqrt, a real power \mathbf{A}^r of a positive semidefinite matrix is A ^ r, the absolute value \lvert \mathbf{A} \rvert is CFC.abs and the positive part \mathbf{A}^{+} is A⁺, all from Mathlib and all available with open scoped MatrixOrder. They unfold to cfc by CFC.sqrt_eq_real_sqrt, CFC.rpow_eq_cfc_real, CFC.abs_eq_cfc_norm and CFC.posPart_def (the first and the last to the non-unital cfcₙ, which is cfc by cfcₙ_eq_cfc). General facts are Mathlib's: cfc_predicate (f(\mathbf{A}) is Hermitian), cfc_commute_cfc, cfc_mono (comparison on the spectrum), cfc_nonneg, cfc_pow_id, cfc_inv_id, cfc_polynomial.
The location of the spectrum is the hypothesis that the real spectrum (Mathlib's spectrum) of \mathbf{A} lies in a set s, or a Loewner sandwich a\mathbf{I} \preceq \mathbf{A} \preceq \mathbf{b}\mathbf{I} for an interval.
Main results
* NLAlib.HasOrthonormalCols.cfc_eq_mul_diagonal_mul_conjTranspose: f(\mathbf{U}\mathbf{D}\mathbf{U}^{\mathsf{H}}) = \mathbf{U} f(\mathbf{D}) \mathbf{U}^{\mathsf{H}}. * Matrix.IsHermitian.cfc_mul_eq_mul_diagonal_of_mul_eq: a function of \mathbf{A} on an invariant frame, \mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\mathbf{d}) \Rightarrow f(\mathbf{A})\mathbf{W} = \mathbf{W}\operatorname{diag}(f(\mathbf{d}_i)). * NLAlib.HasOrthonormalCols.cfc_mul_mul_conjTranspose: a function of a zero-padded compression, f(\mathbf{U}\mathbf{T}\mathbf{U}^{\mathsf{H}}) = \mathbf{U}f(\mathbf{T})\mathbf{U}^{\mathsf{H}} + f(0)(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}}). * Matrix.IsHermitian.spectrum_subset_iff: the spectrum through the sorted eigenvalues. * Matrix.IsHermitian.smul_one_le_iff_spectrum_subset_Ici, Matrix.IsHermitian.le_smul_one_iff_spectrum_subset_Iic: one-sided Loewner bounds are spectral bounds. * Matrix.IsHermitian.spectrum_conjTranspose_mul_mul_subset_Icc: Ritz values stay in an interval containing the spectrum. * Matrix.IsHermitian.re_trace_cfc: \operatorname{tr} f(\mathbf{A}) = \sum_i f(\lambda_i(\mathbf{A})). * Matrix.IsHermitian.eigenvalue_cfc_of_monotoneOn: eigenvalues of f(\mathbf{A}) for monotone f. * Matrix.IsHermitian.specNorm_cfc_le: \|f(\mathbf{A})\|_2 \le \max \lvert f \rvert on the spectrum. * NLAlib.HasOrthonormalCols.re_quadForm_cfc_eq_sum: the quadratic form of f(\mathbf{A}) as a weighted sum. * Matrix.IsHermitian.norm_toLp_cfc_mulVec_sq, Matrix.IsHermitian.norm_star_dotProduct_cfc_mulVec_le: the norm of \psi(\mathbf{A})\mathbf{x} as a quadratic form, and a Cauchy–Schwarz inequality for functions of one Hermitian matrix. * Matrix.IsHermitian.frobNorm_cfc_sub_cfc_le: a 1-Lipschitz function is 1-Lipschitz in the Frobenius norm on Hermitian matrices over either scalar field [Kittaneh1985]. * Matrix.IsHermitian.cfc_fromBlocks_zero₁₂_zero₂₁, NLAlib.cfc_blockDiagonal: block diagonal sums. * Matrix.PosDef.inv_eq_cfc, Matrix.PosDef.inv_sqrt_eq_cfc: the inverse and the inverse square root. * Matrix.IsHermitian.cfc_inv_eq_pinv: the pseudoinverse of a Hermitian matrix is the function \mathbf{x} \mapsto \mathbf{x}^{-1} of it (with 0^{-1} = 0).
Declarations
- Matrix.IsHermitian.abs_re_quadForm_cfc_le
- Matrix.IsHermitian.apply_eigenvalue_zero_le_re_trace_cfc
- Matrix.IsHermitian.cfc_fromBlocks_zero₁₂_zero₂₁
- Matrix.IsHermitian.cfc_inv_eq_pinv
- Matrix.IsHermitian.cfc_mulVec_of_mulVec_eq_smul
- Matrix.IsHermitian.cfc_mul_eq_mul_diagonal_of_mul_eq
- Matrix.IsHermitian.cfc_submatrix_equiv
- Matrix.IsHermitian.eigenvalue_cfc_of_antitoneOn
- Matrix.IsHermitian.eigenvalue_cfc_of_monotoneOn
- Matrix.IsHermitian.frobNorm_cfc_sub_cfc_le
- Matrix.IsHermitian.frobNorm_cfc_sub_cfc_le_of_lipschitzOnWith
- Matrix.IsHermitian.le_smul_one_iff_spectrum_subset_Iic
- Matrix.IsHermitian.mul_card_le_re_trace_cfc
- Matrix.IsHermitian.norm_star_dotProduct_cfc_mulVec_le
- Matrix.IsHermitian.norm_toLp_cfc_mulVec_sq
- Matrix.IsHermitian.re_trace_cfc
- Matrix.IsHermitian.smul_one_le_iff_spectrum_subset_Ici
- Matrix.IsHermitian.specNorm_cfc_le
- Matrix.IsHermitian.spectrum_conjTranspose_mul_mul_subset_Icc
- Matrix.IsHermitian.spectrum_subset_iff
- Matrix.PosDef.inv_eq_cfc
- Matrix.PosDef.inv_sqrt_eq_cfc
- Matrix.PosDef.isUnit_sqrt
- Matrix.PosDef.spectrum_subset_Ioi
- Matrix.PosSemidef.spectrum_subset_Icc_eigenvalue_zero
- Matrix.PosSemidef.spectrum_subset_Ici
- NLAlib.HasOrthonormalCols.cfc_eq_mul_diagonal_mul_conjTranspose
- NLAlib.HasOrthonormalCols.cfc_eq_sum_smul_vecMulVec
- NLAlib.HasOrthonormalCols.cfc_mul_mul_conjTranspose
- NLAlib.HasOrthonormalCols.cfc_mul_mul_conjTranspose_of_card_eq
- NLAlib.HasOrthonormalCols.re_quadForm_cfc_eq_sum
- NLAlib.cfc_blockDiagonal
- NLAlib.cfc_diagonal
- NLAlib.cfc_le_cfc_of_forall_mem_Icc
- NLAlib.spectrum_subset_Icc_of_le