NLAlib.inv_add_sub_eval_interpolate
Library · theorem
Interpolation error of one resolvent kernel: for nodes s and t with \theta + t \ne 0 for every node and z + t \ne 0, \frac{1}{z + t} - q_t(z) = (-1)^{\lvert s \rvert}\, \frac{\pi(z)}{(z + t)\prod_{\theta \in s}(\theta + t)} \,, where q_t interpolates \theta \mapsto (\theta + t)^{-1} on s and \pi is the nodal polynomial. The numerator 1 - (z + t)q_t(z) has degree at most \lvert s \rvert and vanishes on s, so it is a multiple of \pi, fixed by its value 1 at z = -t. [FrommerGuttelSchweitzer2014, (3.9)]; [ChenPersson2026, Lemma 4].
NLAlib.inv_add_sub_eval_interpolate {s : Finset ℝ} {t z : ℝ} (hs : ∀ θ ∈ s, θ + t ≠ 0)
(hz : z + t ≠ 0) :
(z + t)⁻¹ - Polynomial.eval z ((Lagrange.interpolate s id) fun θ ↦ (θ + t)⁻¹) =
(-1) ^ s.card * Polynomial.eval z (Lagrange.nodal s id) / ((z + t) * ∏ θ ∈ s, (θ + t))Import NLAlib.Polynomial.Interpolation.Stieltjes.