NLA-lib Explorer

Matrix.PosSemidef.foldl_eliminationStep_eq_sub

Library · theorem

Elimination along a list of pivots is the Nyström residual. For a positive semidefinite \mathbf{A} and a list l of pivots, the eliminated matrix is \mathbf{A} - \mathbf{A}_{:,l} (\mathbf{A}_{l,l})^{+} \mathbf{A}_{l,:}: it depends only on the set of pivots, and repeated pivots do nothing. This is the residual of the partial pivoted Cholesky factorization. [ChenEtAl2025, §2].

Matrix.PosSemidef.foldl_eliminationStep_eq_sub.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2}
  [Finite n] {A : Matrix n n 𝕜} (hA : A.PosSemidef) (l : List n) :
  List.foldl eliminationStep A l =
    A - A.submatrix id l.get * pinv (A.submatrix l.get l.get) * A.submatrix l.get id

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Nystrom.