NLA-lib Explorer

Finite precision Lanczos for bounded functions

Library · Result group

Theorem (LanczosRun.norm_cfc_mulVec_sub_functionApprox_le_of_precision). Finite precision Lanczos for bounded functions. Let the spectrum of a run's matrix lie in [a,a'], with a<a', and let p of degree below k approximate f to error \delta on [a-\rho,a'+\rho], where \lvert f\rvert\le \mathbf{M}. If the backward perturbation fits in \rho, k\varepsilon\le1/100, and the explicit polynomial precision budget is at most \eta\le1, then <!-- value lanczosFunctionApproxFactor k --> \|f(\mathbf{H})\bar{\mathbf{v}}_1-\mathsf{functionApprox}(L,f)\| \le4k\delta+\eta \mathbf{M}\,. The budget uses the degree factor <!-- value polynomialDerivativeFactor k --> 4k^2 and backward factor <!-- value lanczosBackwardFactor k --> 400k^3, so sufficient precision has polynomial dependence on the step count. No continuity or Lipschitz assumption on f is required. The small matrix function and final multiplication are exact postprocessing. [MuscoMuscoSidford2018, Theorem 2.1 (published SODA version)] gives the same qualitative polynomial approximation and additive precision structure for a specified floating point implementation; the local run model, precision budget and constants here differ, and no runtime claim is made.

Headline

Lean statement and details
NLAlib.LanczosRun.norm_cfc_mulVec_sub_functionApprox_le_of_precision {n k : ℕ} (L : LanczosRun n k)
  {a a' ρ M δ η : ℝ} {f : ℝ → ℝ} {p : Polynomial ℝ} (hab : a < a')
  (hs : spectrum ℝ L.H ⊆ Set.Icc a a') (hsmall : ↑k * L.ε ≤ 1 / 100)
  (hρ : lanczosBackwardFactor k * L.ε * specNorm L.H ≤ ρ) (hp : p.degree < ↑k)
  (happ : Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x p) f (Set.Icc (a - ρ) (a' + ρ)) δ)
  (hM : 0 ≤ M) (hf : ∀ x ∈ Set.Icc (a - ρ) (a' + ρ), |f x| ≤ M) (hη : η ≤ 1)
  (hprecision :
    √(↑k + 1) * polynomialDerivativeFactor k / (a' - a + 2 * ρ) *
          (lanczosBackwardFactor k * L.ε * specNorm L.H) +
        √↑k * L.ε ≤
      η) :
  ‖WithLp.toLp 2 (cfc f L.H *ᵥ L.normalizedV 1 - L.functionApprox f)‖ ≤
    lanczosFunctionApproxFactor k * δ + η * M

Full source on GitHub

Copy link