NLAlib.HasOrthonormalCols.pinv_conjTranspose_mul_self_eq_mul_conjTranspose
Library · theorem
Every orthogonal factorization gives the same Gram pseudoinverse: if \mathbf{B}\mathbf{M} has orthonormal columns for a square \mathbf{M}, then (\mathbf{B}^{\mathsf{H}}\mathbf{B})^{+} = \mathbf{M}\mathbf{M}^{\mathsf{H}}\,. Both \mathbf{M} and \mathbf{B}^{\mathsf{H}}\mathbf{B} are then invertible. For \mathbf{B} = \mathbf{S}\mathbf{A} it covers QR's \mathbf{R}^{-1} and SVD's \mathbf{V}\mathbf{\Sigma}^{-1}, the preconditioners of sketch-and-precondition. [EpperlyMeierNakatsukasa2024, Fact 2.2]; there the consequence for \mathbf{A}\mathbf{R}^{-1}, here the Gram matrix itself.
NLAlib.HasOrthonormalCols.pinv_conjTranspose_mul_self_eq_mul_conjTranspose.{u_1, u_2, u_4}
{𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {n : Type u_4} [Fintype l] [Fintype n] [DecidableEq n]
{B : Matrix l n 𝕜} {M : Matrix n n 𝕜} (hBM : HasOrthonormalCols (B * M)) : pinv (Bᴴ * B) = M * MᴴImport NLAlib.Matrix.Pseudoinverse.Pinv.