NLA-lib Explorer

Matrix.inv_neg

Library · theorem

The inverse of -\mathbf{A} is -\mathbf{A}^{-1}, for every square matrix: both sides are 0 when \mathbf{A} is singular.

Matrix.inv_neg.{u_1, u_2} {n : Type u_1} {α : Type u_2} [Fintype n] [DecidableEq n] [CommRing α]
  (A : Matrix n n α) : (-A)⁻¹ = -A⁻¹

Full source on GitHub

Import NLAlib.ForMathlib.LinearAlgebra.Matrix.NonsingularInverse.