Correctness of Horner's evaluation scheme
ProvedMetodosNumericos.horner_evalnumerical-analysispolynomials
For every coefficient family , degree and point , the last Horner coefficient equals the value of the polynomial: , where and . This is the correctness of the algorithm of §4.5.
Preamble
import Mathlib import Definitions.Def_MetodosNumericos_polinomiosDefs
Formal statement
namespace MetodosNumericos
theorem horner_eval (a : ℕ → ℝ) (n : ℕ) (z : ℝ) :
polyVal a n z = hornerSeq a z n := by sorry
end MetodosNumericosSource
S. R. Freitas, Métodos Numéricos (UFMS, 2000), Cap. 4, §4.4–4.5, pp. 77–79.
Read-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 an arbitrary , an arbitrary natural number and an arbitrary real , the statement asserts the equality
where is the sequence with and . There are no hypotheses at all; the case asserts .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.