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.
Spline evaluation and interpolation algorithms — Examples
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Finite Counting, Factorials and Binomial Coefficients
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Matrix Norms, Condition Numbers and Numerical Stability
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Spline evaluation and interpolation algorithms
- Splines and Series Methods
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
2 · Summary
These examples work through a de Boor evaluation next to a double knot, show the natural boundary error for next to an endpoint, and verify that inserting a new knot leaves a linear B-spline curve unchanged.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
de Boor evaluation with a double knot
Example
Take degree , knots , , and , and coefficients . Evaluate at on the nonempty span . This span is adjacent to the double knot at .
Facts & Assumptions
Given: The degree, knot vector, coefficient list, span , and query from the Example.
de Boor coefficient evaluation on a specified knot span initializes and uses the stated blend for .
de Boor evaluation equals the B-spline coefficient expansion identifies the exact output with the B-spline coefficient expansion.
B-spline spaces and knot conventions uses a clamped knot vector with half-open cells, right-side values at interior knots, and left limits at .
, , , , , and .
Verification
The input is admissible: [F3] allows the displayed clamped knot vector, including the double interior knot; the knots are nondecreasing and clamped for degree two; ; and . By [F1], the initial active list is .
For , the indices are , so and . For , , again , so .
For , and . Therefore , which is the algorithm's exact returned value.
By [F2], the B-spline curve value on the specified span is also . The example exercises a repeated knot without evaluating a basis function outside the active span.
The natural interpolant of x squared has a second-order endpoint error
Example
For , interpolate naturally at . The error on the first interval is at its midpoint, even though . The clamped interpolant with exact endpoint slopes is itself. This displays why the fourth-order bound for the clamped method requires compatible boundary data.
Facts & Assumptions
Given: , the data , , for , and the natural endpoint conditions.
Natural cubic interpolation at distinct knots gives the natural second-derivative system and the cubic piece formula.
Clamped cubic spline interpolation exists uniquely: for strictly increasing knots and prescribed endpoint slopes there is a unique clamped cubic interpolant.
Boundary-compatible clamped cubic interpolation is fourth order in the maximum norm gives the fourth-order bound when the endpoint slopes equal those of the target function.
The knots are and the target function is .
Verification
The interval lengths are both , and the two secant slopes are and . The natural endpoint second derivatives are zero. The single interior equation from [F1] is , hence .
Substituting , , , and into the first-interval formula in [F1] gives . Thus whereas , so the absolute error is .
Since , a general natural-boundary estimate of the form would force zero error, contradicting step 2.1. The polynomial has the prescribed clamped slopes and , so [F2] makes it the unique clamped interpolant; [F3] also gives zero error.
Inserting a knot leaves a linear B-spline curve fixed
Example
The degree-one B-spline curve with knots and controls is on . Insert the new knot . The new knots are and the updated controls are .
In the control diagram, arrows show the copied endpoints and the single midpoint blend. The diagram records the update formulas; the verification below establishes the represented curves agree.
Facts & Assumptions
Given: Degree , knot vector , controls , and the inserted knot .
Single new-knot insertion for a B-spline curve uses on the active blend range, with .
Single new-knot insertion preserves the B-spline curve proves that the old and refined coefficient expansions define the same function.
B-spline spaces and knot conventions defines the degree-one basis by the Cox–de Boor recurrence and half-open knot cells.
The original active span is and , .
Verification
For the insertion span , the only blended index is and . Therefore [F1] returns , , and .
Before insertion, the two degree-one basis functions on are and , so the curve is .
On , the refined curve is . On , it is . The endpoint value at is the left limit. Therefore the piecewise calculation agrees with the general preservation statement [F2].