The Lagrange formula reproduces the tabulated values
ProvedMetodosNumericos.lagrange_interpolatesFor pairwise distinct nodes, the Lagrange sum satisfies for every node .
import Mathlib import Definitions.Def_MetodosNumericos_interpolacaoDefs
namespace MetodosNumericos
theorem lagrange_interpolates {n : ℕ} (xs fs : Fin (n + 1) → ℝ)
(hxs : Function.Injective xs) (i : Fin (n + 1)) :
lagrangeInterp xs fs (xs i) = fs i := by sorry
end MetodosNumericosRead-back
What the Lean code literally says, in plain math · self-authored-by-drafting-agent (non-blind)
Disclosure: this read-back is not blind. It was written by the same agent that drafted the Lean statement, at the explicit instruction of the mission's human owner, and not by an independent auditor with fresh context.
For a natural number , families and of reals with injective, and an index , the statement asserts the equality
The injectivity hypothesis is what makes the denominators nonzero; without it the total-division convention would make some factors vanish. The claim is made for each index separately, the index being an argument of the statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.