NLA-lib Explorer

The Kolmogorov-distance tail of the probe spectral measure

Library · Result group

Theorem (measureReal_exists_abs_empiricalSpectralMeasure_real_sub_probeSpectralMeasure_real_gt_le). The Kolmogorov-distance tail of the probe spectral measure. 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. Then for real symmetric \mathbf{A} and every \tau \ge 0, the distribution functions of \nu_{\mathbf{A}} (the empirical spectral measure) and of \mathsf{probeSpectralMeasure}(\mathbf{A}, \mathbf{\Omega}) differ by more than \tau at some eigenvalue 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)\,, the constant being hansonWrightConstant: a union bound over the at most \lvert n\rvert eigenvalues; both distribution functions are constant between eigenvalues, and Matrix.IsHermitian.abs_empiricalSpectralMeasure_real_Iic_sub_probeSpectralMeasure_real_Iic_le extends the bound to every threshold. [ChenTrogdonUbaru2021, §3] (locator to check); there for probes uniform on the sphere.

Headline (provisional) General form: sizes are index types

Lean statement and details
NLAlib.measureReal_exists_abs_empiricalSpectralMeasure_real_sub_probeSpectralMeasure_real_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)
  {τ : ℝ} (hτ : 0 ≤ τ) :
  μ.real
      {ω |
        ∃ x ∈ spectrum ℝ A,
          τ <
            |(empiricalSpectralMeasure A).real (Set.Iic x) -
                (probeSpectralMeasure A (X ω)).real (Set.Iic x)|} ≤
    2 * ↑(Fintype.card n) *
      rexp
        (-(hansonWrightConstant *
            (↑(Fintype.card m) * ↑(Fintype.card n) * min (τ ^ 2 / ↑c ^ 2) (τ / ↑c))))

Full source on GitHub

Copy link

Other forms

Theorem (measureReal_exists_abs_empiricalSpectralMeasure_real_sub_probeSpectralMeasure_real_gt_le_of_hasLaw_uniformSphereVector). The Kolmogorov-distance tail of the probe spectral measure with sphere probes. Let the columns \mathbf{u}_1, \dots, \mathbf{u}_m of the random real n \times m matrix \mathbf{U} be independent, each uniform on the unit sphere of \mathbb{R}^n (law uniformSphereVector n). Then for real symmetric \mathbf{A} and every \tau \ge 0, the distribution functions of \nu_{\mathbf{A}} (the empirical spectral measure) and of \mathsf{probeSpectralMeasure}(\mathbf{A}, \sqrt{\lvert n\rvert}\,\mathbf{U}) differ by more than \tau at some eigenvalue with probability at most 2\lvert n\rvert\exp(-m(\lvert n\rvert + 2)\tau^2)\,: a union bound over the at most \lvert n\rvert eigenvalues; both distribution functions are constant between eigenvalues, and Matrix.IsHermitian.abs_empiricalSpectralMeasure_real_Iic_sub_probeSpectralMeasure_real_Iic_le extends the bound to every threshold. [ChenTrogdonUbaru2021, §3] (locator to check).

General form: sizes are index types

Lean statement and details
NLAlib.measureReal_exists_abs_empiricalSpectralMeasure_real_sub_probeSpectralMeasure_real_gt_le_of_hasLaw_uniformSphereVector.{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 Ω} {U : Ω → Matrix n m ℝ}
  (hind : iIndepFun (fun j ω i ↦ U ω i j) μ)
  (hU : ∀ (j : m), HasLaw (fun ω i ↦ U ω i j) (uniformSphereVector n) μ) {A : Matrix n n ℝ}
  (hA : A.IsHermitian) {τ : ℝ} (hτ : 0 ≤ τ) :
  μ.real
      {ω |
        ∃ x ∈ spectrum ℝ A,
          τ <
            |(empiricalSpectralMeasure A).real (Set.Iic x) -
                (probeSpectralMeasure A (√↑(Fintype.card n) • U ω)).real (Set.Iic x)|} ≤
    2 * ↑(Fintype.card n) * rexp (-(↑(Fintype.card m) * (↑(Fintype.card n) + 2) * τ ^ 2))

Full source on GitHub

Copy link

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.