Lagrange.exists_eq_mul_nodalWeight
Library · theorem
Orthogonality to low degrees forces the nodal weights: on q + 1 distinct nodes, if \sum_{i \in s} z_i\,p(\mathbf{v}_i) = 0 for every p with \deg p < q, then z_i = c\,w_i for some c and every i \in s, w_i the nodal weights. The constant is c = \sum_{i \in s} z_i \mathbf{v}_i^q. This is the content of [ChenPersson2026, Lemma 8] (the Ritz polynomial of a prescribed weighting) and of the proof of [ChenPersson2026, Lemma 9].
Lagrange.exists_eq_mul_nodalWeight.{u_1, u_2} {F : Type u_1} [Field F] {ι : Type u_2}
[DecidableEq ι] {s : Finset ι} {v : ι → F} (hvs : Set.InjOn v ↑s) {q : ℕ} (hs : s.card = q + 1)
{z : ι → F}
(hz : ∀ (p : Polynomial F), p.degree < ↑q → ∑ i ∈ s, z i * Polynomial.eval (v i) p = 0) :
∃ c, ∀ i ∈ s, z i = c * Lagrange.nodalWeight s v iImport NLAlib.ForMathlib.LinearAlgebra.Lagrange.