NLA-lib Explorer

Extension of a basis by a block: the orthogonalization contract

Library · Source module

Extension of a basis by a block: the orthogonalization contract

A block orthogonalization scheme extends a stored basis \mathbf{Q} by a block \mathbf{W}: it returns new columns \mathbf{Q}' and coefficients \mathbf{H}, \mathbf{R} with \mathbf{W} \approx \mathbf{Q}\mathbf{H} + \mathbf{Q}'\mathbf{R}, and it may return a zero column where it finds \mathbf{W} numerically dependent. A basis with zero columns is not near orthonormal as a matrix, so orthonormality is measured by the Gram defect on the support, \mathbf{Q}^{\mathsf{H}}\mathbf{Q} - \operatorname{diag}(\mathbf{s}) with s_j = 0 for a zero column and s_j = 1 otherwise. NLAlib.IsBasisExtension is the exact contract and NLAlib.IsBasisExtensionErr the rounded one, with parameters (\eta_0, \mu, \varepsilon). Design: docs/design/LowRank-BlockLanczos.md §3.1a.

Main definitions

* NLAlib.colSupport, NLAlib.gramDefect: the indicator of the nonzero columns and the Gram defect on the support. * NLAlib.IsBasisExtension: the exact extension of a basis by a block. * NLAlib.ExtensionWindow, NLAlib.IsBasisExtensionErr: the rounded extension and its antecedent. * NLAlib.blockPrefix, NLAlib.blockCols: the first j blocks and the block j of a matrix stored as consecutive blocks of \mathbf{b} columns. * NLAlib.blockRowPrefix, NLAlib.blockRows: the first j blocks of rows and block j of the rows of a matrix stored as consecutive blocks of \mathbf{b} rows. * NLAlib.blockSuccEquiv: the identification of the indices of j blocks followed by one block with the indices of j + 1 blocks.

Main results

* NLAlib.gramDefect_eq_zero_iff, NLAlib.mul_conjTranspose_mul_self_of_gramDefect_eq_zero, NLAlib.mul_conjTranspose_eq_rangeProjector_of_gramDefect_eq_zero: a matrix with zero Gram defect is a partial isometry. * NLAlib.gramDefect_eq_conjTranspose_mul_self_sub_one, NLAlib.hasOrthonormalCols_iff_gramDefect_eq_zero: the case of no zero column. * NLAlib.gramDefect_fromCols, NLAlib.frobNorm_gramDefect_fromCols_sq: the block form of the Gram defect of two blocks of columns. * NLAlib.gramDefect_submatrix, NLAlib.specNorm_submatrix_conjTranspose_mul_self_sub_one_le_gramDefect, NLAlib.specNorm_submatrix_transpose_mul_self_sub_one_le_gramDefect, NLAlib.card_filter_col_ne_zero_le: compression to nonzero columns. * NLAlib.IsBasisExtension.range_eq, NLAlib.IsBasisExtension.coef_left_eq, NLAlib.IsBasisExtension.coef_right_eq: consequences of the exact contract. * NLAlib.IsBasisExtensionErr.mono, NLAlib.IsBasisExtension.isBasisExtensionErr: monotonicity, and the exact contract as the rounded one at (0, 0, 0). * NLAlib.IsBasisExtensionErr.frobNorm_gramDefect_fromCols_sq_le, NLAlib.frobNorm_gramDefect_le_of_blocks: the loss of orthogonality block by block. * NLAlib.blockPrefix_succ_submatrix, NLAlib.blockRowPrefix_succ_submatrix, NLAlib.blockPrefix_succ_mul_blockRowPrefix_succ, NLAlib.range_blockPrefix_succ, NLAlib.gramDefect_blockPrefix_succ_eq_zero_iff: the prefix of j + 1 blocks is the prefix of j blocks followed by block j, up to the identification NLAlib.blockSuccEquiv of the indices.

Declarations