Perturbation of the pseudoinverse in every unitarily invariant norm
Library · Result group
Theorem (SymmetricGauge.matrixNorm_pinv_sub_pinv_le).Perturbation of the pseudoinverse in every unitarily invariant norm\|\cdot\|_{\Phi}: \|\mathbf{B}^{+} - \mathbf{A}^{+}\|_{\Phi} \le \bigl(\|\mathbf{B}^{+}\|_2 \|\mathbf{A}^{+}\|_2 + \|\mathbf{B}^{+}\|_2^2 + \|\mathbf{A}^{+}\|_2^2\bigr) \|\mathbf{B} - \mathbf{A}\|_{\Phi}. [Wedin1973]; [StewartSun1990, Theorem III.3.8].
Headline (provisional)
Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_pinv_sub_pinv_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (Φ : SymmetricGauge) (A B : Matrix m n 𝕜) :
Φ.matrixNorm (pinv B - pinv A) ≤
(specNorm (pinv B) * specNorm (pinv A) + specNorm (pinv B) ^ 2 + specNorm (pinv A) ^ 2) *
Φ.matrixNorm (B - A)
Theorem (SymmetricGauge.matrixNorm_pinv_sub_pinv_le_three_mul_of_rank_eq).Perturbation of the pseudoinverse for equal ranks, every unitarily invariant norm: \|\mathbf{B}^{+} - \mathbf{A}^{+}\|_{\Phi} \le 3 \|\mathbf{A}^{+}\|_2 \|\mathbf{B}^{+}\|_2 \|\mathbf{B} - \mathbf{A}\|_{\Phi} when \operatorname{rank} \mathbf{A} = \operatorname{rank} \mathbf{B}. The constant improves to (1 + \sqrt{5})/2 in the spectral norm and to \sqrt{2} in the Frobenius norm. [Wedin1973]; [StewartSun1990, Theorem III.3.9].
Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_pinv_sub_pinv_le_three_mul_of_rank_eq.{u_1, u_2, u_3}
{𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n]
(Φ : SymmetricGauge) {A B : Matrix m n 𝕜} (h : A.rank = B.rank) :
Φ.matrixNorm (pinv B - pinv A) ≤ 3 * specNorm (pinv A) * specNorm (pinv B) * Φ.matrixNorm (B - A)
Theorem (pinv_sub_pinv).Wedin's decomposition of the difference of two pseudoinverses: \begin{aligned} \mathbf{B}^{+} - \mathbf{A}^{+} &= -\mathbf{B}^{+}(\mathbf{B} - \mathbf{A})\mathbf{A}^{+} + \mathbf{B}^{+}(\mathbf{B}^{+})^{\mathsf{H}}(\mathbf{B} - \mathbf{A})^{\mathsf{H}} (\mathbf{I} - \mathbf{A}\mathbf{A}^{+}) \\ &\quad + (\mathbf{I} - \mathbf{B}^{+}\mathbf{B})(\mathbf{B} - \mathbf{A})^{\mathsf{H}} (\mathbf{A}^{+})^{\mathsf{H}}\mathbf{A}^{+}. \end{aligned} [Wedin1973, Theorem 4.1]; [StewartSun1990, Theorem III.3.10].
Lean statement and details
NLAlib.pinv_sub_pinv.{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 B : Matrix m n 𝕜) :
pinv B - pinv A =
-(pinv B * (B - A) * pinv A) + pinv B * (pinv B)ᴴ * (B - A)ᴴ * (1 - A * pinv A) +
(1 - pinv B * B) * (B - A)ᴴ * (pinv A)ᴴ * pinv A
Theorem (specNorm_pinv_sub_pinv_le_goldenRatio_mul_max).Wedin's bound in the spectral norm, with the golden ratio: \|\mathbf{B}^{+} - \mathbf{A}^{+}\|_2 \le \frac{1 + \sqrt{5}}{2} \max\bigl(\|\mathbf{A}^{+}\|_2^2, \|\mathbf{B}^{+}\|_2^2\bigr) \|\mathbf{B} - \mathbf{A}\|_2. [Wedin1973, Theorem 4.1]; [StewartSun1990, Theorem III.3.8].
Lean statement and details
NLAlib.specNorm_pinv_sub_pinv_le_goldenRatio_mul_max.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A B : Matrix m n 𝕜) :
specNorm (pinv B - pinv A) ≤
Real.goldenRatio * max (specNorm (pinv A) ^ 2) (specNorm (pinv B) ^ 2) * specNorm (B - A)