NLA-lib Explorer

The Frobenius norm of a deflation by top right singular vectors

Library ยท Result group

Theorem (HasOrthonormalCols.frobNorm_sub_mul_mul_conjTranspose_sq_eq_truncatedSVD). The Frobenius norm of a deflation by top right singular vectors: for an orthonormal frame \mathbf{W} \in \Bbbk^{n \times r} with \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\sigma_0(\mathbf{A})^2, \dots, \sigma_{r-1}(\mathbf{A})^2), \|\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}\|_{\mathsf{F}}^2 = \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2\,, although \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}} need not be \llbracket\mathbf{A}\rrbracket_r under ties. No printed source.

Headline (provisional)

Lean statement and details
NLAlib.HasOrthonormalCols.frobNorm_sub_mul_mul_conjTranspose_sq_eq_truncatedSVD.{u_1, u_2, u_3}
  {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {r : โ„•}
  {A : Matrix m n ๐•œ} {W : Matrix n (Fin r) ๐•œ} (hW : HasOrthonormalCols W)
  (hAW : Aแดด * A * W = W * diagonal fun i โ†ฆ โ†‘(singularValues A โ†‘i ^ 2)) :
  frobNorm (A - A * W * Wแดด) ^ 2 = frobNorm (A - truncatedSVD A r) ^ 2

Full source on GitHub

Copy link

Other forms

Theorem (HasOrthonormalCols.singularValues_sub_mul_mul_conjTranspose). Deflating top right singular vectors shifts the singular values: for an orthonormal frame \mathbf{W} \in \Bbbk^{n \times r} with \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\sigma_0(\mathbf{A})^2, \dots, \sigma_{r-1}(\mathbf{A})^2) and every i, \sigma_i(\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}) = \sigma_{r+i}(\mathbf{A})\,. No gap is assumed: under ties \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}} need not be the chosen truncated SVD, but the deflated matrix has the same singular values. No printed source.

Lean statement and details
NLAlib.HasOrthonormalCols.singularValues_sub_mul_mul_conjTranspose.{u_1, u_2, u_3} {๐•œ : Type u_1}
  [RCLike ๐•œ] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {r : โ„•} {A : Matrix m n ๐•œ}
  {W : Matrix n (Fin r) ๐•œ} (hW : HasOrthonormalCols W)
  (hAW : Aแดด * A * W = W * diagonal fun i โ†ฆ โ†‘(singularValues A โ†‘i ^ 2)) (i : โ„•) :
  singularValues (A - A * W * Wแดด) i = singularValues A (r + i)

Full source on GitHub

Copy link

Theorem (HasOrthonormalCols.specNorm_sub_mul_mul_conjTranspose). The spectral norm of a deflation by top right singular vectors: for an orthonormal frame \mathbf{W} \in \Bbbk^{n \times r} with \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\sigma_0(\mathbf{A})^2, \dots, \sigma_{r-1}(\mathbf{A})^2), \|\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}\|_2 = \sigma_r(\mathbf{A})\,. No printed source.

Lean statement and details
NLAlib.HasOrthonormalCols.specNorm_sub_mul_mul_conjTranspose.{u_1, u_2, u_3} {๐•œ : Type u_1}
  [RCLike ๐•œ] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] {r : โ„•} {A : Matrix m n ๐•œ}
  {W : Matrix n (Fin r) ๐•œ} (hW : HasOrthonormalCols W)
  (hAW : Aแดด * A * W = W * diagonal fun i โ†ฆ โ†‘(singularValues A โ†‘i ^ 2)) :
  specNorm (A - A * W * Wแดด) = singularValues A r

Full source on GitHub

Copy link