NLA-lib Explorer

A backward model for finite-precision Lanczos

Library · Source module

A backward model for finite-precision Lanczos

The computed tridiagonal matrix of a run L : NLAlib.LanczosRun n k is exactly what k steps of exact Lanczos produce on a symmetric matrix \tilde{\mathbf{H}} of dimension n(k+1) that is close to \mathbf{I}_{k+1} \otimes \mathbf{H}, from a starting vector whose spectral weights with respect to \mathbf{I}_{k+1} \otimes \mathbf{H} are those of the normalised \bar{\mathbf{v}}_1 with respect to \mathbf{H} (a Greenbaum-type backward model, with a perturbation of order k^3\varepsilon\|\mathbf{H}\|_2 under the explicit horizon k\varepsilon \le 1/100). The construction and exact reproduction need only local accuracy.

The construction: normalise the computed vectors (NLAlib.LanczosRun.normalized, whose local errors have that polynomial bound under the same horizon); dilate them to orthonormal vectors (NLAlib.orthonormalDilation), which satisfy the computed recurrence with the computed coefficients up to a residual \hat{\mathbf{E}} (NLAlib.LanczosRun.dilatedResidual), controlled through the Gram commutator of the normalised vectors; remove the residual by the symmetric perturbation \mathbf{\Delta} = -\hat{\mathbf{E}}\hat{\mathbf{V}}_k^{\mathsf{T}} - \hat{\mathbf{V}}_k\hat{\mathbf{E}}^{\mathsf{T}}(\mathbf{I} - \hat{\mathbf{V}}_k \hat{\mathbf{V}}_k^{\mathsf{T}}).

No printed source: the maintainer's draft (T. Chen, A simple stability analysis of Lanczos in finite precision), sec:backward, lem:normalized-errors, cor:normalized-commutator, lem:exchange, lem:dilated-recurrence, thm:greenbaum; [Greenbaum1989] for the original model (perturbation of order \varepsilon^{1/4}), [Paige2010] for the augmented model of dimension n + k.

Main definitions

* NLAlib.LanczosRun.dilatedH, NLAlib.LanczosRun.dilatedBasisSucc, NLAlib.LanczosRun.dilatedBasis, NLAlib.LanczosRun.dilatedStart, NLAlib.LanczosRun.dilatedResidual: the dilated recurrence. * NLAlib.LanczosRun.backwardPerturbation, NLAlib.LanczosRun.backwardH: the backward model. * NLAlib.lanczosDilatedResidualFactor, NLAlib.lanczosBackwardFactor: the factors of the two bounds: residual <!-- value lanczosDilatedResidualFactor k --> 280k^3 and backward <!-- value lanczosBackwardFactor k --> 400k^3.

The construction and its exact properties are stated for any symmetric three-term datum with unit vectors (NLAlib.LanczosData.dilatedResidual, NLAlib.LanczosData.backwardH, NLAlib.LanczosData.frobNorm_dilatedResidual_le_of_le, with the recurrence residual and the Gram commutator as inputs); the run versions are their instances for L.normalized.

Main results

* NLAlib.LanczosRun.frobNorm_dilatedResidual_le: the dilated recurrence. * NLAlib.LanczosRun.backwardH_mul_dilatedBasis, NLAlib.LanczosRun.frobNorm_backwardH_sub_dilatedH_le: the backward model. * NLAlib.LanczosRun.lanczosTridiagonal_backwardH_dilatedStart, NLAlib.LanczosRun.lanczosAlpha_backwardH_dilatedStart, NLAlib.LanczosRun.lanczosState_backwardH_dilatedStart_succ_beta: exact Lanczos on the model computes \mathbf{T}_k and the coefficients.

Declarations