Backward-stable implicit QR steps
Library · Source module
Backward-stable implicit QR steps
A backward-stable single-shift QR step with error \varepsilon from (\mathbf{H}, s) outputs an upper Hessenberg \widehat{\mathbf{H}}' and an upper triangular \widehat{\mathbf{R}} with one unitary \widehat{\mathbf{Q}} for which \|\widehat{\mathbf{H}}' - \widehat{\mathbf{Q}}^{\mathsf H} \mathbf{H}\widehat{\mathbf{Q}}\|_2 \le \varepsilon and \|\mathbf{H} - s - \widehat{\mathbf{Q}} \widehat{\mathbf{R}}\|_2 \le \varepsilon [BanksGarzaVargasSrivastava2022, Definition 3.4]. A rounded Givens sweep is one with \varepsilon = \nu\boldsymbol{u}(\|\mathbf{H}\|_2 + \lvert s \rvert). The paper's \mathbf{b}ase \|\mathbf{H} - s\|_2 is not met in floating point (adding back the shift rounds the diagonal with error \boldsymbol{u}\lvert s\rvert, and an implementation that conjugates \mathbf{H} itself rounds relative to \|\mathbf{H}\|_2); every use of the definition bounds the base by (1 + C)\|\mathbf{H}\|_2 for shifts in \mathbb{D}(0, C\|\mathbf{H}\|_2), so the base \|\mathbf{H}\|_2 + \lvert s\rvert loses nothing.
A degree m step is a chain of m single steps (NLAlib.IsStableQRChain). This file states what the chain gives: the backward error of the composed similarity (Lemma 3.6, first part, in the corrected form: the norms of the intermediate matrices grow), the backward error of the factorization of the shift polynomial (Lemma 3.6, second part, under m\nu\boldsymbol{u} \le 1/4, which the paper omits), and the last diagonal entry of the product of the triangular factors (Lemma 3.9, by a direct argument that needs only \kappa_V, not \kappa_V^2). The forward error against the exact multishift step (Lemma 3.8) and the potential after a rounded step (Lemma 5.2) are in NLAlib.Matrix.QRIteration.StableStepForward.
Main definitions
* NLAlib.IsStableQRStep: Definition 3.4 with an absolute error. * NLAlib.IsStableQRChain: a degree m step as a chain of single steps. * NLAlib.IsStableQRStepBy, NLAlib.IsStableQRChainBy: the same with the unitaries named.
Main results
* NLAlib.HasOrthonormalCols.isStableQRStep_upperHessenbergPart: a stable step from a Hessenberg factorization and a nearby similarity; NLAlib.HasOrthonormalCols.isStableQRStepBy_upperHessenbergPart with the unitary named. * NLAlib.IsStableQRChain.snoc: a chain extended by a step. * NLAlib.IsStableQRChain.isPerturbedUnitarySimilar: the backward error of the similarity; NLAlib.IsStableQRChainBy.isPerturbedUnitarySimilarBy with the unitary named. * NLAlib.IsStableQRChain.exists_specNorm_aeval_sub_le: the backward error of the factorization of the shift polynomial. * NLAlib.IsStableQRChain.abs_prod_last_sub_le: the last diagonal entry of the product of the triangular factors.
Declarations
- NLAlib.HasOrthonormalCols.isStableQRStepBy_upperHessenbergPart
- NLAlib.HasOrthonormalCols.isStableQRStep_upperHessenbergPart
- NLAlib.IsStableQRChain
- NLAlib.IsStableQRChain.abs_prod_last_sub_le
- NLAlib.IsStableQRChain.exists_specNorm_aeval_sub_le
- NLAlib.IsStableQRChain.exists_specNorm_aeval_sub_le_scale
- NLAlib.IsStableQRChain.forall_isUpperTriangular
- NLAlib.IsStableQRChain.isPerturbedUnitarySimilar
- NLAlib.IsStableQRChain.snoc
- NLAlib.IsStableQRChainBy
- NLAlib.IsStableQRChainBy.isPerturbedUnitarySimilarBy
- NLAlib.IsStableQRChainBy.isStableQRChain
- NLAlib.IsStableQRChainBy.snoc
- NLAlib.IsStableQRStep
- NLAlib.IsStableQRStep.isPerturbedUnitarySimilar
- NLAlib.IsStableQRStepBy
- NLAlib.IsStableQRStepBy.isPerturbedUnitarySimilarBy
- NLAlib.IsStableQRStepBy.isStableQRStep
- NLAlib.list_prod_isUpperTriangular_apply_self
- NLAlib.one_add_pow_mul_one_sub_le
- NLAlib.specNorm_aeval_shiftPoly_le
- NLAlib.specNorm_inv_aeval_shiftPoly_le