NLA-lib Explorer

Greedy choice of a permutation

Library · Source module

Greedy choice of a permutation

A permutation of Fin n can be built position by position, swapping into each position a maximiser of a score that the permutations already chosen transform covariantly: the choice of pivots in partial pivoting and in diagonally pivoted Cholesky. Upstream candidate for Mathlib.GroupTheory.Perm.Fin.

Main definitions

* Fin.greedyPerm: the permutation obtained by exchanging the first maximizing candidate into each pivot position.

Main results

* Fin.le_greedyPerm_apply_self, Fin.exists_perm_forall_le_apply_self: pivots maximize the score at each step.

Declarations