The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Matrix.PosDef
13 declarations. Mathlib docs ยท Source
Spectrum of positive (semi)definite matrices
This file proves that eigenvalues of positive (semi)definite matrices are (nonnegative) positive.
Main definitions
Matrix.toInnerProductSpace: the pre-inner product space onn โ ๐induced by a positive semi-definite matrixM, and is given byโชx, yโซ = xแดดMy.
Positive semidefinite matrices
Positive definite matrices
theorem Matrix.IsHermitian.posSemidef_iff_eigenvalues_nonneg E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐} [inst_2 : DecidableEq n]
(hA : A.IsHermitian), A.PosSemidef โ 0 โค hA.eigenvalues
A Hermitian matrix is positive semi-definite if and only if its eigenvalues are non-negative.
theorem Matrix.PosSemidef.eigenvalues_nonneg E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐} [inst_2 : DecidableEq n]
(hA : A.PosSemidef) (i : n), 0 โค โฏ.eigenvalues i
The eigenvalues of a positive semi-definite matrix are non-negative
theorem Matrix.PosSemidef.re_dotProduct_nonneg E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐},
A.PosSemidef โ โ (x : n โ ๐), 0 โค RCLike.re (star x โฌแตฅ A.mulVec x)
theorem Matrix.PosSemidef.det_nonneg E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐} [inst_2 : DecidableEq n],
A.PosSemidef โ 0 โค A.det
theorem Matrix.PosSemidef.trace_eq_zero_iff E0 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐},
A.PosSemidef โ (A.trace = 0 โ A = 0)
theorem Matrix.eigenvalues_conjTranspose_mul_self_nonneg E1 #
โ {m : Type u_1} {n : Type u_2} {๐ : Type u_3} [inst : Fintype m] [inst_1 : Fintype n] [inst_2 : RCLike ๐]
(A : Matrix m n ๐) [inst_3 : DecidableEq n] (i : n), 0 โค โฏ.eigenvalues i
theorem Matrix.eigenvalues_self_mul_conjTranspose_nonneg E1 #
โ {m : Type u_1} {n : Type u_2} {๐ : Type u_3} [inst : Fintype m] [inst_1 : Fintype n] [inst_2 : RCLike ๐]
(A : Matrix m n ๐) [inst_3 : DecidableEq m] (i : m), 0 โค โฏ.eigenvalues i
theorem Matrix.IsHermitian.posDef_iff_eigenvalues_pos E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐} [inst_2 : DecidableEq n]
(hA : A.IsHermitian), A.PosDef โ โ (i : n), 0 < hA.eigenvalues i
A Hermitian matrix is positive-definite if and only if its eigenvalues are positive.
theorem Matrix.PosDef.re_dotProduct_pos E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐},
A.PosDef โ โ {x : n โ ๐}, x โ 0 โ 0 < RCLike.re (star x โฌแตฅ A.mulVec x)
theorem Matrix.PosDef.eigenvalues_pos E1 #
โ {n : Type u_2} {๐ : Type u_3} [inst : Fintype n] [inst_1 : RCLike ๐] {A : Matrix n n ๐} [inst_2 : DecidableEq n]
(hA : A.PosDef) (i : n), 0 < โฏ.eigenvalues i
The eigenvalues of a positive definite matrix are positive.
abbrev Matrix.toSeminormedAddCommGroup E1 #
{n : Type u_2} โ
{๐ : Type u_3} โ [Fintype n] โ [inst : RCLike ๐] โ (M : Matrix n n ๐) โ M.PosSemidef โ SeminormedAddCommGroup (n โ ๐)
A positive semi-definite matrix M induces a norm โxโ = sqrt (re xแดดMx).
abbrev Matrix.toNormedAddCommGroup E1 #
{n : Type u_2} โ
{๐ : Type u_3} โ [Fintype n] โ [inst : RCLike ๐] โ (M : Matrix n n ๐) โ M.PosDef โ NormedAddCommGroup (n โ ๐)
A positive definite matrix M induces a norm โxโ = sqrt (re xแดดMx).
def Matrix.toInnerProductSpace E3 #
{n : Type u_2} โ
{๐ : Type u_3} โ
[inst : Fintype n] โ [inst_1 : RCLike ๐] โ (M : Matrix n n ๐) โ (hM : M.PosSemidef) โ InnerProductSpace ๐ (n โ ๐)
A positive semi-definite matrix M induces an inner product โชx, yโซ = xแดดMy.