The rounded contract of the column-wise two-pass Gram–Schmidt extension
Library · Source module
The rounded contract of the column-wise two-pass Gram–Schmidt extension
Under the standard model of rounded arithmetic and the level-1 contracts, the implementation NLAlib.CGS2.cgs2ExtendRoutine with a threshold \tau > 0 meets the rounded specification NLAlib.Ops.extendSpec of a basis extension with the parameters NLAlib.cgs2ExtendMu and NLAlib.cgs2ExtendEps at the constants of two classical passes. The stored basis has zero columns where earlier columns were dropped: a rounded dot product with a stored zero column decodes to zero, and the update with a zero coefficient is one more link of the chain of rounded updates, so the two passes meet the single-vector guarantee on the support with the pass coefficient of the full number of stored columns. Design: docs/design/LowRank-BlockLanczos.md §3.5, statement E3 of §5.
Main results
* NLAlib.CGS2.decv_eq_zero_of_passOut: a classical pass maps a zero vector to a zero vector. * NLAlib.CGS2.isOrthErrOnSupport_of_passOut: two rounded passes against a stored basis with zero columns meet the single-vector guarantee on the support. * NLAlib.CGS2.passBudget_mono, NLAlib.CGS2.threshold_bounds, NLAlib.CGS2.norm_smul_sub_le_of_isScalErr: the budget, the rounded threshold and the rounded scaling. * NLAlib.CGS2.colOut_rounded, NLAlib.CGS2.isBasisExtensionErr_of_colsDone: the words of the rounds, decoded, give a rounded extension. * NLAlib.CGS2.satisfies_nrm2RelOf, NLAlib.CGS2.satisfies_scalRelOf: the contracts of the norm and of the scaling in the form used by a round. * NLAlib.CGS2.cgs2ExtendRoutine_meets: the implementation satisfies the rounded contract of a basis extension.
Declarations
- NLAlib.CGS2.cgs2ExtendRoutine_meets
- NLAlib.CGS2.colOut_rounded
- NLAlib.CGS2.decv_eq_zero_of_passOut
- NLAlib.CGS2.isBasisExtensionErr_of_colsDone
- NLAlib.CGS2.isOrthErrOnSupport_of_passOut
- NLAlib.CGS2.norm_smul_sub_le_of_isScalErr
- NLAlib.CGS2.passBudget_mono
- NLAlib.CGS2.satisfies_nrm2RelOf
- NLAlib.CGS2.satisfies_scalRelOf
- NLAlib.CGS2.threshold_bounds