Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-generatedprecheck passjudge 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.

A natural cubic spline undershoots a nonnegative table

Example

Consider the nonnegative table (xi,yi)=((0,1),(1,0),(2,0),(3,1)). On the three unit cells, with t=x−i on cell [i,i+1], define S0(t)=1−65t+15t3,S1(t)=−35t(1−t),S2(t)=35t+35t2−15t3. These pieces form a natural cubic spline interpolating the table, but S1(t)<0 for 0<t<1. PCHIP on the same data has a flat middle segment at zero and remains between the nonnegative cell endpoints.

Facts & Assumptions

Given: The four tabulated nodes and values, the displayed piecewise cubic S, and exact real arithmetic.

[F1]

Natural cubic splines: a natural cubic spline is C2, piecewise cubic, and has second derivative zero at its first and last knots.

[F2]

PCHIP slope selection: PCHIP selects zero interior slope when adjacent secants have nonpositive product and uses the Hermite pieces from the resulting nodal slopes.

[F3]

PCHIP is C1, monotone on each data segment, and has no interval overshoot: every PCHIP cell is monotone between its endpoint values; a flat cell is constant.

[F4]

Sum, product, quotient, and chain rules from difference quotients: the power rule (xm)′=mxm−1 holds for every integer m≥1.

Verification

1.1givenF1F4algebra

Each displayed piece has endpoint values S0(0)=1, S0(1)=0, S1(0)=S1(1)=0, S2(0)=0, and S2(1)=1, so the pieces interpolate the given table. By [F4], their first derivatives are S0′=−6/5+3t2/5, S1′=−3/5+6t/5, and S2′=3/5+6t/5−3t2/5; the derivative values match at both shared knots. Their second derivatives are S0′′=6t/5, S1′′=6/5, and S2′′=6/5−6t/5; these match at shared knots, and S0′′(0)=S2′′(1)=0. By [F1], this is a natural cubic spline.

2.1givenstep 1.1algebra

For 0<t<1, S1(t)=−3t(1−t)/5<0, although every tabulated value is nonnegative. Thus the natural cubic spline undershoots the data range on the middle cell.

3.1F2F3givenalgebra∎

The secants are d0=−1, d1=0, and d2=1. By [F2], the interior slopes at nodes 1 and 2 are both zero because each neighboring pair includes a zero secant; the Hermite piece joining the two zero values with zero slopes is constant zero. By [F3], the first and last PCHIP pieces remain between 1 and 0, and between 0 and 1, respectively. Hence PCHIP is nonnegative throughout the interval and does not reproduce the natural spline's undershoot.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

11 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.