Matrix.PosSemidef.exists_perm_eq_mul_conjTranspose
Library · theorem
Pivoted Cholesky. A positive semidefinite matrix \mathbf{A} has, after a symmetric permutation \sigma of rows and columns, a factorization \mathbf{L}\mathbf{L}^{\mathsf{H}} with \mathbf{L} lower triangular with nonnegative diagonal, whose first \operatorname{rank} \mathbf{A} diagonal entries are positive and whose remaining columns vanish. [Higham2002, Theorem 10.9].
Matrix.PosSemidef.exists_perm_eq_mul_conjTranspose.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} [LinearOrder n] [Fintype n] {A : Matrix n n 𝕜} [LocallyFiniteOrderBot n]
(hA : A.PosSemidef) :
∃ σ L,
L.IsLowerTriangular ∧
(∀ (i : n), 0 ≤ L i i) ∧
A.submatrix ⇑σ ⇑σ = L * Lᴴ ∧
(∀ (i : n), 0 < L i i ↔ (Finset.Iio i).card < A.rank) ∧
∀ (i j : n), A.rank ≤ (Finset.Iio j).card → L i j = 0Import NLAlib.Matrix.Factorizations.Cholesky.