Singular values
Library · Source module
Singular values
NLAlib.singularValues A k is \sigma_k(\mathbf{A}), the k-th largest singular value of a matrix \mathbf{A} of any shape, indexed from 0, non-increasing, and 0 for k at least the rank of \mathbf{A}. It is Mathlib's LinearMap.singularValues of the map \mathbf{x} \mapsto \mathbf{A}\mathbf{x} between Euclidean spaces, as a function ℕ → ℝ; NLAlib.singularValues_eq_linearMap is the bridge, by rfl.
The largest singular value is \sigma_0(\mathbf{A}) = \|\mathbf{A}\|_2. For a matrix with columns indexed by n, the smallest singular value is \sigma_k(\mathbf{A}) with k + 1 = \lvert n \rvert; it is positi\mathbf{v}e e\mathbf{x}actly when \mathbf{A} has full column rank. The zeros beyond the rank are padding, so an index quantified by ∃, or by ∀ in a hypothesis, needs a range: ∃ k, singularValues A k < 1 holds for every matrix. See the module docstring of NLAlib/Matrix/Spectral/Eigenvalues.lean.
Main definitions
* NLAlib.singularValues: the sorted, zero-padded singular values.
Main results
* NLAlib.singularValues_sq: \sigma_k(\mathbf{A})^2 = \lambda_k(\mathbf{A}^{\mathsf{H}}\mathbf{A}), for every k. * NLAlib.singularValues_pos_iff: positivity exactly below the rank. * NLAlib.singularValues_zero_eq_specNorm, NLAlib.frobNorm_sq_eq_sum_singularValues_sq: the two norms in terms of singular values. * NLAlib.HasOrthonormalCols.singularValues_mul_left: invariance under orthonormal factors. * NLAlib.le_singularValues_of_forall_mem, NLAlib.singularValues_le_of_forall_mem: the variational bounds. * NLAlib.exists_submodule_singularValues_mul_norm_le, NLAlib.exists_submodule_norm_mulVec_le: the subspaces attaining them. * NLAlib.singularValues_last_mul_norm_le: the smallest singular value bounds \|\mathbf{A}\mathbf{x}\| below. * NLAlib.singularValues_conjTranspose_mul_self, NLAlib.singularValues_mul_conjTranspose_self: the singular values of a Gram matrix are the squared singular values. * NLAlib.HasOrthonormalCols.eigenvalue_mul_mul_conjTranspose: a frame conjugation of a positive semidefinite matrix keeps its eigenvalue sequence.
Declarations
- Matrix.PosSemidef.singularValues_eq_eigenvalue
- NLAlib.HasOrthonormalCols.eigenvalue_mul_mul_conjTranspose
- NLAlib.HasOrthonormalCols.singularValues_mul_conjTranspose_right
- NLAlib.HasOrthonormalCols.singularValues_mul_left
- NLAlib.det_conjTranspose_mul_self_eq_prod_singularValues_sq
- NLAlib.exists_submodule_norm_mulVec_le
- NLAlib.exists_submodule_singularValues_mul_norm_le
- NLAlib.frobNorm_le_sqrt_rank_mul_specNorm
- NLAlib.frobNorm_sq_eq_sum_range_singularValues_sq
- NLAlib.frobNorm_sq_eq_sum_singularValues_sq
- NLAlib.frobNorm_sq_le_rank_mul_specNorm_sq
- NLAlib.le_singularValues_last
- NLAlib.le_singularValues_last_sq_of_smul_one_le
- NLAlib.le_singularValues_of_forall_mem
- NLAlib.singularValues
- NLAlib.singularValues_antitone
- NLAlib.singularValues_conjTranspose
- NLAlib.singularValues_conjTranspose_mul_self
- NLAlib.singularValues_eq_linearMap
- NLAlib.singularValues_eq_of_conjTranspose_mul_self_eq
- NLAlib.singularValues_eq_zero
- NLAlib.singularValues_eq_zero_iff
- NLAlib.singularValues_last_mul_norm_le
- NLAlib.singularValues_last_pos_iff_injective
- NLAlib.singularValues_last_sq_smul_one_le
- NLAlib.singularValues_le_of_forall_mem
- NLAlib.singularValues_le_specNorm
- NLAlib.singularValues_mul_conjTranspose_self
- NLAlib.singularValues_neg
- NLAlib.singularValues_nonneg
- NLAlib.singularValues_of_card_cols_le
- NLAlib.singularValues_of_card_rows_le
- NLAlib.singularValues_pos_iff
- NLAlib.singularValues_real_smul
- NLAlib.singularValues_smul
- NLAlib.singularValues_sq
- NLAlib.singularValues_sq_eq_eigenvalue_mul_conjTranspose_self
- NLAlib.singularValues_submatrix_equiv
- NLAlib.singularValues_transpose
- NLAlib.singularValues_zero
- NLAlib.singularValues_zero_eq_specNorm