Theorem (exists_norm_luUpper_apply_last_eq_two_pow). Sharpness of partial pivoting growth. In every positive dimension n+1, a matrix \mathbf{A} with entries of modulus at most one produces a last pivot of modulus 2^n: \mathbf{U} = \mathsf{luUpper}(\mathbf{B}), where \mathbf{B} permutes the rows of \mathbf{A} by \mathsf{luPartialPivotPerm}(\mathbf{A}). Wilkinson's example needs no exchanges under the first-maximum tie rule. [TrefethenBau1997, Lecture 22].
Headline
Lean statement and details
NLAlib.exists_norm_luUpper_apply_last_eq_two_pow.{u_3} (𝕜 : Type u_3) [RCLike 𝕜] (n : ℕ) :
∃ A,
(∀ (i j : Fin (n + 1)), ‖A i j‖ ≤ 1) ∧
‖luUpper (A.submatrix (⇑(luPartialPivotPerm A)) id) (Fin.last n) (Fin.last n)‖ = 2 ^ n