Fin.le_greedyPerm_apply_self
Library · theorem
Greedy pivoting: let s_\sigma(j, i) score the candidate i for the pivot position j after the permutation \sigma, and suppose that composing \sigma with a permutation \tau fixing the positions before j permutes the scores at step j by \tau: s_{\sigma \circ \tau}(j, i) = s_\sigma(j, \tau(i)). Then some permutation \sigma makes every pivot among the first k maximal over the later positions, s_\sigma(j, i) \le s_\sigma(j, j) for j < k and j \le i: swap a maximiser into each position in turn. This is the choice of pivots in partial pivoting and in diagonally pivoted Cholesky.
Fin.le_greedyPerm_apply_self.{u_1} {α : Type u_1} [LinearOrder α] {n : ℕ}
(s : Equiv.Perm (Fin n) → Fin n → Fin n → α)
(hs :
∀ (σ τ : Equiv.Perm (Fin n)) (j : Fin n),
(∀ l < j, τ l = l) → ∀ (i : Fin n), s (Equiv.trans τ σ) j i = s σ j (τ i))
(k : ℕ) (j i : Fin n) : ↑j < k → j ≤ i → s (Fin.greedyPerm s k) j i ≤ s (Fin.greedyPerm s k) j jImport NLAlib.ForMathlib.GroupTheory.Perm.Fin.