NLAlib.forall_weight_gaussState_submatrix_greedyPerm_le
Library · theorem
Greedy row exchanges make every pivot attain the largest weight in its active column. At stage j a row maximizes w on column j of the current elimination state.
NLAlib.forall_weight_gaussState_submatrix_greedyPerm_le.{u_2} {K : Type u_2} [Field K] {n : ℕ}
(w : K → ℝ) (A : Matrix (Fin n) (Fin n) K) (j i : Fin n) :
j ≤ i →
have σ := Fin.greedyPerm (fun σ j i ↦ w (gaussState (A.submatrix (⇑σ) id) (↑j) i j)) n;
w (gaussState (A.submatrix (⇑σ) id) (↑j) i j) ≤ w (gaussState (A.submatrix (⇑σ) id) (↑j) j j)Import NLAlib.Matrix.Factorizations.LU.