NLA-lib Explorer

O(\log(N)/\varepsilon) multiplications suffice for the random-start power method

Library · Result group

Theorem (exists_forall_integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector). O(\log(N)/\varepsilon) multiplications suffice for the random-start power method: there is an absolute constant C > 0 such that for every positive semidefinite real \mathbf{A} of size N = \lvert n\rvert, a standard Gaussian start \mathbf{g} (law \mathcal{N}(\mathbf{0}, \mathbf{I}) on \mathbb{R}^n), \varepsilon > 0 and q \ge C\log(2N)/\varepsilon multiplications, \mathbb{E}\bigl[\lambda_0(\mathbf{A}) - \rho_{\mathbf{A}}(\mathbf{A}^q\mathbf{g})\bigr] \le \varepsilon\,\lambda_0(\mathbf{A})\,, \rho_{\mathbf{A}} the Rayleigh quotient. The asymptotic form of NLAlib.integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector. [KuczynskiWozniakowski1992, Theorem 4.1] (locator to check).

Headline (provisional) General form: sizes are index types

Lean statement and details
NLAlib.exists_forall_integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector :
  ∃ C,
    0 < C ∧
      ∀ {Ω : Type} [inst : MeasurableSpace Ω] {μ : Measure Ω} {n : Type} [inst_1 : Fintype n]
        [inst_2 : DecidableEq n] {g : Ω → n → ℝ},
        HasLaw g (gaussianVector n) μ →
          ∀ {A : Matrix n n ℝ},
            A.PosSemidef →
              ∀ (ε : ℝ) (q : ℕ),
                0 < ε →
                  C * Real.log (2 * ↑(Fintype.card n)) / ε ≤ ↑q →
                    ∫ (ω : Ω), eigenvalue A 0 - rayleighQuotient A (A ^ q *ᵥ g ω) ∂μ ≤
                      ε * eigenvalue A 0

Full source on GitHub

Copy link

Other forms

Theorem (integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector). Random-start power method: for positive semidefinite real \mathbf{A} and a standard Gaussian start \mathbf{g} (law \mathcal{N}(\mathbf{0}, \mathbf{I}) on \mathbb{R}^n), after q multiplications, <!-- value randomStartPowerBound {\lvert n \rvert} q --> \mathbb{E}\bigl[\lambda_0(\mathbf{A}) - \rho_{\mathbf{A}}(\mathbf{A}^q\mathbf{g})\bigr] \le \frac{\log(2\lvert n \rvert) + 2}{2q + 1}\,\lambda_0(\mathbf{A})\,, \rho_{\mathbf{A}} the Rayleigh quotient, for every q (including 0), every dimension, repeated top eigenvalues and \mathbf{A} = \mathbf{0}; no gap. The factor is randomStartPowerBound. Asymptotic form: NLAlib.exists_forall_integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector. [MartinssonTropp2020, Theorems 6.1 and 6.2] (which of the two is the power method is to check); [KuczynskiWozniakowski1992, Theorem 4.1] (locator to check); there as a relative error with a different constant; constants composed here.

General form: sizes are index types

Lean statement and details
NLAlib.integral_eigenvalue_sub_rayleighQuotient_pow_mulVec_le_of_hasLaw_gaussianVector.{u_1, u_2}
  {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {n : Type u_2} [Fintype n] [DecidableEq n]
  {g : Ω → n → ℝ} {A : Matrix n n ℝ} (hg : HasLaw g (gaussianVector n) μ) (hA : A.PosSemidef)
  (q : ℕ) :
  ∫ (ω : Ω), eigenvalue A 0 - rayleighQuotient A (A ^ q *ᵥ g ω) ∂μ ≤
    randomStartPowerBound (Fintype.card n) q * eigenvalue A 0

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.