NLAlib.LanczosRun.norm_cfc_mulVec_sub_smul_functionApprox_le_of_precision
Library · theorem
The bounded-function precision theorem scaled to an arbitrary starting vector with the run's initial direction. Its output is the norm of the input times the physical computed basis applied to the small matrix function.
NLAlib.LanczosRun.norm_cfc_mulVec_sub_smul_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.ε ≤
η)
(b : Fin n → ℝ) (hb : b = ‖WithLp.toLp 2 b‖ • L.normalizedV 1) :
‖WithLp.toLp 2 (cfc f L.H *ᵥ b - ‖WithLp.toLp 2 b‖ • L.functionApprox f)‖ ≤
(lanczosFunctionApproxFactor k * δ + η * M) * ‖WithLp.toLp 2 b‖Import NLAlib.Krylov.FinitePrecision.LanczosFunctions.