Lefebvre's variations, No. 272 — on a theme by Acheampong, Davis and Robere: four equally spaced Lagrange weights at zero are 4, -6, 4, -1 and extrapolate every cubic
ProvedLefebvreVariations.lagrange_weights_degree_threeLet be the Lagrange weight at of the node among the nodes . Then
that is , each equals for the Lagrange basis of the nodes , and every real polynomial of degree at most satisfies
This is the case ( nodes) of the statement that, for polynomials of degree at most , , used to extrapolate to from the integer nodes ; equivalently, the fourth finite difference of a cubic vanishes.
Formalization Note The statement uses the platform definitions omega and lagrangeBasis of the SAInterp.Res2 namespace: omega m k = ∏ j ∈ (Finset.Icc 1 m).erase k, (-(j : ℝ)) / ((k : ℝ) - j) and lagrangeBasis t i = ∏ j ∈ univ.erase i, (X - C (t j)) * C (1 / (t i - t j)), with the nodes fun i : Fin 4 => (i.val : ℝ) + 1, so the node k + 1 is indexed by k : Fin 4. It combines the closed form of the weights, the identification with ℓ_k(0) and the exactness of the formula on ℝ[X] of degree at most 3, as in SAInterp.Res2.theorem_3_1 at d = 3.
Why this is a variation. This varies the open platform problem SAInterp.Res2.theorem_3_1 (Lagrange interpolation weights omega_k^(d+1) = (-1)^(k-1) C(d+1,k) at 0 for the nodes 1..d+1, and p(0) = sum of omega_k p(k) for degree at most d). It is the case d = 3, in the parent's own definitions omega and lagrangeBasis, with the four weights written out; the closed form is a finite product computation and the exactness is the vanishing of a fourth difference.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib import Definitions.Def_SAInterp_Res2_Interp set_option autoImplicit false open Polynomial SAInterp.Res2
namespace LefebvreVariations
/-- **Extrapolation to zero from four consecutive integer nodes.** The Lagrange weights of the nodes `1, 2, 3, 4`
at `0` are `ω = (4, −6, 4, −1)`, equal to `(−1)^{k−1} C(4, k)`, and every real polynomial `p` of degree at most `3`
satisfies `p(0) = 4p(1) − 6p(2) + 4p(3) − p(4)`. This is the case `d = 3` (`d + 1 = 4` nodes) of Theorem 3.1 of
Acheampong, Davis and Robere, *Polynomial interpolation for Sherali–Adams lower bounds* (as cited on the platform),
and equivalently the vanishing of the fourth finite difference of a cubic.
**Formalization Note.** Same `omega` and `lagrangeBasis` as `SAInterp.Res2.theorem_3_1` at `d = 3`, with the weights
written explicitly; the node `k ∈ [4]` is `k - 1 : Fin 4`. -/
theorem lagrange_weights_degree_three :
(omega 4 1 = 4 ∧ omega 4 2 = -6 ∧ omega 4 3 = 4 ∧ omega 4 4 = -1) ∧
(∀ k : Fin 4,
omega 4 (k.val + 1) = (lagrangeBasis (fun i : Fin 4 => (i.val : ℝ) + 1) k).eval 0) ∧
(∀ p : ℝ[X], p.natDegree ≤ 3 →
p.eval 0 = 4 * p.eval 1 - 6 * p.eval 2 + 4 * p.eval 3 - p.eval 4) := by
sorry
end LefebvreVariations