Existence and uniqueness of the interpolating polynomial
ProvedMetodosNumericos.interpolating_polynomial_uniqueGiven points with pairwise distinct abscissas, there is exactly one real polynomial of degree at most passing through them. This is Proposição 7.2.1.
import Mathlib
namespace MetodosNumericos
theorem interpolating_polynomial_unique {n : ℕ} (xs fs : Fin (n + 1) → ℝ)
(hxs : Function.Injective xs) :
∃! p : Polynomial ℝ, p.degree ≤ (n : ℕ) ∧ ∀ i, p.eval (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 and families and of reals, under the single hypothesis that the map is injective (the nodes are pairwise distinct), the statement asserts that there exists exactly one polynomial with real coefficients such that
- the degree of is at most , where the degree of the zero polynomial is and so satisfies the bound; and
- for every index .
Both existence and uniqueness are asserted. The bound is on the degree, so polynomials of strictly smaller degree are admitted; nothing forces the interpolant to have degree exactly .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.