On Clenshaw's summation formula
Statement
When one has a finite sum of the form
where satisfies a two-term recurrence relation
the standard algorithm used for computing is Clenshaw summation:
I am also very familiar with the concept of "minimal" and "dominant" solutions of a two-term recurrence; to review, the dominant solution is the solution most stably propagated when the two-term recurrence is run in the forward direction, while the minimal solution is the solution that is stably computed when the recurrence is run backwards. As an example, for the recurrence relation of the Bessel functions, , the function of the first kind, is the minimal solution while , the other solution to the Bessel ODE, is the dominant solution to the two-term recurrence.
Mystifying to me, however, is this remark given in the book "Numerical Recipes" without justification of any sort:
"...Clenshaw's recurrence is always stable, independent of whether the recurrence for the …
Posed by J. M. isn't a mathematician · algorithms, na.numerical-analysis
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-35005.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-35005.lean
import Mathlib /-! # On Clenshaw's summation formula Source: https://mathoverflow.net/questions/35005 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_35005 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_35005