NLA-lib Explorer

NLAlib.isLU_luLower_luUpper_of_forall_norm_le

Library · theorem

Elimination computes the LU factorization when every pivot is largest in absolute value among the entries below it, as after the row exchanges of partial pivoting: \lvert \mathbf{B}^{(j)}_{i,j} \rvert \le \lvert \mathbf{B}^{(j)}_{j,j} \rvert for j \le i, with \mathbf{B}^{(j)} the state after j steps (NLAlib.gaussState).

NLAlib.isLU_luLower_luUpper_of_forall_norm_le.{u_2} {𝕜 : Type u_2} [RCLike 𝕜] {n : ℕ}
  {B : Matrix (Fin n) (Fin n) 𝕜}
  (hB : ∀ (j i : Fin n), j ≤ i → ‖gaussState B (↑j) i j‖ ≤ ‖gaussState B (↑j) j j‖) :
  IsLU B (luLower B) (luUpper B)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.LUGeneral.