NLA-lib Explorer

NLAlib.smul_le_smul_of_nonneg

Library · theorem

Scaling by a nonnegative real is monotone in the Loewner order: \mathbf{G} \preceq \mathbf{H} and c \ge 0 give c\,\mathbf{G} \preceq c\,\mathbf{H}, for square matrices over any index type. Mathlib's smul_le_smul_of_nonneg_left gives it for a finite index type.

NLAlib.smul_le_smul_of_nonneg.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_4}
  {G H : Matrix n n 𝕜} (h : G ≤ H) {c : ℝ} (hc : 0 ≤ c) : c • G ≤ c • H

Full source on GitHub

Import NLAlib.Matrix.Norms.Loewner.