NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilar
Library · theorem
Standard rounding
The bottom-up Hessenberg reduction is backward stable and fixes \mathbf{e}_N ([BanksGarzaVargasSrivastava2025, Definition 5.1], proved for rounded rotations): on a machine with the standard model at the unit roundoff \boldsymbol{u}, \mathbf{M}.\mathrm{lit}(0) = 0 and 100(n + 1)^2\boldsymbol{u} \le 1, the stored matrix \widehat{\mathbf{H}} of a complex \mathbf{A} of order n + 1 is upper Hessenberg and there is a unitary \mathbf{Q} with \mathbf{Q}\mathbf{e}_{n+1} = \mathbf{e}_{n+1} and \|\widehat{\mathbf{H}} - \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}\|_2 \le 50(n + 1)^2\boldsymbol{u}\,\|\mathbf{A}\|_2\,.
NLAlib.hessenbergReduceLast_isPerturbedUnitarySimilar {M : Ops.Machine ℝ} {u : ℝ}
(hM : Ops.StdModel u id M) (hzero : M.lit 0 = 0) {n : ℕ} (hnu : 100 * (↑n + 1) ^ 2 * u ≤ 1)
(A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ) :
IsUpperHessenberg (hessenbergReduceLastWord M A) ∧
∃ Q,
HasOrthonormalCols Q ∧
(∀ (i : Fin (n + 1)), Q i (Fin.last n) = if i = Fin.last n then 1 else 0) ∧
specNorm (hessenbergReduceLastWord M A - Qᴴ * A * Q) ≤ 50 * (↑n + 1) ^ 2 * u * specNorm AImport NLAlib.Eigensolvers.HessenbergReduction.