How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
A computed natural-cubic reconstruction has a forward-error certificate
Statement
Let and use the stored knots and values and the algorithm of Natural-cubic tridiagonal Cholesky solve with a residual certificate. Let be the exact natural cubic interpolant of those data, supplied by Natural cubic interpolation at distinct knots. On a successful call, let be the returned second-derivative vector, put , and let be the piecewise cubic reconstruction defined by the algorithm from , evaluated exactly. For , the success output is . The algorithm computes , , and internally when forming ; these are not separate returned fields. The returned certificate fields satisfy
Here and account for the differences between the exact natural-cubic system assembled from the stored input data and the rounded matrix and right-hand side used by the factorization. If those systems are exactly the same, then and . For , both the natural interpolant and the algorithm-defined reconstruction are the straight line, and .
The algorithm-defined reconstruction interpolates the stored data, but for it need not be at its knots and is not asserted to be an exact natural spline. The bound excludes floating-point error from evaluating the cubic pieces and makes no unconditional arithmetic-success or general natural-spline fourth-order claim.
Facts & Assumptions
Given: Strictly increasing stored knots and finite stored values, , and a successful algorithm call including its exact rational certificate.
Natural-cubic tridiagonal Cholesky solve with a residual certificate defines the exact canonical system , the stored matrix and right-hand side used by the rounded solve, and the discrepancies and . On a successful call it returns and computes , , and internally to form .
A successful natural-cubic tridiagonal Cholesky solve has a certified residual gives on a full successful call.
Natural cubic interpolation at distinct knots: for , the exact natural interpolant's interior second derivatives solve ; for it is the straight line.
A natural-spline tridiagonal residual bounds the spline value error: if is the exact residual for the interior natural-cubic system and the endpoint second derivatives agree at zero, then the piecewise cubic reconstruction differs from the exact natural interpolant on the knot hull by at most .
The data knots are exact stored real numbers with ; for , each and .
Proof
Suppose . Let be the returned vector and its interior subvector. By [F2] and the exact identity , each row satisfies . Taking the maximum proves ; these exact discrepancies account for all rounded system assembly.
The returned endpoint second derivatives and those of are both zero. Apply [F4] to the exact residual from step 1.1 and the original widths. It gives . The transfer theorem applies to any proposed interior derivatives with zero endpoint values; it does not require the algorithm-defined pieces to join with matching first derivatives.
If , the algorithm returns zero endpoint second derivatives and its associated reconstruction is the exact straight-line piece. By [F3] this is also , and the algorithm defines , so the stated bound holds with equality.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
15 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Carl de Boor, A Practical Guide to Splines, revised edition, Chapter IV, pp. 42–45 (standard reference, not scraped)
- Brian LeMesurier, Introduction to Numerical Methods and Analysis with Python, Chapter 3.4 (standard reference, not scraped)