NLA-lib Explorer

NLAlib.isLeast_specNorm_not_isUnit_add

Library · theorem

General form: sizes are index types

The distance from an invertible matrix to the singular matrices is 1 / \|\mathbf{A}^{-1}\|_2: it is the least \|\mathbf{E}\|_2 over \mathbf{E} with \mathbf{A} + \mathbf{E} singular, on a nonempty index type. [GolubVanLoan2013, §2.6.2]. Result: distance-to-singularity

NLAlib.isLeast_specNorm_not_isUnit_add.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_4}
  [Fintype n] [DecidableEq n] [Nonempty n] {A : Matrix n n 𝕜} (hA : IsUnit A) :
  IsLeast (specNorm '' {E | ¬IsUnit (A + E)}) (specNorm A⁻¹)⁻¹

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.ConditionNumber.

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.