NLAlib.HasOrthonormalCols.isStableQRStepBy_upperHessenbergPart
Library · theorem
A stable step from a Hessenberg factorization and a nearby similarity: if \mathbf{Q} is unitary and upper Hessenberg, \mathbf{R} upper triangular, \|\mathbf{H} - s\mathbf{I} - \mathbf{Q}\mathbf{R}\|_2 \le d and \|\mathbf{Q}\mathbf{Z}\mathbf{Q}^{\mathsf{H}} - \mathbf{H}\|_2 \le e, then \mathbf{Z} with its entries below the subdiagonal deleted is a backward-stable step with error d + \sqrt{n+1}\,(d + e) (and at least d): \mathbf{R}\mathbf{Q} + s\mathbf{I} is upper Hessenberg and within d of \mathbf{Q}^{\mathsf{H}}\mathbf{H}\mathbf{Q}, and the deletion costs at most a Frobenius norm. The step is by \mathbf{Q}.
NLAlib.HasOrthonormalCols.isStableQRStepBy_upperHessenbergPart {n : ℕ}
{H Z Q R : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {s : ℂ} {d e ε : ℝ} (hQ : HasOrthonormalCols Q)
(hQH : IsUpperHessenberg Q) (hR : R.IsUpperTriangular) (hd : specNorm (H - s • 1 - Q * R) ≤ d)
(he : specNorm (Q * Z * Qᴴ - H) ≤ e) (hdε : d ≤ ε) (hε : d + √(↑n + 1) * (d + e) ≤ ε) :
IsStableQRStepBy Q ε H s (upperHessenbergPart Z) RImport NLAlib.Matrix.QRIteration.StableStep.