NLA-lib Explorer

Wedin's theorem with the gap of the unperturbed matrix

Library · Result group

Theorem (HasOrthonormalCols.max_specNorm_one_sub_mul_le_two_mul_specNorm_div_singularGap). Wedin's theorem with the gap of the unperturbed matrix, spectral norm: for frames \mathbf{U}, \mathbf{V} of left and right singular vectors of \mathbf{A} for its j + 1 largest singular values, \mathbf{U}', \mathbf{V}' the same for \mathbf{A} + \mathbf{E}, all with orthonormal columns, and \sigma_j(\mathbf{A}) > \sigma_{j+1}(\mathbf{A}), \max\bigl(\|(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{U}'\|_2, \|(\mathbf{I} - \mathbf{V}\mathbf{V}^{\mathsf{H}})\mathbf{V}'\|_2\bigr) \le \frac{2 \|\mathbf{E}\|_2}{\sigma_j(\mathbf{A}) - \sigma_{j+1}(\mathbf{A})}.

Headline (provisional)

Lean statement and details
NLAlib.HasOrthonormalCols.max_specNorm_one_sub_mul_le_two_mul_specNorm_div_singularGap.{u_1, u_2,
    u_3}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m]
  [DecidableEq n] {A E : Matrix m n 𝕜} {j : ℕ} {U U' : Matrix m (Fin (j + 1)) 𝕜}
  {V V' : Matrix n (Fin (j + 1)) 𝕜} (hU : HasOrthonormalCols U) (hV : HasOrthonormalCols V)
  (hU' : HasOrthonormalCols U') (hV' : HasOrthonormalCols V')
  (hAV : A * V = U * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAU : Aᴴ * U = V * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAV' : (A + E) * V' = U' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i))
  (hAU' : (A + E)ᴴ * U' = V' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i))
  (hgap : 0 < singularGap A (j + 1)) :
  max (specNorm ((1 - U * Uᴴ) * U')) (specNorm ((1 - V * Vᴴ) * V')) ≤
    2 * specNorm E / singularGap A (j + 1)

Full source on GitHub

Copy link

Other forms

Theorem (HasOrthonormalCols.sq_mul_frobNorm_one_sub_mul_sq_add_le_of_singularValues_sub). Wedin's theorem in the Frobenius norm: for frames \mathbf{U}, \mathbf{V} of left and right singular vectors of \mathbf{A} for its j + 1 largest singular values, \mathbf{U}', \mathbf{V}' the same for \mathbf{A} + \mathbf{E}, and 0 \le \delta \le \sigma_j(\mathbf{A} + \mathbf{E}) - \sigma_{j+1}(\mathbf{A}), \begin{aligned} &\delta^2 \bigl(\|(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{U}'\|_{\mathsf{F}}^2 + \|(\mathbf{I} - \mathbf{V}\mathbf{V}^{\mathsf{H}})\mathbf{V}'\|_{\mathsf{F}}^2\bigr) \\ &\quad \le \|\mathbf{E}\mathbf{V}'\|_{\mathsf{F}}^2 + \|\mathbf{E}^{\mathsf{H}}\mathbf{U}'\|_{\mathsf{F}}^2. \end{aligned} [Wedin1972]; [StewartSun1990, Theorem V.4.1].

Lean statement and details
NLAlib.HasOrthonormalCols.sq_mul_frobNorm_one_sub_mul_sq_add_le_of_singularValues_sub.{u_1, u_2,
    u_3}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m]
  [DecidableEq n] {A E : Matrix m n 𝕜} {j : ℕ} {U U' : Matrix m (Fin (j + 1)) 𝕜}
  {V V' : Matrix n (Fin (j + 1)) 𝕜} (hU : HasOrthonormalCols U) (hV : HasOrthonormalCols V)
  (hAV : A * V = U * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAU : Aᴴ * U = V * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAV' : (A + E) * V' = U' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i))
  (hAU' : (A + E)ᴴ * U' = V' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i)) {δ : ℝ} (hδ₀ : 0 ≤ δ)
  (hδ : δ ≤ singularValues (A + E) j - singularValues A (j + 1)) :
  δ ^ 2 * (frobNorm ((1 - U * Uᴴ) * U') ^ 2 + frobNorm ((1 - V * Vᴴ) * V') ^ 2) ≤
    frobNorm (E * V') ^ 2 + frobNorm (Eᴴ * U') ^ 2

Full source on GitHub

Copy link

Theorem (HasOrthonormalCols.sub_sq_mul_frobNorm_one_sub_mul_sq_add_le). Wedin's \sin \Theta theorem, residual form, Frobenius norm. Let \mathbf{U}, \mathbf{V} be frames of left and right singular vectors of \mathbf{A} for its j + 1 largest singular values. For any triple (\mathbf{U}', \mathbf{V}', \mathbf{S}) with \mathbf{S} bounded below by \alpha \ge \sigma_{j+1}(\mathbf{A}) (\alpha^2 \mathbf{I} \preceq \mathbf{S}^{\mathsf{H}}\mathbf{S}), \begin{aligned} &(\alpha - \sigma_{j+1}(\mathbf{A}))^2 \bigl(\|(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{U}'\|_{\mathsf{F}}^2 + \|(\mathbf{I} - \mathbf{V}\mathbf{V}^{\mathsf{H}})\mathbf{V}'\|_{\mathsf{F}}^2\bigr) \\ &\quad \le \|\mathbf{A}\mathbf{V}' - \mathbf{U}'\mathbf{S}\|_{\mathsf{F}}^2 + \|\mathbf{A}^{\mathsf{H}}\mathbf{U}' - \mathbf{V}'\mathbf{S}^{\mathsf{H}}\|_{\mathsf{F}}^2. \end{aligned} [Wedin1972]; [StewartSun1990, Theorem V.4.1].

Lean statement and details
NLAlib.HasOrthonormalCols.sub_sq_mul_frobNorm_one_sub_mul_sq_add_le.{u_1, u_2, u_3, u_4}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n]
  [Fintype p] [DecidableEq m] [DecidableEq n] [DecidableEq p] {A : Matrix m n 𝕜} {j : ℕ}
  {U : Matrix m (Fin (j + 1)) 𝕜} {V : Matrix n (Fin (j + 1)) 𝕜} (hU : HasOrthonormalCols U)
  (hV : HasOrthonormalCols V) (hAV : A * V = U * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAU : Aᴴ * U = V * diagonal fun i ↦ ↑(singularValues A ↑i)) {S : Matrix p p 𝕜} {α : ℝ}
  (hα : singularValues A (j + 1) ≤ α) (hS : α ^ 2 • 1 ≤ Sᴴ * S) (U' : Matrix m p 𝕜)
  (V' : Matrix n p 𝕜) :
  (α - singularValues A (j + 1)) ^ 2 *
      (frobNorm ((1 - U * Uᴴ) * U') ^ 2 + frobNorm ((1 - V * Vᴴ) * V') ^ 2) ≤
    frobNorm (A * V' - U' * S) ^ 2 + frobNorm (Aᴴ * U' - V' * Sᴴ) ^ 2

Full source on GitHub

Copy link

Theorem (SymmetricGauge.mul_max_matrixNorm_one_sub_mul_le_of_singularValues_sub). Wedin's \sin \Theta theorem. Let \mathbf{U}, \mathbf{V} be frames of left and right singular vectors of \mathbf{A} for its j + 1 largest singular values, and \mathbf{U}', \mathbf{V}' the same for \mathbf{A} + \mathbf{E}. If \delta \le \sigma_j(\mathbf{A} + \mathbf{E}) - \sigma_{j+1}(\mathbf{A}), then in every unitarily invariant norm \|\cdot\|_{\Phi} \begin{aligned} &\delta \max\bigl(\|(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{U}'\|_{\Phi}, \|(\mathbf{I} - \mathbf{V}\mathbf{V}^{\mathsf{H}})\mathbf{V}'\|_{\Phi}\bigr) \\ &\quad \le \max\bigl(\|\mathbf{E}\mathbf{V}'\|_{\Phi}, \|\mathbf{E}^{\mathsf{H}}\mathbf{U}'\|_{\Phi}\bigr). \end{aligned} [Wedin1972]; [StewartSun1990, Theorem V.4.1].

Lean statement and details
NLAlib.SymmetricGauge.mul_max_matrixNorm_one_sub_mul_le_of_singularValues_sub.{u_1, u_2, u_3}
  {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m]
  [DecidableEq n] (Φ : SymmetricGauge) {A E : Matrix m n 𝕜} {j : ℕ}
  {U U' : Matrix m (Fin (j + 1)) 𝕜} {V V' : Matrix n (Fin (j + 1)) 𝕜} (hU : HasOrthonormalCols U)
  (hV : HasOrthonormalCols V) (hAV : A * V = U * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAU : Aᴴ * U = V * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAV' : (A + E) * V' = U' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i))
  (hAU' : (A + E)ᴴ * U' = V' * diagonal fun i ↦ ↑(singularValues (A + E) ↑i)) {δ : ℝ}
  (hδ : δ ≤ singularValues (A + E) j - singularValues A (j + 1)) :
  δ * max (Φ.matrixNorm ((1 - U * Uᴴ) * U')) (Φ.matrixNorm ((1 - V * Vᴴ) * V')) ≤
    max (Φ.matrixNorm (E * V')) (Φ.matrixNorm (Eᴴ * U'))

Full source on GitHub

Copy link

Theorem (SymmetricGauge.sub_mul_max_matrixNorm_one_sub_mul_le_max). Wedin's \sin \Theta theorem, residual form. Let \mathbf{U}, \mathbf{V} be frames of left and right singular vectors of \mathbf{A} for its j + 1 largest singular values. For any triple (\mathbf{U}', \mathbf{V}', \mathbf{S}) with \mathbf{S} bounded below by \alpha (\alpha^2 \mathbf{I} \preceq \mathbf{S}^{\mathsf{H}}\mathbf{S}), in every unitarily invariant norm \|\cdot\|_{\Phi} \begin{aligned} &(\alpha - \sigma_{j+1}(\mathbf{A})) \max\bigl(\|(\mathbf{I} - \mathbf{U}\mathbf{U}^{\mathsf{H}})\mathbf{U}'\|_{\Phi}, \|(\mathbf{I} - \mathbf{V}\mathbf{V}^{\mathsf{H}})\mathbf{V}'\|_{\Phi}\bigr) \\ &\quad \le \max\bigl(\|\mathbf{A}\mathbf{V}' - \mathbf{U}'\mathbf{S}\|_{\Phi}, \|\mathbf{A}^{\mathsf{H}}\mathbf{U}' - \mathbf{V}'\mathbf{S}^{\mathsf{H}}\|_{\Phi}\bigr). \end{aligned} [Wedin1972]; [StewartSun1990, Theorem V.4.1].

Lean statement and details
NLAlib.SymmetricGauge.sub_mul_max_matrixNorm_one_sub_mul_le_max.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1}
  [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p]
  [DecidableEq m] [DecidableEq n] [DecidableEq p] (Φ : SymmetricGauge) {A : Matrix m n 𝕜} {j : ℕ}
  {U : Matrix m (Fin (j + 1)) 𝕜} {V : Matrix n (Fin (j + 1)) 𝕜} (hU : HasOrthonormalCols U)
  (hV : HasOrthonormalCols V) (hAV : A * V = U * diagonal fun i ↦ ↑(singularValues A ↑i))
  (hAU : Aᴴ * U = V * diagonal fun i ↦ ↑(singularValues A ↑i)) {S : Matrix p p 𝕜} {α : ℝ}
  (hS : α ^ 2 • 1 ≤ Sᴴ * S) (U' : Matrix m p 𝕜) (V' : Matrix n p 𝕜) :
  (α - singularValues A (j + 1)) *
      max (Φ.matrixNorm ((1 - U * Uᴴ) * U')) (Φ.matrixNorm ((1 - V * Vᴴ) * V')) ≤
    max (Φ.matrixNorm (A * V' - U' * S)) (Φ.matrixNorm (Aᴴ * U' - V' * Sᴴ))

Full source on GitHub

Copy link