NLA-lib Explorer

Lanczos quadrature in finite precision

Library · Result group

Theorem (LanczosRun.abs_dotProduct_cfc_mulVec_sub_cfc_tridiagonal_le_of_continuousOn). Knizhnerman-type quadrature bound for a Lanczos run (continuous f, Lipschitz on the enlarged interval and k\varepsilon\le1/100): for \operatorname{spec}\mathbf{H} \subseteq [a, a'], c = 400k^3\varepsilon\|\mathbf{H}\|_2, I_c = [a - c, a' + c] and f L-Lipschitz on I_c, <!-- value lanczosBackwardFactor k --> \bigl\lvert\bar{\mathbf{v}}_1^{\mathsf{T}}f(\mathbf{H})\bar{\mathbf{v}}_1 - (f(\mathbf{T}_k))_{00}\bigr\rvert \le 2E_{2k-1}(f; I_c) + 400k^3\varepsilon\|\mathbf{H}\|_2\,L , E_{2k-1} the best uniform approximation error by polynomials of degree at most 2k - 1 (NLAlib.minimaxError), \bar{\mathbf{v}}_1 the normalised computed first vector. Compare Knizhnerman (1996): O(k)E_{2k-1}(f; I_\eta) + O(\mathrm{poly}(k)\varepsilon) \sup_{I_\eta}\lvert f\rvert with Paige's \eta (as summarised in Chen's thesis §8.4 and the handbook, Cor. 7.5). No printed source.

Headline

Lean statement and details
NLAlib.LanczosRun.abs_dotProduct_cfc_mulVec_sub_cfc_tridiagonal_le_of_continuousOn {n k : ℕ}
  (L : LanczosRun n k) {a a' : ℝ} (hs : spectrum ℝ L.H ⊆ Set.Icc a a') (hsmall : ↑k * L.ε ≤ 1 / 100)
  {f : ℝ → ℝ} {Lf : ℝ≥0}
  (hf : LipschitzOnWith Lf f (Set.Icc (a - L.enlargement) (a' + L.enlargement))) :
  |L.normalizedV 1 ⬝ᵥ cfc f L.H *ᵥ L.normalizedV 1 -
        cfc f L.tridiagonal L.firstIndex L.firstIndex| ≤
    2 * minimaxError f (Set.Icc (a - L.enlargement) (a' + L.enlargement)) (2 * k - 1) +
      ↑Lf * L.enlargement

Full source on GitHub

Copy link

Other forms

Theorem (LanczosRun.abs_dotProduct_cfc_mulVec_sub_cfc_tridiagonal_le_of_lipschitzOnWith). Knizhnerman-type quadrature bound, explicit rate for Lipschitz f (Jackson): for k\varepsilon\le1/100 and f L-Lipschitz on I_c, <!-- value jacksonApproximationConstant --> \bigl\lvert\bar{\mathbf{v}}_1^{\mathsf{T}}f(\mathbf{H})\bar{\mathbf{v}}_1 - (f(\mathbf{T}_k))_{00}\bigr\rvert \le L\Bigl(\frac{\pi(a' - a + 2c)}{2k + 1} + c\Bigr) , \qquad c = 400k^3\varepsilon\|\mathbf{H}\|_2 . No printed source.

Lean statement and details
NLAlib.LanczosRun.abs_dotProduct_cfc_mulVec_sub_cfc_tridiagonal_le_of_lipschitzOnWith {n k : ℕ}
  (L : LanczosRun n k) {a a' : ℝ} (haa : a < a') (hs : spectrum ℝ L.H ⊆ Set.Icc a a')
  (hsmall : ↑k * L.ε ≤ 1 / 100) {f : ℝ → ℝ} {Lf : ℝ≥0}
  (hf : LipschitzOnWith Lf f (Set.Icc (a - L.enlargement) (a' + L.enlargement))) :
  |L.normalizedV 1 ⬝ᵥ cfc f L.H *ᵥ L.normalizedV 1 -
        cfc f L.tridiagonal L.firstIndex L.firstIndex| ≤
    ↑Lf *
      (jacksonApproximationConstant * (a' - a + 2 * L.enlargement) / (2 * ↑k + 1) + L.enlargement)

Full source on GitHub

Copy link