NLAlib.eq_gaussState_add_sum
Library · theorem
The telescoping identity of elimination: \mathbf{A} is the current state plus the rank-one matrices removed so far, \mathbf{A} = \mathbf{A}^{(k)} + \sum_{j < \min(k, n)} \bigl(\mathbf{A}^{(j)}_{j,j}\bigr)^{-1} \mathbf{A}^{(j)}_{:,j} \mathbf{A}^{(j)}_{j,:}\,, with \mathbf{A}^{(k)} the state after k steps and 0^{-1} = 0. It holds with no assumption on the pivots, since a zero pivot removes nothing.
NLAlib.eq_gaussState_add_sum.{u_1} {K : Type u_1} [Field K] {n : ℕ} (A : Matrix (Fin n) (Fin n) K)
(k : ℕ) :
A =
gaussState A k +
∑ j with ↑j < k,
(gaussState A (↑j) j j)⁻¹ • vecMulVec (fun i ↦ gaussState A (↑j) i j) (gaussState A (↑j) j)Import NLAlib.Matrix.Factorizations.GaussState.