NLA-lib Explorer

NLAlib.exists_hasOrthonormalCols_frames_range_compl

Library · theorem

Complementary frames of a column space: for \mathbf{X} \in \Bbbk^{m \times r} of rank q there are \mathbf{Q}_1 \in \Bbbk^{m \times q} and \mathbf{Q}_2 \in \Bbbk^{m \times (m - q)} with orthonormal columns, \mathbf{Q}_1^{\mathsf{H}}\mathbf{Q}_2 = \mathbf{0}, \operatorname{range}\mathbf{Q}_1 = \operatorname{range}\mathbf{X}, and \mathbf{Q}_2\mathbf{Q}_2^{\mathsf{H}} fixes every residual (\mathbf{I} - \mathbf{P}_{\mathbf{X}})\mathbf{B}. The two bases in which a sketched residual is a Gaussian or Haar block (obliqueProjector_mul_one_sub_rangeProjector_mul_eq).

NLAlib.exists_hasOrthonormalCols_frames_range_compl.{u_1, u_3, u_7, u_8} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_3} {r : Type u_7} [Fintype m] [Fintype r] [DecidableEq m] {c : Type u_8}
  (X : Matrix m r 𝕜) (B : Matrix m c 𝕜) :
  ∃ Q₁ Q₂,
    HasOrthonormalCols Q₁ ∧
      HasOrthonormalCols Q₂ ∧
        Q₁ᴴ * Q₂ = 0 ∧
          Q₁.mulVecLin.range = X.mulVecLin.range ∧
            Q₂ * (Q₂ᴴ * ((1 - rangeProjector X) * B)) = (1 - rangeProjector X) * B

Full source on GitHub

Import NLAlib.Matrix.Subspaces.ObliqueProjector.