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.
Finite barycentric interpolation evaluator
Definition
The inputs are a natural number , a floating-point system satisfying The standard relative floating-point model and unit roundoff, finite arrays and of real candidate nodes and data, and a real query . No length assumption is imposed on or ; their intended lengths are , which the procedure checks. The output is either a record with status success and a value in , or one of the statuses invalid_nodes, invalid_data, and range_failure.
Use checked operations as follows. For and , return range_failure if division has or if the exact real result is nonzero and outside the normal range . Otherwise return , using the exact-zero rule when the result is zero. Each checked operation has the tagged outcome either range_failure or a value in ; if an operation in a displayed sequence returns range_failure, stop before evaluating the next operation and return that status. Thus is called only on arguments in the domain of the stated model.
Procedure:
- If the node array has length other than , any node is not in , or the nodes are not strictly increasing, return invalid_nodes. If the data array has length other than , or any data value or the query is not in , return invalid_data.
- If for some , return success with value .
- If , return range_failure. Otherwise, for each , initialize . For each with , compute and then replace by . After this inner loop set . Any checked-operation failure returns range_failure.
- Initialize and . For each , compute , , and . Replace by and by . Any checked-operation failure returns range_failure.
- If , return range_failure. Otherwise return success with value , unless that final checked operation returns range_failure.
The exact-arithmetic target of steps 3–5 is the quotient in Barycentric interpolation identities. This finite-arithmetic procedure provides no forward-error bound, conditioning guarantee, or accuracy certificate; close or widely separated nodes can cause a range failure or an inaccurate successful value.
Depends on
Used by
Dependency tree · two levels
12 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
- Mark Embree, Lecture Notes on Numerical Analysis, lecture 1 (standard reference, not scraped)
- Jean-Paul Berrut and Lloyd N. Trefethen, Barycentric Lagrange Interpolation (standard reference, not scraped)