NLA-lib Explorer

NLAlib.measureReal_exists_abs_integral_empiricalSpectralMeasure_sub_integral_slqMeasure_gt_le

Library · theorem

General form: sizes are index types

Stochastic Lanczos quadrature approximates the spectral density, uniformly in Lipschitz test functions. Let the entries of the real n \times m test matrix \mathbf{\Omega} be independent, each satisfying the sub-Gaussian moment generating function bound with variance proxy c and having second moment 1; let \mathbf{A} be real symmetric with spectrum in [a, \mathbf{b}], a < \mathbf{b}; let L \ge 0, q \in \mathbb{N} and \tau \ge 0. Then, except with probability at most <!-- value hansonWrightConstant --> 2\lvert n\rvert\exp\Bigl(-\frac{1}{196}\,m\lvert n\rvert\min\Bigl(\frac{\tau^2}{c^2}, \frac{\tau}{c}\Bigr)\Bigr)\,, every f that is L-Lipschitz on [a, \mathbf{b}] satisfies <!-- value jacksonApproximationConstant --> \Bigl\lvert\int f\,d\nu_{\mathbf{A}} - \int f\,d\,\mathsf{slqMeasure}(\mathbf{A}, \mathbf{\Omega}, q + 1)\Bigr\rvert \le (\lvert f(\mathbf{b})\rvert + L(\mathbf{b} - a))\tau + \frac{\pi L(\mathbf{b} - a)}{2q + 3}(1 + \tau)\,, \nu_{\mathbf{A}} the empirical spectral measure; the constants are hansonWrightConstant and jacksonApproximationConstant. For test functions with f(\mathbf{b}) = 0 and equal masses this is a Wasserstein-1 bound. The factor 1 + \tau bounds the random mass \|\mathbf{\Omega}\|_{\mathsf{F}}^2/(\lvert n\rvert m) on the same event. Gaussian and sign test matrices are the case c = 1. Asymptotic form: NLAlib.exists_forall_measureReal_exists_abs_integral_empiricalSpectralMeasure_sub_integral_slqMeasure_gt_le. [ChenTrogdonUbaru2021, the Wasserstein bound for SLQ] (theorem number to check); there for probes uniform on the sphere, with the sharper sub-Gaussian constant of Beta laws and the bound in the Wasserstein distance; the Jackson step is [ChenTrogdonUbaru2022, Appendix C, Theorem 38]. Result: spectral-density-lipschitz-tail

NLAlib.measureReal_exists_abs_integral_empiricalSpectralMeasure_sub_integral_slqMeasure_gt_le.{u_2,
    u_3, u_4}
  {n : Type u_2} {m : Type u_3} [Fintype n] [DecidableEq n] [Fintype m] {Ω : Type u_4}
  {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {X : Ω → Matrix n m ℝ} {c : ℝ≥0}
  (hind : iIndepFun (fun p ω ↦ X ω p.1 p.2) μ)
  (hsub : ∀ (i : n) (j : m), HasSubgaussianMGF (fun ω ↦ X ω i j) c μ)
  (hvar : ∀ (i : n) (j : m), ∫ (ω : Ω), X ω i j ^ 2 ∂μ = 1) {A : Matrix n n ℝ} (hA : A.IsHermitian)
  {a b : ℝ} (hab : a < b) (hs : spectrum ℝ A ⊆ Set.Icc a b) (L : ℝ≥0) (q : ℕ) {τ : ℝ} (hτ : 0 ≤ τ) :
  μ.real
      {ω |
        ∃ f,
          LipschitzOnWith L f (Set.Icc a b) ∧
            (|f b| + ↑L * (b - a)) * τ +
                jacksonApproximationConstant * ↑L * (b - a) / (2 * ↑q + 3) * (1 + τ) <
              |∫ (x : ℝ), f x ∂empiricalSpectralMeasure A -
                  ∫ (x : ℝ), f x ∂slqMeasure A (X ω) (q + 1)|} ≤
    2 * ↑(Fintype.card n) *
      rexp
        (-(hansonWrightConstant *
            (↑(Fintype.card m) * ↑(Fintype.card n) * min (τ ^ 2 / ↑c ^ 2) (τ / ↑c))))

Full source on GitHub

Import NLAlib.Estimation.Spectral.SpectralDensitySubgaussian.

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.