Theorem (HasOrthonormalCols.frobNorm_sub_rsvd_cfc_sq_le).The filtered structural bound, Frobenius form: for a real function g, an orthonormal frame \mathbf{W} invariant under \mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\mathbf{d}), with \lvert g(\mathbf{d}_i) \rvert \ge c > 0 for every i, and an orthonormal frame \mathbf{Z} whose range contains that of \mathbf{W} and with \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank, \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, g(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{\Omega})\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}\|_{\mathsf{F}}^2 + c^{-2}\|\mathbf{M}\|_{\mathsf{F}}^2\,, with \mathbf{B} = \mathbf{A}g(\mathbf{A}^{\mathsf{H}}\mathbf{A}) and the sketch residual \mathbf{M} = (\mathbf{B} - \mathbf{B}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{\Omega} (\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}. The Gram form, in every unitarily invariant norm, is NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_cfc_le. [TroppWebber2023, Lemma 9.5], at p = 2.
Headline (provisional)
Lean statement and details
NLAlib.HasOrthonormalCols.frobNorm_sub_rsvd_cfc_sq_le.{u_1, u_2, u_3, u_4, u_5, u_6} {𝕜 : Type u_1}
[RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5} {s : Type u_6} [Fintype l]
[Fintype m] [Fintype n] [Fintype r] [Fintype s] [DecidableEq n] [DecidableEq r] [DecidableEq s]
{A : Matrix m n 𝕜} {Ω : Matrix n l 𝕜} (g : ℝ → ℝ) {W : Matrix n r 𝕜} (hW : HasOrthonormalCols W)
{d : r → ℝ} (hAW : Aᴴ * A * W = W * diagonal fun i ↦ ↑(d i)) {Z : Matrix n s 𝕜}
(hZ : HasOrthonormalCols Z) (hΩ : (Ωᴴ * Z).rank = Z.rank)
(hWZ : W.mulVecLin.range ≤ Z.mulVecLin.range) {c : ℝ} (hc : 0 < c)
(hg : ∀ (i : r), c ≤ |g (d i)|) :
frobNorm (A - rsvd A (cfc g (Aᴴ * A) * Ω)) ^ 2 ≤
frobNorm (A - A * W * Wᴴ) ^ 2 +
c⁻¹ ^ 2 *
frobNorm ((A * cfc g (Aᴴ * A) - A * cfc g (Aᴴ * A) * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)) ^ 2
Theorem (HasOrthonormalCols.specNorm_sub_rsvd_cfc_sq_le).The filtered structural bound, spectral form: for a real function g, an orthonormal frame \mathbf{W} invariant under \mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\mathbf{d}), with \lvert g(\mathbf{d}_i) \rvert \ge c > 0 for every i, and an orthonormal frame \mathbf{Z} whose range contains that of \mathbf{W} and with \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank, \|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, g(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{\Omega})\|_2^2 \le \|\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}}\|_2^2 + c^{-2}\|\mathbf{M}\|_2^2\,, with \mathbf{B} = \mathbf{A}g(\mathbf{A}^{\mathsf{H}}\mathbf{A}) and the sketch residual \mathbf{M} = (\mathbf{B} - \mathbf{B}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{\Omega} (\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}. The Gram form, in every unitarily invariant norm, is NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_cfc_le. [TroppWebber2023, Lemma 9.5], at p = \infty.
Lean statement and details
NLAlib.HasOrthonormalCols.specNorm_sub_rsvd_cfc_sq_le.{u_1, u_2, u_3, u_4, u_5, u_6} {𝕜 : Type u_1}
[RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5} {s : Type u_6} [Fintype l]
[Fintype m] [Fintype n] [Fintype r] [Fintype s] [DecidableEq n] [DecidableEq r] [DecidableEq s]
{A : Matrix m n 𝕜} {Ω : Matrix n l 𝕜} (g : ℝ → ℝ) {W : Matrix n r 𝕜} (hW : HasOrthonormalCols W)
{d : r → ℝ} (hAW : Aᴴ * A * W = W * diagonal fun i ↦ ↑(d i)) {Z : Matrix n s 𝕜}
(hZ : HasOrthonormalCols Z) (hΩ : (Ωᴴ * Z).rank = Z.rank)
(hWZ : W.mulVecLin.range ≤ Z.mulVecLin.range) {c : ℝ} (hc : 0 < c)
(hg : ∀ (i : r), c ≤ |g (d i)|) :
specNorm (A - rsvd A (cfc g (Aᴴ * A) * Ω)) ^ 2 ≤
specNorm (A - A * W * Wᴴ) ^ 2 +
c⁻¹ ^ 2 *
specNorm ((A * cfc g (Aᴴ * A) - A * cfc g (Aᴴ * A) * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)) ^ 2
Theorem (SymmetricGauge.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_aeval_le_of_hasLaw_gaussianMatrix).The filtered range finder in expectation, Gram form: for a standard Gaussian n \times \ell test matrix \mathbf{X}, a real polynomial f and c > 0 with c \le \lvert f(\sigma_i(\mathbf{A})^2) \rvert for i < r and \lvert f \rvert \le a on [0, \sigma_t(\mathbf{A})^2], r \le t, t + 2 \le \ell and every unitarily invariant norm, \mathbb{E}\bigl\|\mathbf{E}_f^{\mathsf{H}}\mathbf{E}_f\bigr\|_{\Phi} \le \bigl\|(\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r)^{\mathsf{H}} (\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r)\bigr\|_{\Phi} + \Phi(\mathbf{e}_0)\Bigl(\frac{a}{c}\Bigr)^2\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,, with \mathbf{E}_f = \mathbf{A} - \mathsf{rsvd}(\mathbf{A}, f(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{X}) and \Phi(\mathbf{e}_0) = 1 for every Schatten gauge. At f = 1, r = t it is the Gram-form bound of the randomized SVD in NLAlib.LowRank.Gaussian.RangeFinder. [TroppWebber2023, Lemma 9.5]; there for a diagonal positive semidefinite matrix and Schatten p \ge 2, with \lvert f \rvert \ge c on the head written through a filter \varphi and indices from 1 (\sigma_s for our \sigma_t); here every quadratic gauge and any matrix.
General form: sizes are index types
Lean statement and details
NLAlib.SymmetricGauge.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_aeval_le_of_hasLaw_gaussianMatrix.{u_1,
u_2, u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(Φ : SymmetricGauge) (A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) (f : Polynomial ℝ)
{r t : ℕ} (hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) {c a : ℝ} (hc : 0 < c)
(hhead : ∀ i < r, c ≤ |Polynomial.eval (singularValues A i ^ 2) f|)
(htail : ∀ x ∈ Set.Icc 0 (singularValues A t ^ 2), |Polynomial.eval x f| ≤ a) :
∫ (ω : Ω),
Φ.matrixNorm
((A - rsvd A ((Polynomial.aeval (Aᴴ * A)) f * X ω))ᴴ *
(A - rsvd A ((Polynomial.aeval (Aᴴ * A)) f * X ω))) ∂μ ≤
Φ.matrixNorm ((A - truncatedSVD A r)ᴴ * (A - truncatedSVD A r)) +
Φ (Finsupp.single 0 1) * (a / c) ^ 2 * (↑t / (↑(Fintype.card l) - ↑t - 1)) *
frobNorm (A - truncatedSVD A t) ^ 2
Theorem (SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_cfc_le).The filtered structural bound, Gram form: for a real function g, an orthonormal frame \mathbf{W} invariant under \mathbf{A}^{\mathsf{H}}\mathbf{A}, \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{W} = \mathbf{W}\operatorname{diag}(\mathbf{d}), with \lvert g(\mathbf{d}_i) \rvert \ge c > 0 for every i, and an orthonormal frame \mathbf{Z} whose range contains that of \mathbf{W} and with \mathbf{Z}^{\mathsf{H}}\mathbf{\Omega} of full row rank, in every unitarily invariant norm \|\cdot\|_{\Phi}, \bigl\|\mathbf{E}_g^{\mathsf{H}}\mathbf{E}_g\bigr\|_{\Phi} \le \bigl\|(\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}})^{\mathsf{H}} (\mathbf{A} - \mathbf{A}\mathbf{W}\mathbf{W}^{\mathsf{H}})\bigr\|_{\Phi} + c^{-2}\,\|\mathbf{M}^{\mathsf{H}}\mathbf{M}\|_{\Phi}\,, with \mathbf{E}_g = \mathbf{A} - \mathsf{rsvd}(\mathbf{A}, g(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{\Omega}), \mathbf{B} = \mathbf{A}g(\mathbf{A}^{\mathsf{H}}\mathbf{A}) and \mathbf{M} = (\mathbf{B} - \mathbf{B}\mathbf{Z}\mathbf{Z}^{\mathsf{H}})\mathbf{\Omega} (\mathbf{Z}^{\mathsf{H}}\mathbf{\Omega})^{+}: a bound on every quadratic unitarily invariant norm, squared Schatten norms \|\cdot\|_{S_p}^2 for p \ge 2 included. At g = 1 and \mathbf{W} = \mathbf{Z} it is the structural bound of the range finder (NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_le). [TroppWebber2023, Lemma 9.5]; there for a diagonal positive semidefinite matrix, the top frames and Schatten norms, with \|\mathbf{A}_3\varphi(\mathbf{A}_3)\|_p in the printed statement where the proof (and Theorem 9.2) uses the Frobenius norm; here any matrix and frames, and the Gram form of the proof.
Lean statement and details
NLAlib.SymmetricGauge.matrixNorm_conjTranspose_mul_self_sub_rsvd_cfc_le.{u_1, u_2, u_3, u_4, u_5,
u_6}
{𝕜 : Type u_1} [RCLike 𝕜] {l : Type u_2} {m : Type u_3} {n : Type u_4} {r : Type u_5}
{s : Type u_6} [Fintype l] [Fintype m] [Fintype n] [Fintype r] [Fintype s] [DecidableEq n]
[DecidableEq r] [DecidableEq s] (Φ : SymmetricGauge) {A : Matrix m n 𝕜} {Ω : Matrix n l 𝕜}
(g : ℝ → ℝ) {W : Matrix n r 𝕜} (hW : HasOrthonormalCols W) {d : r → ℝ}
(hAW : Aᴴ * A * W = W * diagonal fun i ↦ ↑(d i)) {Z : Matrix n s 𝕜} (hZ : HasOrthonormalCols Z)
(hΩ : (Ωᴴ * Z).rank = Z.rank) (hWZ : W.mulVecLin.range ≤ Z.mulVecLin.range) {c : ℝ} (hc : 0 < c)
(hg : ∀ (i : r), c ≤ |g (d i)|) :
Φ.matrixNorm ((A - rsvd A (cfc g (Aᴴ * A) * Ω))ᴴ * (A - rsvd A (cfc g (Aᴴ * A) * Ω))) ≤
Φ.matrixNorm ((A - A * W * Wᴴ)ᴴ * (A - A * W * Wᴴ)) +
c⁻¹ ^ 2 *
Φ.matrixNorm
(((A * cfc g (Aᴴ * A) - A * cfc g (Aᴴ * A) * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω))ᴴ *
((A * cfc g (Aᴴ * A) - A * cfc g (Aᴴ * A) * Z * Zᴴ) * Ω * pinv (Zᴴ * Ω)))
Theorem (integral_frobNorm_sub_rsvd_aeval_sq_le_of_hasLaw_gaussianMatrix).The filtered range finder in expectation, Frobenius norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, a real polynomial f and c > 0 with c \le \lvert f(\sigma_i(\mathbf{A})^2) \rvert for i < r and \lvert f \rvert \le a on [0, \sigma_t(\mathbf{A})^2], r \le t and t + 2 \le \ell, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, f(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{X})\|_{\mathsf{F}}^2 \le \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_r\|_{\mathsf{F}}^2 + \Bigl(\frac{a}{c}\Bigr)^2\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. The Gram form, in every unitarily invariant norm, is NLAlib.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_aeval_le_of_hasLaw_gaussianMatrix. [TroppWebber2023, Lemma 9.5], at p = 2.
General form: sizes are index types
Lean statement and details
NLAlib.integral_frobNorm_sub_rsvd_aeval_sq_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) (f : Polynomial ℝ) {r t : ℕ}
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) {c a : ℝ} (hc : 0 < c)
(hhead : ∀ i < r, c ≤ |Polynomial.eval (singularValues A i ^ 2) f|)
(htail : ∀ x ∈ Set.Icc 0 (singularValues A t ^ 2), |Polynomial.eval x f| ≤ a) :
∫ (ω : Ω), frobNorm (A - rsvd A ((Polynomial.aeval (Aᴴ * A)) f * X ω)) ^ 2 ∂μ ≤
frobNorm (A - truncatedSVD A r) ^ 2 +
(a / c) ^ 2 * (↑t / (↑(Fintype.card l) - ↑t - 1)) * frobNorm (A - truncatedSVD A t) ^ 2
Theorem (integral_specNorm_sub_rsvd_aeval_sq_le_of_hasLaw_gaussianMatrix).The filtered range finder in expectation, spectral norm: for a standard Gaussian n \times \ell test matrix \mathbf{X}, a real polynomial f and c > 0 with c \le \lvert f(\sigma_i(\mathbf{A})^2) \rvert for i < r and \lvert f \rvert \le a on [0, \sigma_t(\mathbf{A})^2], r \le t and t + 2 \le \ell, \mathbb{E}\|\mathbf{A} - \mathsf{rsvd}(\mathbf{A}, f(\mathbf{A}^{\mathsf{H}}\mathbf{A})\mathbf{X})\|_2^2 \le \sigma_r(\mathbf{A})^2 + \Bigl(\frac{a}{c}\Bigr)^2\frac{t}{\ell - t - 1} \|\mathbf{A} - \llbracket\mathbf{A}\rrbracket_t\|_{\mathsf{F}}^2\,. The Gram form, in every unitarily invariant norm, is NLAlib.integral_matrixNorm_conjTranspose_mul_self_sub_rsvd_aeval_le_of_hasLaw_gaussianMatrix. [TroppWebber2023, Lemma 9.5], at p = \infty.
General form: sizes are index types
Lean statement and details
NLAlib.integral_specNorm_sub_rsvd_aeval_sq_le_of_hasLaw_gaussianMatrix.{u_1, u_2, u_3, u_4}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {m : Type u_2} {n : Type u_3}
{l : Type u_4} [Fintype m] [Fintype n] [Fintype l] [DecidableEq n] {X : Ω → Matrix n l ℝ}
(A : Matrix m n ℝ) (hX : HasLaw X (gaussianMatrix n l) μ) (f : Polynomial ℝ) {r t : ℕ}
(hrt : r ≤ t) (ht : t + 2 ≤ Fintype.card l) {c a : ℝ} (hc : 0 < c)
(hhead : ∀ i < r, c ≤ |Polynomial.eval (singularValues A i ^ 2) f|)
(htail : ∀ x ∈ Set.Icc 0 (singularValues A t ^ 2), |Polynomial.eval x f| ≤ a) :
∫ (ω : Ω), specNorm (A - rsvd A ((Polynomial.aeval (Aᴴ * A)) f * X ω)) ^ 2 ∂μ ≤
singularValues A r ^ 2 +
(a / c) ^ 2 * (↑t / (↑(Fintype.card l) - ↑t - 1)) * frobNorm (A - truncatedSVD A t) ^ 2
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.