Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedPipeline-generatedjudge pass (gpt-6-luna)
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.

Natural cubic interpolation at distinct knots

Statement

Let r≥2, a≤x1<⋯<xr≤b, and y1,…,yr∈R. There is exactly one natural cubic spline s on [a,b] with s(xi)=yi for each i. On each interval [xi,xi+1] it is the cubic with endpoint values yi,yi+1 and endpoint second derivatives Mi,Mi+1, where M1=Mr=0 and the interior values solve the positive-definite tridiagonal system hi−1Mi−1+2(hi−1+hi)Mi+hiMi+1=6(yi+1−yihi−yi−yi−1hi−1),2≤i≤r−1, with hi=xi+1−xi>0. The interpolant is linear outside [x1,xr].

Facts & Assumptions

Given: r≥2, strictly increasing knots x1<⋯<xr in [a,b], and arbitrary values yi∈R.

[F1]

A natural cubic spline is C2, piecewise cubic between its distinct knots, has second derivative zero at the extreme knots, and is linear on data-free end intervals (Natural cubic splines).

[A1]

r≥2, x1<⋯<xr in [a,b], and y1,…,yr are arbitrary real values.

Proof

technique · direct
1.1A1algebra

Put hi=xi+1−xi and di=(yi+1−yi)/hi. For r=2 there are no interior second derivatives to solve. For r≥3, let A be the (r−2)×(r−2) symmetric tridiagonal matrix with diagonal entry 2(hi−1+hi) in row i and adjacent off-diagonal entries hi. For a nonzero vector v=(v2,…,vr−1), using 2vivi+1≥−vi2−vi+12 gives vTAv≥∑i=2r−1(hi−1+hi)vi2>0. Thus A is positive definite and invertible, so the displayed system has exactly one solution M2,…,Mr−1.

2.1A1F1step 1.1algebraconstruct

On [xi,xi+1], define si(x)=Mi(xi+1−x)3+Mi+1(x−xi)36hi+(yi−Mihi26)xi+1−xhi+(yi+1−Mi+1hi26)x−xihi. Direct substitution gives si(xi)=yi, si(xi+1)=yi+1, and si′′(xi)=Mi, si′′(xi+1)=Mi+1. Its left and right endpoint slopes are respectively si′(xi)=di−Mihi/3−Mi+1hi/6 and si′(xi+1)=di+Mihi/6+Mi+1hi/3. Equating the right slope from si−1 and the left slope from si gives the tridiagonal equation at xi. Hence the pieces join C1; their second derivatives are linear with the same nodal values, so they join C2. At the extreme knots M1=Mr=0, so adjoining the tangent line gives the required linear tails and preserves C2. For r=2, the formula is the straight line between the two values and the same endpoint argument applies.

3.1A1F1step 1.1step 2.1algebra∎

Any natural cubic interpolant has nodal second derivatives with M1=Mr=0. Equality of its adjacent endpoint slopes forces the displayed tridiagonal equations, so by step 1.1 its nodal second derivatives equal the constructed ones. On each interval, the difference from si is a cubic with zero second derivative at both endpoints; its second derivative is affine and therefore zero throughout, so the difference is affine and vanishes at both endpoint values. It is identically zero. Thus the interpolant is unique.

Depends on

Used by

Dependency tree · one level

1 result within one dependency step 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