NLA-lib Explorer

Matrix.IsHermitian.posSemidef_of_forall_sum_le_re

Library · theorem

A Hermitian weakly diagonally dominant matrix with nonnegative diagonal is positive semidefinite: if R_i(\mathbf{A}) \le \operatorname{Re} \mathbf{A}_{i,i} for every i, where R_i(\mathbf{A}) = \sum_{j \ne i} \lvert \mathbf{A}_{i,j} \rvert, then \mathbf{0} \preceq \mathbf{A}.

Matrix.IsHermitian.posSemidef_of_forall_sum_le_re.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n 𝕜} (hA : A.IsHermitian)
  (h : ∀ (i : n), gershgorinRadius A i ≤ RCLike.re (A i i)) : A.PosSemidef

Full source on GitHub

Import NLAlib.Matrix.Spectral.Gershgorin.