NLA-lib Explorer

The stored blocks of the block Golub–Kahan program are a run of the process

Library · Source module

The stored blocks of the block Golub–Kahan program are a run of the process

The program NLAlib.Krylov.GolubKahan.Band.solve stores its coefficients packed by block column: block column j of the left coefficients is a (j\mathbf{b} + \mathbf{b}) \times \mathbf{b} matrix and block column j of the right coefficients a ((j+1)\mathbf{b} + \mathbf{b}) \times \mathbf{b} matrix. The pure relations NLAlib.IsBlockGolubKahan and NLAlib.IsBlockGolubKahanErr speak of the global matrices \mathbf{R} (q\mathbf{b} \times q\mathbf{b}) and \mathbf{S} ((q+1)\mathbf{b} \times q\mathbf{b}), zero below the written part of every block column. This file assembles the packed block columns into the global matrices and shows that the postcondition of the program, the stored-run predicates, gives the pure relations. The theorems about the process then hold of the stored output.

Conventions. The start block of a stored run is an extension of the prefix of zero blocks of \mathbf{V}, as in the pure relations. A stored rounded run bounds the error of a computed product column by column, \|\mathbf{A}\mathbf{x}_c - \mathbf{w}_c\| \le \delta\|\mathbf{x}_c\|, the form delivered by one product per column; it is the product clause of NLAlib.IsBlockGolubKahanErr for every \varepsilon_{\mathrm{mv}} with \delta \le \varepsilon_{\mathrm{mv}}\|\mathbf{A}\|_2. Design: docs/design/LowRank-BlockLanczos.md §4.1–4.3.

Main definitions

* NLAlib.Krylov.GolubKahan.Band.coefEntry, NLAlib.Krylov.GolubKahan.Band.assembleCoef: the global coefficient matrix of packed block columns, zero outside the written part. * NLAlib.Krylov.GolubKahan.Band.assembleLeft, NLAlib.Krylov.GolubKahan.Band.assembleRight: the global matrices \mathbf{R} and \mathbf{S} of a stored run.

Main results

* NLAlib.Krylov.GolubKahan.Band.blockCols_assembleCoef_apply, NLAlib.Krylov.GolubKahan.Band.blockRowPrefix_blockCols_assembleCoef, NLAlib.Krylov.GolubKahan.Band.blockRows_blockCols_assembleCoef, NLAlib.Krylov.GolubKahan.Band.blockCols_assembleCoef_apply_eq_zero: the block columns of the assembled matrix are the packed ones. * NLAlib.Krylov.GolubKahan.Band.norm_col_sub_mul_le_of_norm_mulVec_col_sub_le: the product error of a stored run in the form of the pure relation. * NLAlib.Krylov.GolubKahan.Band.IsExactStoredRun.isBlockGolubKahan, NLAlib.Krylov.GolubKahan.Band.IsRoundedStoredRun.isBlockGolubKahanErr: the two bridges. * NLAlib.Krylov.GolubKahan.Band.IsExactStoredRun.mul_conjTranspose_mul_conjTranspose_eq_rsvd, NLAlib.Krylov.GolubKahan.Band.StoredOut.mul_conjTranspose_mul_conjTranspose_eq_rsvd: the stored factors of an exact run are the randomized SVD approximation at the block Krylov matrix. * NLAlib.Krylov.GolubKahan.Band.IsRoundedStoredRun.frobNorm_gramDefect_left_le, NLAlib.Krylov.GolubKahan.Band.IsRoundedStoredRun.frobNorm_gramDefect_right_le: orthogonality of the stored bases of a rounded run. * NLAlib.Krylov.GolubKahan.Band.IsRoundedStoredRun.specNorm_sub_mul_transpose_mul_transpose_le, NLAlib.Krylov.GolubKahan.Band.IsRoundedStoredRun.frobNorm_sub_mul_transpose_mul_transpose_le: the forward bound for the stored factors of a rounded run.

Declarations