Deflation: an orthonormal basis of the range of a near-low-rank matrix
Library · Source module
Deflation: an orthonormal basis of the range of a near-low-rank matrix
NLAlib.deflate M r P G returns the first r columns of the \mathbf{Q} factor of the machine's QR factorization of \mathrm{mm}(\mathbf{P}, \widetilde{\mathbf{G}}), where \widetilde{\mathbf{G}} is the stored version (the machine's normal sampler, entrywise) of an ideal sample \mathbf{G} ([Shah2024, Algorithm 2]). For \mathbf{P} close to a matrix of rank r and \mathbf{G} a standard complex Gaussian matrix the output is, with high probability, close to an orthonormal basis of the range ([Shah2024, Theorem 3.3]). It is the randomized range finder without oversampling, as in [BanksGarzaVargasKulkarniSrivastava2020], here with a Gaussian rather than a Haar test matrix. The definition is computable and written over a NLAlib.FloatMachine.
Main definitions
* NLAlib.deflate.
Main results
* NLAlib.HasOrthonormalCols.exists_hasOrthonormalCols_specNorm_mul_sub_le, NLAlib.HasOrthonormalCols.exists_hasOrthonormalCols_specNorm_mul_sub_le_sqrt_two_mul: a basis that spans nearly the range of a frame is near a rotation of the frame (the three inequalities of [Shah2024], and the orthogonal Procrustes rotation with constant \sqrt2). * NLAlib.FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le, FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le_of_mul_le: the deterministic bound, with the roundings charged at the accuracy or at 1/16 of it.
The Gaussian tail is in NLAlib/Eigensolvers/RandomizedDeflation.lean.
Declarations
- NLAlib.FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le
- NLAlib.FloatMachine.IsArithAccurate.exists_hasOrthonormalCols_specNorm_mul_sub_deflate_le_of_mul_le
- NLAlib.HasOrthonormalCols.exists_hasOrthonormalCols_specNorm_mul_sub_le
- NLAlib.HasOrthonormalCols.exists_hasOrthonormalCols_specNorm_mul_sub_le_sqrt_two_mul
- NLAlib.deflate
- NLAlib.deflate_eq_submatrix
- NLAlib.exists_hasOrthonormalCols_specNorm_sub_le_of_abs_norm_mulVec_sub_le
- NLAlib.exists_hasOrthonormalCols_specNorm_sub_le_of_specNorm_conjTranspose_mul_self_sub_one_le
- NLAlib.isUnit_and_specNorm_inv_le_of_forall_mul_norm_le