Theorem (IsSVD.eq_pinv_mulVec_of_isMinOn).Uniqueness of restricted least squares. For a fixed split SVD whose retained singular values are positive, every residual minimizer in the retained right singular space equals the retained pseudoinverse solution. Empty retained spaces are included. [FesslerNadakuditi2024, §§5.6.1–5.6.4].
Headline (provisional)
Lean statement and details
NLAlib.IsSVD.eq_pinv_mulVec_of_isMinOn.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} {r : Type u_4} {s : Type u_5} [Fintype m] [Fintype n] [Fintype r]
[Fintype s] [DecidableEq r] [DecidableEq s] {A : Matrix m n 𝕜} {U₁ : Matrix m r 𝕜}
{U₂ : Matrix m s 𝕜} {V₁ : Matrix n r 𝕜} {V₂ : Matrix n s 𝕜} {σ₁ : r → ℝ} {σ₂ : s → ℝ}
(h : IsSVD A (U₁.fromCols U₂) (σ₁ ⊕ᵥ σ₂) (V₁.fromCols V₂)) (hσ : ∀ (i : r), 0 < σ₁ i) (b : m → 𝕜)
{x : n → 𝕜} (hx : x ∈ V₁.mulVecLin.range)
(hmin : IsMinOn (fun y ↦ ‖WithLp.toLp 2 (b - A *ᵥ y)‖) (↑V₁.mulVecLin.range) x) :
x = pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *ᵥ b
Theorem (IsSVD.isMinOn_norm_sub_mulVec_pinv_mulVec).Truncated-SVD regularization. For a fixed SVD split into retained and discarded blocks, with positive retained singular values, the retained pseudoinverse minimizes \|\mathbf{b}-\mathbf{A}\mathbf{x}\| on the range of the retained right factor \mathbf{V}_1. The retained block may be empty and need not be leading or sorted. [FesslerNadakuditi2024, §§5.6.1–5.6.4]; here for arbitrary retained positive coordinates.
Lean statement and details
NLAlib.IsSVD.isMinOn_norm_sub_mulVec_pinv_mulVec.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} {r : Type u_4} {s : Type u_5} [Fintype m] [Fintype n] [Fintype r]
[Fintype s] [DecidableEq r] [DecidableEq s] {A : Matrix m n 𝕜} {U₁ : Matrix m r 𝕜}
{U₂ : Matrix m s 𝕜} {V₁ : Matrix n r 𝕜} {V₂ : Matrix n s 𝕜} {σ₁ : r → ℝ} {σ₂ : s → ℝ}
(h : IsSVD A (U₁.fromCols U₂) (σ₁ ⊕ᵥ σ₂) (V₁.fromCols V₂)) (hσ : ∀ (i : r), 0 < σ₁ i)
(b : m → 𝕜) :
IsMinOn (fun x ↦ ‖WithLp.toLp 2 (b - A *ᵥ x)‖) (↑V₁.mulVecLin.range)
(pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *ᵥ b)
Theorem (IsSVD.norm_sub_pinv_mulVec_sq).Orthogonal bias and noise. For a fixed split SVD with positive retained singular values, put \mathbf{B}=\mathbf{U}_1\mathbf{\Sigma}_1\mathbf{V}_1^{\mathsf{H}}. For arbitrary data \mathbf{A}\mathbf{x}+\mathbf{e}, \|\mathbf{x}-\mathbf{B}^{+}(\mathbf{A}\mathbf{x}+\mathbf{e})\|^2 = \|(\mathbf{I}-\mathbf{V}_1\mathbf{V}_1^{\mathsf{H}})\mathbf{x}\|^2+ \|\mathbf{B}^{+}\mathbf{e}\|^2. The retained block may be empty or unsorted. [FesslerNadakuditi2024, (5.42)]; the squared identity follows from orthogonality.
Lean statement and details
NLAlib.IsSVD.norm_sub_pinv_mulVec_sq.{u_1, u_2, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} {r : Type u_4} {s : Type u_5} [Fintype m] [Fintype n] [Fintype r]
[Fintype s] [DecidableEq r] [DecidableEq s] {A : Matrix m n 𝕜} {U₁ : Matrix m r 𝕜}
{U₂ : Matrix m s 𝕜} {V₁ : Matrix n r 𝕜} {V₂ : Matrix n s 𝕜} {σ₁ : r → ℝ} {σ₂ : s → ℝ}
[DecidableEq n] (h : IsSVD A (U₁.fromCols U₂) (σ₁ ⊕ᵥ σ₂) (V₁.fromCols V₂))
(hσ : ∀ (i : r), 0 < σ₁ i) (x : n → 𝕜) (e : m → 𝕜) :
‖WithLp.toLp 2 (x - pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *ᵥ (A *ᵥ x + e))‖ ^ 2 =
‖WithLp.toLp 2 ((1 - V₁ * V₁ᴴ) *ᵥ x)‖ ^ 2 +
‖WithLp.toLp 2 (pinv ((U₁ * diagonal fun i ↦ ↑(σ₁ i)) * V₁ᴴ) *ᵥ e)‖ ^ 2
Theorem (IsSVD.norm_sub_pinv_mulVec_sq_le_of_fromCols).Deterministic TSVD error bound. For a fixed SVD retaining its leading k+1 positive singular values and \mathbf{B}=\mathbf{U}_1\mathbf{\Sigma}_1\mathbf{V}_1^{\mathsf{H}}, \|\mathbf{x}-\mathbf{B}^{+}(\mathbf{A}\mathbf{x}+\mathbf{e})\|^2 \le \|(\mathbf{I}-\mathbf{V}_1\mathbf{V}_1^{\mathsf{H}})\mathbf{x}\|^2+ \frac{\|\mathbf{e}\|^2}{\sigma_k(\mathbf{A})^2}. Singular values are indexed from zero and ties are allowed. [FesslerNadakuditi2024, (5.42)–(5.43)]; orthogonality yields the squared form.
Lean statement and details
NLAlib.IsSVD.norm_sub_pinv_mulVec_sq_le_of_fromCols.{u_1, u_2, u_3, u_5} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} {s : Type u_5} [Fintype m] [Fintype n] [Fintype s] [DecidableEq s]
{k : ℕ} {A : Matrix m n 𝕜} {U₁ : Matrix m (Fin (k + 1)) 𝕜} {U₂ : Matrix m s 𝕜}
{V₁ : Matrix n (Fin (k + 1)) 𝕜} {V₂ : Matrix n s 𝕜} {σ₂ : s → ℝ} [DecidableEq n]
(h : IsSVD A (U₁.fromCols U₂) ((fun i ↦ singularValues A ↑i) ⊕ᵥ σ₂) (V₁.fromCols V₂))
(hk : k + 1 ≤ A.rank) (x : n → 𝕜) (e : m → 𝕜) :
‖WithLp.toLp 2
(x - pinv ((U₁ * diagonal fun i ↦ ↑(singularValues A ↑i)) * V₁ᴴ) *ᵥ (A *ᵥ x + e))‖ ^
2 ≤
‖WithLp.toLp 2 ((1 - V₁ * V₁ᴴ) *ᵥ x)‖ ^ 2 + ‖WithLp.toLp 2 e‖ ^ 2 / singularValues A k ^ 2
Theorem (IsSVD.specNorm_pinv_of_fromCols).The retained inverse norm. If the first block of a fixed SVD consists of the leading k+1 positive singular values, its pseudoinverse has norm \sigma_k(\mathbf{A})^{-1}, with singular values indexed from zero. Ties at the cutoff are allowed. [FesslerNadakuditi2024, (5.43)].
Lean statement and details
NLAlib.IsSVD.specNorm_pinv_of_fromCols.{u_1, u_2, u_3, u_5} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
{n : Type u_3} {s : Type u_5} [Fintype m] [Fintype n] [Fintype s] [DecidableEq s] {k : ℕ}
{A : Matrix m n 𝕜} {U₁ : Matrix m (Fin (k + 1)) 𝕜} {U₂ : Matrix m s 𝕜}
{V₁ : Matrix n (Fin (k + 1)) 𝕜} {V₂ : Matrix n s 𝕜} {σ₂ : s → ℝ}
(h : IsSVD A (U₁.fromCols U₂) ((fun i ↦ singularValues A ↑i) ⊕ᵥ σ₂) (V₁.fromCols V₂))
(hk : k + 1 ≤ A.rank) :
specNorm (pinv ((U₁ * diagonal fun i ↦ ↑(singularValues A ↑i)) * V₁ᴴ)) = (singularValues A k)⁻¹
Theorem (eq_pinv_truncatedSVD_mulVec_of_isMinOn).Canonical TSVD uniqueness. At every cutoff, every residual minimizer in the row space of \llbracket\mathbf{A}\rrbracket_k is its pseudoinverse solution. At zero cutoff or zero rank this space is zero, so uniqueness is retained. [FesslerNadakuditi2024, §§5.6.1–5.6.4].
Lean statement and details
NLAlib.eq_pinv_truncatedSVD_mulVec_of_isMinOn.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A : Matrix m n 𝕜) (k : ℕ) (b : m → 𝕜)
{x : n → 𝕜} (hx : x ∈ (truncatedSVD A k)ᴴ.mulVecLin.range)
(hmin : IsMinOn (fun y ↦ ‖WithLp.toLp 2 (b - A *ᵥ y)‖) (↑(truncatedSVD A k)ᴴ.mulVecLin.range) x) :
x = pinv (truncatedSVD A k) *ᵥ b
Theorem (isMinOn_norm_sub_mulVec_pinv_truncatedSVD_mulVec).Canonical TSVD restricted least squares. At every cutoff k, the pseudoinverse of \llbracket\mathbf{A}\rrbracket_k minimizes the original residual on the row space of that truncation. Zero cutoff, zero rank and empty matrix dimensions are included. [FesslerNadakuditi2024, §§5.6.1–5.6.4].
Lean statement and details
NLAlib.isMinOn_norm_sub_mulVec_pinv_truncatedSVD_mulVec.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] (A : Matrix m n 𝕜) (k : ℕ) (b : m → 𝕜) :
IsMinOn (fun x ↦ ‖WithLp.toLp 2 (b - A *ᵥ x)‖) (↑(truncatedSVD A k)ᴴ.mulVecLin.range)
(pinv (truncatedSVD A k) *ᵥ b)
Theorem (norm_sub_pinv_truncatedSVD_mulVec_sq).Canonical TSVD bias and noise. At every cutoff, put \mathbf{B}=\llbracket\mathbf{A}\rrbracket_k. For any signal and noise, \|\mathbf{x}-\mathbf{B}^{+}(\mathbf{A}\mathbf{x}+\mathbf{e})\|^2 = \|(\mathbf{I}-\mathbf{P}_{\mathbf{B}^{\mathsf{H}}})\mathbf{x}\|^2+ \|\mathbf{B}^{+}\mathbf{e}\|^2. Zero rank, zero cutoff and empty dimensions are included. [FesslerNadakuditi2024, (5.42)]; orthogonality yields the exact squared form.
Lean statement and details
NLAlib.norm_sub_pinv_truncatedSVD_mulVec_sq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
{n : Type u_3} [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n 𝕜) (k : ℕ) (x : n → 𝕜)
(e : m → 𝕜) :
‖WithLp.toLp 2 (x - pinv (truncatedSVD A k) *ᵥ (A *ᵥ x + e))‖ ^ 2 =
‖WithLp.toLp 2 ((1 - rangeProjector (truncatedSVD A k)ᴴ) *ᵥ x)‖ ^ 2 +
‖WithLp.toLp 2 (pinv (truncatedSVD A k) *ᵥ e)‖ ^ 2
Theorem (norm_sub_pinv_truncatedSVD_mulVec_sq_le).Canonical deterministic TSVD error bound. For k+1\le\operatorname{rank}\mathbf{A}, put \mathbf{B}=\llbracket\mathbf{A}\rrbracket_{k+1}. Then \|\mathbf{x}-\mathbf{B}^{+}(\mathbf{A}\mathbf{x}+\mathbf{e})\|^2 \le \|(\mathbf{I}-\mathbf{P}_{\mathbf{B}^{\mathsf{H}}})\mathbf{x}\|^2+ \frac{\|\mathbf{e}\|^2}{\sigma_k(\mathbf{A})^2}. Singular values are indexed from zero and ties at the cutoff are allowed. [FesslerNadakuditi2024, (5.42)–(5.43)]; orthogonality gives the squared form.
Lean statement and details
NLAlib.norm_sub_pinv_truncatedSVD_mulVec_sq_le.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{m : Type u_2} {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq n] (A : Matrix m n 𝕜) {k : ℕ}
(hk : k + 1 ≤ A.rank) (x : n → 𝕜) (e : m → 𝕜) :
‖WithLp.toLp 2 (x - pinv (truncatedSVD A (k + 1)) *ᵥ (A *ᵥ x + e))‖ ^ 2 ≤
‖WithLp.toLp 2 ((1 - rangeProjector (truncatedSVD A (k + 1))ᴴ) *ᵥ x)‖ ^ 2 +
‖WithLp.toLp 2 e‖ ^ 2 / singularValues A k ^ 2