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 tridiagonal Cholesky solve with a residual certificate
Definition
Use one binary floating-point format from
Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
with round-to-nearest, ties-to-even, a known rational unit roundoff
, and the model's normal-or-zero success rule. Inputs are
finite stored real knots and finite stored real
values . These stored numbers are the exact interpolation
data; no unrecorded perturbation of the data is included. Write
for their exact rational differences. If a constant
or needed by the selected branch is not representable as a finite normal
number, return input-format-failure. Arithmetic statuses below report the
first failing operation in the specified order. This algorithm makes no
claim that floating-point success is automatic.
If , return success with endpoint second derivatives
and error certificate . The corresponding
piece is the exact straight line. For , put and return
certificate-parameter-failure unless .
For , assemble stored widths and secant slopes in increasing
: compute
,
, and
, in that order. At the first
failed operation return assembly-range-failure(i,operation). Successful
width subtraction gives . In increasing ,
for the row corresponding to knot compute
in that order. Copy for . On failure return
assembly-range-failure(k,operation). Let
have diagonal , adjacent off-diagonal entries , and zero entries
elsewhere; represent it by these three diagonals, not a dense array. Let the
stored right-hand side be .
Factor with a real lower bidiagonal factor, stored as diagonal
and subdiagonal . For
in order, set by exact copy; for compute
and
. If either operation fails, return
factor-range-failure(k,operation). If the resulting fails the
published positive-normal pivot test of
Failure-aware rounded Cholesky factorization, return invalid-pivot(k,p_k).
Otherwise compute
; on failure or a nonpositive or
nonnormal result return factor-range-failure(k,operation). For compute
and return the same indexed factor
status on failure.
Solve by forward substitution in increasing index order: set
; for , compute
,
, and .
Solve in decreasing order: set
; for , compute
,
, and
. At the first failed operation
return solve-range-failure(direction,k,operation). These are separate
multiply, subtract, and divide operations; no fused multiply-add is used.
Set and copy the interior vector
.
Compute the rounded residual in increasing row order. Within row , form
the products for existing columns in increasing
column order, and add them sequentially from an exact zero accumulator to
obtain . Then compute
. Return the first
residual-range-failure(k,j,operation) if any operation fails. Structural
zero entries are omitted; all included products, additions, and the final
subtraction use the operationwise model.
The certificate calculations that follow are exact rational arithmetic on the finite binary values and the rational ; they are not rounded floating-point calculations. Define
and
Form the exact natural-cubic matrix and right-hand side for the original stored data as in Natural cubic interpolation at distinct knots: , , and , with only existing interior entries included; represent by its three diagonals and compute the following row quantities as a stream, without allocating dense matrices. Compute
and
All denominators are positive: , , and
. Return success(\widehat M,C,\alpha,\beta,B). If a
resource-limited implementation cannot complete the exact rational
certificate, it may return certificate-resource-failure, which carries no
certified .
For , associate to the returned vector the piecewise cubic reconstruction on each given by
This reconstruction interpolates the stored data and need not be at an interior knot; it is a piecewise cubic reconstruction, not necessarily a natural spline. The certificate concerns exact evaluation of these pieces. Any floating-point evaluation of them needs a separate piece-evaluation error allowance.
Remarks
This local procedure specializes the published rounded Cholesky and substitution methods to the natural-cubic tridiagonal system; it does not redefine natural interpolation. Its termination and linear arithmetic and storage bounds are proved in A successful natural-cubic tridiagonal Cholesky solve has a certified residual ↗.
Depends on
- Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add
- Failure-aware rounded Cholesky factorization
- Rounded triangular substitution has a componentwise matrix backward error
- Rounded matrix products give certified linear and normal-equation residual allowances
- Natural cubic interpolation at distinct knots
Used by
Dependency tree · two levels
13 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
- Tobin A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation, §2.9 (standard reference, not scraped)
- A. M. Stuart and J. Voss, Matrix Analysis and Algorithms, §§2.6, 3.4, and 5.1 (standard reference, not scraped)