Alphabeta Math
Pipeline-generated
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.

✓ 1 result · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 1 also cleared it.

Polynomial interpolation and remainder

1 · Prerequisites

2 · Summary

For distinct real nodes, this page defines the cardinal interpolation functions and proves that their interpolant is the unique polynomial of degree at most the node count minus one. It derives the barycentric denominator identity from interpolation uniqueness and the pointwise Lagrange remainder from the published higher-order Rolle theorem. The local coefficient-list and finite-product lemmas make the products, quotients, finite sums, and degree claims precise in the library's formal-polynomial convention.

The page also gives a finite checked-arithmetic barycentric evaluator with exact node handling and explicit invalid-input and range-failure statuses. Its finite-precision definition makes no forward-error or conditioning guarantee. On equispaced nodes, a cardinal basis function has a value bounded below proportionally to the degree; this varying-data amplification example makes no fixed-function divergence claim.

3 · Logical flowchart

4 · Definitions, theorems and proofs

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite coefficient vector has a canonical polynomial representative

Statement

For every n∈N and reals c0,…,cn, the function q(x)=∑k=0nckxk is the evaluation of a formal real polynomial of degree at most n. The representative can be chosen so that it is the zero polynomial exactly when every ck=0; if cn≠0, it has degree n and leading coefficient cn. Here the coefficient vector may be padded by zeros for the displayed sum; padding describes the evaluation, not a change to the formal polynomial object.

Facts & Assumptions

Given: A natural n and a finite real coefficient vector c0,…,cn.

[F1]

Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials: a nonzero formal polynomial is a finite coefficient list whose final coefficient is nonzero; its evaluation is the corresponding finite sum, and the zero polynomial is a separate object.

[F2]

Finite sums and finite products, by recursion and Laws of finite sums and finite products: the empty sum is zero, a finite sum extends by its last term, and the finite-sum notation agrees with that recursion.

[F3]

The principle of mathematical induction: a property true at zero and preserved by successors holds for every natural number.

[F4]

The reals form a field and Multiplication by zero: 0⋅a=0: real addition and multiplication have the field identities, including 0x=0.

Proof

technique · induction
1.1basegivenF1F4algebraconstruct

For n=0, if c0=0 choose the zero polynomial, whose evaluation is 0; if c0≠0, choose the one-term formal list (c0), of degree 0 and leading coefficient c0. In both cases its evaluation is c0x0=c0.

1.2givenF1F2F4algebraihconstruct

Suppose the assertion holds for vectors of length n+1, and consider c0,…,cn,cn+1. If cn+1=0, the finite-sum recursion and [F4] show that the displayed evaluation is the evaluation for the prefix vector; use its representative from the induction hypothesis. If cn+1≠0, the formal coefficient list (c0,…,cn,cn+1) is valid by [F1], has degree n+1 and leading coefficient cn+1, and evaluates to the displayed sum by [F2]. The zero-characterization in the first case is inherited from the prefix; in the second case both the vector and the polynomial are nonzero.

2.1step 1.1step 1.2F3discharge-induction∎

Induction [F3] now supplies the representative for every n. The construction also proves that it is zero exactly when all vector entries vanish, and that a nonzero final entry is its leading coefficient at degree n.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Interchanging two finite real sums

Statement

Let n∈N and let ajk∈R for j,k<n. Then ∑j<n∑k<najk=∑k<n∑j<najk. The sums are those recursively defined in Finite sums and finite products, by recursion, and the identity includes n=0.

Facts & Assumptions

Given: A natural number n and an n-by-n array of real numbers.

[F1]

Finite sums and finite products, by recursion: finite sums have empty value 0 and append by adding the last term. Laws of finite sums and finite products gives additivity of finite sums.

[F2]

The principle of mathematical induction: a property true at zero and preserved by successors holds for every natural number.

[F3]

Field and The reals form a field: real addition is associative and commutative.

Proof

technique · induction
1.1basegivenF1

For n=0, both iterated sums are empty and equal 0 by [F1].

1.2givenF1F3ihalgebra

Assume the identity for every n-by-n real array, and consider an arbitrary (n+1)-by-(n+1) array. Splitting at the last row and column and using finite-sum additivity [F1] gives ∑j<n+1∑k<n+1ajk=∑j<n∑k<najk+∑j<naj,n+∑k<nan,k+an,n. Splitting in the opposite order gives ∑k<n+1∑j<n+1ajk=∑k<n∑j<najk+∑k<nan,k+∑j<naj,n+an,n. The induction hypothesis equates the first terms, and associativity and commutativity [F3] equate the remaining sums after interchanging their order. Thus the identity holds for the successor size.

2.1step 1.1step 1.2F2discharge-induction∎

Induction [F2] using steps 1.1 and 1.2 proves the identity for every finite square array.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite product of nonzero reals is nonzero

Statement

Let n∈N and let a0,…,an−1∈R all be nonzero. Then the finite product ∏k<nak is nonzero. For n=0 this is the empty product 1.

Facts & Assumptions

Given: A natural number n and a finite list of nonzero real factors.

[F1]

Finite sums and finite products, by recursion and Laws of finite sums and finite products: ∏k<0ak=1 and ∏k<n+1ak=(∏k<nak)an.

[F2]

The principle of mathematical induction: a property true at zero and preserved by successors holds for every natural number.

[F3]

The reals form a field and Field: R is a field and its identities satisfy 1≠0.

[F4]

A field has no zero divisors: ab=0⇒a=0 or b=0: if a product of two field elements is zero, at least one factor is zero.

Proof

technique · induction
1.1basegivenF1F3

For n=0, the empty product is 1, which is nonzero by [F3].

1.2givenF1F4ihalgebra

Suppose the prefix product ∏k<nak is nonzero and the next factor an is nonzero. By [F1] the extended product is (∏k<nak)an; [F4] implies it cannot be zero, since both factors are nonzero.

2.1step 1.1step 1.2F2discharge-induction∎

Induction [F2] applied to steps 1.1 and 1.2 proves the claim for every finite list of nonzero real factors.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

The highest derivative of a polynomial

Statement

Let m∈N, m≥1, and let p:R→R be the evaluation function of a formal real polynomial of degree at most m, or the zero polynomial. Write its actual coefficient list through its degree and extend that list by zeros to a0,…,am (all zero for the zero polynomial); this is an evaluation vector, not a change to the formal polynomial object. Define iterated derivatives as in Higher derivatives and the classes Ck and C∞ and write m!R:=∏j<m(j+1), with each natural factor read as its canonical real image under The canonical natural ι(n)=n⋅1F of a field. Then p(m)(x)=amm!R for every x∈R. In particular, this derivative is zero if deg⁡p<m, and it is m!R if p is monic of degree m.

Facts & Assumptions

Given: A natural number m≥1 and the evaluation function and padded coefficient vector of a formal polynomial of degree at most m, or of the zero polynomial with its all-zero evaluation vector.

[F1]

Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials: a nonzero formal real polynomial is a finite coefficient list with nonzero final coefficient, and its evaluation is the corresponding finite sum of coefficients times powers. The zero polynomial is a separate formal object with no degree.

[F2]

Higher derivatives and the classes Ck and C∞: p(0)=p and, wherever p(r) is differentiable, p(r+1)=(p(r))′.

[F4]

The principle of mathematical induction: a property true at 0 and inherited by successors holds for every natural number.

[F5]

The canonical natural ι(n)=n⋅1F of a field: a natural number used as a real scalar denotes its canonical real image; the image of a successor is the image of its predecessor plus 1.

[F6]

The factorial n! and the falling factorial nk‾, defined by recursion in N: the full falling product m(m−1)⋯1 is the natural factorial m!, which is also the natural product ∏j<m(j+1).

[F7]

Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak): the canonical real image of a finite natural product is the corresponding product of real images, so the product representation of m! in [F6] becomes the stated m!R.

Proof

1.1givenF1F5construct

For a nonzero formal polynomial, [F1] gives p(X)=∑k=0makXk, since zero padding adds only zero terms. For the zero polynomial, p≡0 and the given evaluation vector is all zero, so the same identity holds without representing the formal object by a coefficient list. For 0≤r≤m, define the real function Qr(X)=∑k=rmak(∏s=0r−1(k−s))Xk−r, with the empty product equal to 1; each factor k−s is natural because k≥r>s.

2.1basegivenstep 1.1F2F3F7ihalgebra

At r=0, Q0=p=p(0) by [F2]. If r<m and p(r)=Qr, termwise differentiation in [F3] kills the k=r constant term and multiplies each term with k>r by its exponent k−r; for each k>r, the resulting real coefficient is ak(∏s=0r−1(k−s))(k−r)=ak∏s=0r(k−s). Indeed the finite natural product extends by its last factor, and [F7] carries that natural identity to the product of canonical real images. The new exponent is (k−r)−1=k−(r+1), so the differentiated sum is exactly Qr+1. Hence p(r+1)=Qr+1.

3.1step 1.1step 2.1F4ihdischarge-induction

Apply [F4] to the property P(r) that r≤m implies p(r)=Qr. Step 2.1 proves P(0). If P(r) holds and r+1≤m, then r<m and step 2.1 proves p(r+1)=Qr+1; if r+1>m, P(r+1) is vacuous. Thus P(m) holds.

4.1step 3.1givenF6F7discharge-inductionalgebra∎

At r=m, the sum defining Qm contains only k=m and equals am∏s=0m−1(m−s)=amm!R: [F6] identifies the natural falling product with m!, and [F7] carries it to the real product in the statement. This proves the stated derivative and both special cases.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite product of monic linear factors is monic

Statement

For every n∈N and reals r0,…,rn−1, the function Pn(X)=∏k<n(X−rk) is the evaluation of a formal real polynomial of degree exactly n with leading coefficient 1. For n=0 the product is empty and equals 1.

Facts & Assumptions

Given: A natural n and the indicated finite list of real roots.

[F1]

Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials: a finite coefficient list defines its evaluation, degree, and leading coefficient.

[F2]

Finite sums and finite products, by recursion and Laws of finite sums and finite products: finite sums obey the recursive last-term rule, addition and scalar multiplication.

[F3]

Laws of integer exponents: powers satisfy Xk+1=XkX and the usual exponent identities.

[F4]

The reals form a field: real multiplication distributes over addition and has additive inverses.

[F5]

Proof

technique · induction
1.1basegivenF1F2construct

At n=0, the empty product is 1, the evaluation of the one-term polynomial (1), which is monic of degree zero.

1.2givenF1F2F3F4algebraihconstruct

Suppose Pn(X)=∑k=0nakXk with an=1, as supplied by the induction hypothesis. Multiplication by the next factor gives Pn(X)(X−rn)=∑k=0nakXk+1−∑k=0nrnakXk. By the finite-sum and field laws [F2, F4], this is represented by the coefficient list b0=−rna0, bk=ak−1−rnak for 1≤k≤n, and bn+1=an=1. This list is a formal polynomial by [F1]; its last coefficient is 1, so its degree is n+1 and it is monic.

2.1step 1.1step 1.2F5discharge-induction∎

Induction [F5] proves the claim for every finite list length, including the empty product case.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Cardinal-polynomial interpolation

Definition

Let n∈N with n≥0, let x0<⋯<xn be distinct real nodes, and let y0,…,yn∈R. Define the node polynomial and barycentric weights by ωn(X)=∏k=0n(X−xk),wj=(∏0≤k≤nk≠j(xj−xk))−1(0≤j≤n). An empty product is 1, so w0=1 when n=0.

In these formulas, X is a real argument, and for real a and nonzero real b, a/b denotes ab−1 in the field R (Field).

For each j, the cardinal function is ℓj(X)=∏0≤k≤nk≠jX−xkxj−xk. The interpolation function for the data y=(y0,…,yn) is Iny(X)=∑j=0nyjℓj(X). For a real function f defined at the nodes, write Inf:=In(f(x0),…,f(xn)).

For products indexed by k≠j, use the length-n list x^j,k (0≤k<n), where x^j,k=xk for k<j and x^j,k=xk+1 for k≥j; the product is in this order and is empty when n=0. Strict ordering gives xj−x^j,k≠0 for every factor, so A finite product of nonzero reals is nonzero and the field inverse law make each wj well defined.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite product of quotients is the quotient of finite products

Statement

Let n∈N, and let u0,…,un−1∈R and nonzero d0,…,dn−1∈R. For d≠0, use u/d to denote ud−1. Then ∏k<nukdk=∏k<nuk∏k<ndk. The denominator on the right is nonzero by A finite product of nonzero reals is nonzero. The identity includes n=0.

Facts & Assumptions

Given: A finite list of real numerators and a same-length list of nonzero real denominators.

[F1]

Finite sums and finite products, by recursion: finite products have empty value 1 and extend by multiplying the next term.

[F2]

The principle of mathematical induction: induction holds on the natural numbers.

[F3]

The reals form a field and Field: real multiplication is associative and commutative; nonzero elements have inverses.

[F4]

Identities and inverses in a field are unique: a multiplicative inverse, when it exists, is unique.

[F5]

A finite product of nonzero reals is nonzero: a finite product of nonzero real factors is nonzero.

Proof

technique · induction
1.1basegivenF1F3F4

For n=0, both products are empty and equal 1 by [F1]. Also 1−1=1, since 1⋅1=1 and inverses are unique by [F3, F4]. Thus both sides equal 1.

1.2givenF1F3F4F5ihalgebra

Assume the identity for the first n terms, and append un∈R and dn≠0. Put U=∏k<nuk and D=∏k<ndk. By [F5], both D and the extended denominator product Ddn are nonzero, so D−1 and (Ddn)−1 exist; also dn−1 exists by [F3]. Associativity and commutativity give (Ddn)(D−1dn−1)=(DD−1)(dndn−1)=1, so uniqueness [F4] gives (Ddn)−1=D−1dn−1. Using the induction hypothesis, product recursion [F1], and the quotient convention, ∏k<n+1ukdk=(∏k<nukdk)undn=UDundn=UunDdn=∏k<n+1uk∏k<n+1dk. The equality (U/D)(un/dn)=(Uun)/(Ddn) follows from associativity and commutativity together with (Ddn)−1=D−1dn−1.

2.1step 1.1step 1.2F2discharge-induction∎

Induction [F2] applied to steps 1.1 and 1.2 proves the identity for every finite list length.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Cardinal interpolation functions are polynomials of the stated degrees

Statement

Let n∈N, let x0<⋯<xn be real nodes, and let y0,…,yn∈R. Each cardinal function ℓj of Cardinal-polynomial interpolation is the evaluation of a formal polynomial of degree n. The node function ωn is the evaluation of a monic formal polynomial of degree n+1, and ωn(x)≠0 whenever x differs from every node. The function Iny is the evaluation of a formal polynomial of degree at most n. At every pair i,j∈{0,…,n}, ℓj(xi)=1 if i=j and 0 otherwise.

Facts & Assumptions

Given: Ordered real nodes and real interpolation data.

[F1]

Cardinal-polynomial interpolation: ωn(X)=∏k=0n(X−xk), wj=(∏k≠j(xj−xk))−1, ℓj(X)=∏k≠j(X−xk)/(xj−xk), and Iny=∑jyjℓj.

[F2]

A finite product of monic linear factors is monic: a product of s factors X−rk has a formal polynomial representative of degree s and leading coefficient 1.

[F3]

A finite coefficient vector has a canonical polynomial representative: every real coefficient vector through index n represents a formal polynomial of degree at most n, and a nonzero final coefficient is its leading coefficient.

[F4]

Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials: a formal polynomial is its finite coefficient list and its evaluation function is the corresponding finite sum.

[F5]

The reals form a field, The reals form a totally ordered field, and A field has no zero divisors: ab=0⇒a=0 or b=0: ordered distinct nodes give nonzero differences, a nonzero real has an inverse, and a product of two nonzero reals is nonzero.

[F6]

A finite product of nonzero reals is nonzero: a finite product of nonzero real factors is nonzero, including the empty product.

[F7]

A finite product of quotients is the quotient of finite products: a finite product of quotients with nonzero denominators is the quotient of the corresponding products.

[F8]

Laws of finite sums and finite products: multiplying every term of a finite real sum by the same scalar multiplies the sum by that scalar.

[F9]

Interchanging two finite real sums: the order of two finite sums over the same finite square index set may be interchanged.

[F10]

Laws of finite sums and finite products: a finite product splits into its prefix product times its suffix product.

[F11]

Multiplication by zero: 0⋅a=0: multiplying zero by any real gives zero.

[F12]

Finite sums and finite products, by recursion: a finite product has empty value 1 and extends by multiplying the next factor.

[F13]

The principle of mathematical induction: induction on the natural-number list length is valid.

Proof

technique · direct
1.1givenF1F2F3F4F5F6F7F8algebra

For k≠j, strict ordering of the nodes gives xj−xk≠0. The denominator product in wj is nonzero by [F6], so its inverse wj exists and is nonzero by [F5]. List the omitted-node indices in increasing order and put Pj(X)=∏k≠j(X−xk); [F2] makes this a monic formal polynomial of degree n. For an arbitrary real x, apply [F7] to the real numerators x−xk and denominators xj−xk in that list. It gives ℓj(x)=Pj(x)/∏k≠j(xj−xk)=wjPj(x), also when n=0 by the empty-product convention. Scale the coefficient list (a0,…,an) of Pj by wj; the resulting vector has final coefficient wj≠0. By [F3] and [F4] it represents a formal polynomial of degree n, and [F8] gives its evaluation wjPj(x)=ℓj(x) for every real x.

1.2givenF1F5F10F11F12F13algebra

If i=j, each factor in ℓj(xi) is d/d=1 for a nonzero difference d=xj−xk. Induction [F13] on the list length shows their product is 1: the empty product is 1, and appending a factor 1 leaves it unchanged by [F12] and the field identity [F5]. This includes the empty list. If i≠j, the omitted-node list contains xi: its index is i when i<j and i−1 when i>j. The corresponding quotient factor is 0 because its numerator is xi−xi=0, its denominator is nonzero, and [F11] gives 0 times its inverse equal to 0. Splitting the finite product before and after that factor by [F10] writes ℓj(xi) as a prefix product times 0 times a suffix product, which is 0 by commutativity [F5] and [F11].

1.3givenF1F2F4

The product lemma [F2] applied to x0,…,xn gives a monic polynomial of degree n+1 evaluating to ωn, with degree and leading coefficient understood from the formal list [F4].

1.4givenF1F5F6

If x differs from every node, each factor x−xj is nonzero by [F5], so the product lemma [F6] gives ωn(x)≠0.

2.1givenF1F3F8F9step 1.1algebraconstruct∎

For each j, let (aj,0,…,aj,n) be the coefficient vector of the degree-n representative from step 1.1. Define bk=∑j<n+1yjaj,k for k<n+1. For every real x, finite-sum scaling [F8], field distributivity, and double-sum interchange [F9] give ∑k<n+1bkxk=∑k<n+1∑j<n+1yjaj,kxk=∑j<n+1yj∑k<n+1aj,kxk=∑j<n+1yjℓj(x)=Iny(x). The vector (b0,…,bn) therefore gives, by [F3], a formal polynomial of degree at most n evaluating to Iny.

PropositionStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Equispaced interpolation has linearly growing basis amplification

Statement

Let m∈N with m≥6, and take the 2m+1 nodes xk=−1+km,0≤k≤2m. They are equally spaced in [−1,1]. Let ℓm be the cardinal function for the node xm=0, and set x∗=−1+12m. Then ∣ℓm(x∗)∣≥9 m1280. In these real formulas, natural numbers and binomial coefficients denote their canonical real images, as specified by The canonical natural ι(n)=n⋅1F of a field, The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣, and Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak).

Facts & Assumptions

Given: m≥6, the specified equispaced nodes, and the corresponding cardinal function.

[F1]

Cardinal-polynomial interpolation: ℓm(X)=∏k≠m(X−xk)/(xm−xk), with the omitted-index product ordered as its length-2m list.

[F3]

The factorial n! and the falling factorial nk‾, defined by recursion in N: factorials are products of positive naturals, nk‾ is the product of the top k factors when k≤n, and n!R:=∏j=1nj is the corresponding real product.

[F4]

(nk) k! (n−k)!=n! for k≤n; hence (nk) k!=nk‾, the quotient n!/(k!(n−k)!) is a natural number, and (nk)=(nn−k): for k≤n, the real binomial coefficient is (nk)=n!R/(k!R(n−k)!R), and the natural identity (nk) k!=nk‾ holds.

[F5]

The binomial coefficients are symmetric and increase to the middle level before decreasing: for even r, the coefficient (rr/2) is at least every coefficient in that binomial row.

[F6]

The binomial theorem over an arbitrary commutative ring: (u+v)r=∑k=0r(rk)ukvr−k in every commutative ring.

[F8]

The reals form a totally ordered field: real order is total and compatible with field addition and multiplication by positive numbers.

[F9]

Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak) and The canonical natural ι(n)=n⋅1F of a field: the canonical real images preserve natural addition, multiplication, and order, and carry finite natural sums and products to the corresponding real sums and products.

[F10]

Laws of finite sums and finite products: finite real sums preserve termwise inequalities, and each nonnegative term is at most the sum.

[F11]

Laws of integer exponents: real powers obey the natural exponent laws used to combine 24m with 16m.

Proof

technique · direct
1.1givenF8F9algebra

Put M=m>0. Since xk+1−xk=1/M>0, the nodes increase from −1 to 1, and xm=0. If x∗=xk, then 1=2k; for k=0 the right side is 0, while for k≥1 it is at least 2, by [F8, F9]. Thus x∗ is not a node.

1.2givenF1F3F4F9F11algebra

For k≠m, ∣x∗−xkxm−xk∣=∣12−k∣∣m−k∣. The denominator product is (m!R)2, where m!R=∏j=1mj. In the numerator, the k=0 factor is 1/2 and the remaining factors are k−1/2 for 1≤k≤2m, with k=m omitted. Pairing the odd factors gives ∏0≤k≤2mk≠m∣12−k∣=(4m)!R(2m−1)16m(2m)!R. Using [F3, F4] to rewrite the factorial ratios yields the exact identity ∣ℓm(x∗)∣=(4m2m) (2mm)(2m−1)16m.

1.3givenF2F5F6F7F9F10F11algebra

Apply [F6] in the commutative ring R [F7] with u=v=1. The sum of the rth binomial row is 2r. For r=4m and r=2m, [F5] says the central term is largest; each coefficient is nonnegative by [F2, F9], so [F10] bounds the row sum above by (r+1) times its central term. Consequently (4m2m)≥16m4m+1,(2mm)≥4m2m+1.

1.4givenF2F3F4F6F7F8F9F10algebra

By [F6, F7], 4m=(1+3)m=∑k=0m(mk)3k≥81 (m4). Here every summand is nonnegative by [F2, F8, F9], and the inequality retains the k=4 term using [F10]. From [F3, F4], (m4)=m(m−1)(m−2)(m−3)/24. Since m≥6, each of these four factors is at least m/2, so (m4)≥m4/384. Therefore 4m≥81m4/384.

2.1step 1.2step 1.3F8F9algebra

Substituting step 1.3 in step 1.2 gives ∣ℓm(x∗)∣≥4m(2m−1)(4m+1)(2m+1)≥4m30 m3, because the three denominator factors are at most 2m, 5m and 3m, respectively.

3.1step 2.1step 1.4algebra∎

Combining step 1.4 with step 2.1 yields ∣ℓm(x∗)∣≥81m/(384⋅30)=9m/1280, as claimed.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Existence and uniqueness of the cardinal-polynomial interpolant

Statement

Let n∈N, n≥0, let x0<⋯<xn be distinct real nodes, and let y0,…,yn∈R. Then Iny from Cardinal-polynomial interpolation is the unique real polynomial of degree at most n satisfying p(xi)=yi for every i=0,…,n.

Facts & Assumptions

Given: A natural number n≥0, distinct real nodes x0<⋯<xn, and real data y0,…,yn.

[F1]

Cardinal-polynomial interpolation: ℓj(X)=∏k≠j(X−xk)/(xj−xk) and Iny=∑j=0nyjℓj.

[F2]

Cardinal interpolation functions are polynomials of the stated degrees: Iny is the evaluation of a formal polynomial of degree at most n, and ℓj(xi)=1 for i=j and 0 otherwise.

[F3]

A finite coefficient vector has a canonical polynomial representative: a coefficient vector through index n represents a formal polynomial of degree at most n, whose representative is zero exactly when all coefficients vanish.

[F4]

A nonzero real polynomial of degree n has no more than n distinct real roots: a nonzero real polynomial of degree d has at most d distinct real roots.

[F5]

Laws of finite sums and finite products and The reals form a field: coefficientwise subtraction distributes over the finite evaluation sums, so the vector (ak−bk) evaluates to p−q.

Proof

1.1givenF1F2choosealgebra

By [F2], choose a formal polynomial P of degree at most n (allowing the zero polynomial) whose evaluation p(t):=P(t) equals the function Iny(t) for every real t. At node xi, [F1, F2] give P(xi)=p(xi)=∑j=0nyjℓj(xi)=yi. Thus the formal polynomial P is an interpolant.

2.1givenF3F4F5step 1.1algebra

Let Q be any formal polynomial of degree at most n (allowing zero) with Q(xi)=yi, and denote its evaluation by q(t):=Q(t). Extend the actual coefficient lists of P and Q by zeros through index n (using all-zero vectors for zero polynomials), obtaining vectors (ak) and (bk); these describe their evaluations p and q, not padded formal objects. The vector ck=ak−bk defines by [F3] a formal polynomial r of degree at most n; [F5] gives r(t)=p(t)−q(t) for every real t. Since p and q agree at all nodes by step 1.1 and the choice of q, r has the n+1 distinct roots x0,…,xn. If r were nonzero, [F4] would give at most deg⁡r≤n roots, a contradiction. Hence r is the zero formal polynomial; by [F3], every ak−bk=0. The canonical coefficient lists of P and Q are therefore identical (or both objects are zero), so P=Q, and consequently p=q as evaluation functions.

3.1step 1.1step 2.1∎

This proves that the interpolant from step 1.1 is the unique formal polynomial of degree at most n satisfying the node values.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Barycentric interpolation identities

Statement

Let n∈N, n≥0, let x0<⋯<xn be distinct real nodes, let y0,…,yn∈R, and define ωn,wj,Iny as in Cardinal-polynomial interpolation. For every real x that is not a node, ωn(x)∑j=0nwjx−xj=1,ωn(x)∑j=0nyjwjx−xj=Iny(x). In particular, the denominator sum is nonzero and Iny(x)=∑j=0nyjwj/(x−xj)∑j=0nwj/(x−xj). At a node xi, the interpolant is defined by the separate value Iny(xi)=yi; the quotient is not used there.

Facts & Assumptions

Given: Distinct real nodes x0<⋯<xn, real data y0,…,yn, and a real query x not equal to any node.

[F1]

Cardinal-polynomial interpolation: ωn(X)=∏k=0n(X−xk), wj=(∏k≠j(xj−xk))−1, ℓj(X)=∏k≠j(X−xk)/(xj−xk), and Iny(X)=∑j=0nyjℓj(X).

[F2]

Existence and uniqueness of the cardinal-polynomial interpolant: for any data on these nodes there is exactly one polynomial of degree at most n interpolating them, and it is Iny.

[F3]

Cardinal interpolation functions are polynomials of the stated degrees: ℓj(xi)=1 when i=j and 0 otherwise, and ωn(x)≠0 off the nodes.

[F4]

The reals form a field and Laws of finite sums and finite products: real division by a nonzero number is defined; finite products split into consecutive factors and satisfy ∏k<n(akbk)=(∏k<nak)(∏k<nbk), including the empty-product case.

Proof

1.1givenF1F4algebra

Split the product for ωn(x) before and after index j using [F4]: it is A(x−xj)B, where A=∏k<j(x−xk) and B=∏j<k≤n(x−xk); the omitted numerator product is AB. In the increasing omitted-index order of [F1], the product law [F4] gives ℓj(x)=(∏k≠j(x−xk))(∏k≠j(xj−xk)−1). The second product is wj: multiplying it by ∏k≠j(xj−xk) gives the product of 1's, including the empty case, so it is that product's inverse. Thus ℓj(x)=ABwj=ωn(x)wj/(x−xj), using x≠xj to cancel the nonzero factor.

1.2givenF1F2F3algebra

By [F1], S(X):=∑j=0nℓj(X)=In(1,…,1)(X), so it has degree at most n by [F2]. At each node xi, [F3] gives S(xi)=1. The constant polynomial 1 is another degree-at-most-n interpolant of these data; uniqueness in [F2] gives S(X)=1.

2.1givenF3F4step 1.1step 1.2algebra

Summing the identities of step 1.1 over j gives ωn(x)∑j=0nwj/(x−xj)=∑j=0nℓj(x)=1 by step 1.2. Since ωn(x)≠0 by [F3], the denominator sum equals 1/ωn(x) and is nonzero by the field laws [F4].

3.1givenF1F2F4step 1.1step 2.1algebra∎

Multiplying step 1.1 by yj and summing gives ωn(x)∑j=0nyjwj/(x−xj)=∑j=0nyjℓj(x)=Iny(x) by [F1]. Dividing this identity by the nonzero identity in step 2.1 proves the quotient formula. At xi, [F2] gives Iny(xi)=yi, which is the separate node value stated above.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Pointwise Lagrange interpolation remainder

Statement

Let n∈N, n≥0, let a<b, let x0<⋯<xn lie in [a,b], and let f∈Cn+1([a,b],R) with the convention of Higher derivatives and the classes Ck and C∞. Put p=Inf and ωn(X)=∏j=0n(X−xj) as in Cardinal-polynomial interpolation. If x=xj for a node, then f(x)−p(x)=0. If x∈[a,b] is not a node, there is ξ∈(min⁡{x,x0},max⁡{x,xn}) such that f(x)−p(x)=f(n+1)(ξ)(n+1)!R ωn(x), where (n+1)!R:=∏j=1n+1j, with each natural factor read as its canonical real image under The canonical natural ι(n)=n⋅1F of a field.

Facts & Assumptions

Given: A natural n≥0, a nondegenerate closed interval [a,b], distinct nodes x0<⋯<xn in that interval, f∈Cn+1([a,b],R), and a query x∈[a,b].

[F1]

Cardinal-polynomial interpolation: ωn(X)=∏j=0n(X−xj), ℓj(X)=∏k≠j(X−xk)/(xj−xk), and Inf=∑j=0nf(xj)ℓj.

[F2]

Existence and uniqueness of the cardinal-polynomial interpolant: Inf is a polynomial of degree at most n and satisfies Inf(xj)=f(xj) at every node.

[F3]

Higher derivatives and the classes Ck and C∞: f∈Cn+1([a,b]) means its derivatives through order n+1 exist on [a,b] (one-sided at endpoints) and are continuous there.

[F4]

Higher-order Rolle theorem: if m∈N, m≥1, z0<⋯<zm, g is continuous on [z0,zm], m-times differentiable on (z0,zm), and g(zj)=0 for all j, then g(m)(η)=0 for some η∈(z0,zm).

[F5]

The highest derivative of a polynomial: if q(X)=∑k=0makXk has degree at most m, then q(m)(t)=amm!R; the coefficient am is zero when deg⁡q<m, and it is 1 when q is monic of degree m.

[F6]

Sums, scalar multiples, products and quotients: (f+g)′(c)=f′(c)+g′(c), (αf)′(c)=αf′(c), (fg)′(c)=f′(c)g(c)+f(c)g′(c), and (f/g)′(c)=(f′(c)g(c)−f(c)g′(c))/g(c)2 when g(c)≠0: at a limit point of a common domain, sums and scalar multiples of differentiable functions are differentiable with the sum and scalar-multiple derivative rules; the hypotheses and conclusion also apply to their restrictions to intervals.

[F8]

Cardinal interpolation functions are polynomials of the stated degrees: Inf is a polynomial function of degree at most n, ωn is monic of degree n+1, and ωn(x)≠0 off the nodes.

[F9]

The factorial n! and the falling factorial nk‾, defined by recursion in N and Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak): the real product m!R=∏j=1mj is the canonical real image of the nonzero natural factorial m!; thus it is nonzero, and The reals form a field supplies its inverse.

Proof

1.1givenF2algebra

If x=xj for some node, [F2] gives p(x)=f(x), so the error is zero.

1.2givenF1F2F8construct

Suppose x is not a node. By [F8], ωn(x)≠0, so set c=(f(x)−p(x))/ωn(x) and define g(t)=f(t)−p(t)−cωn(t) on [a,b]. At every node xj, [F2] gives f(xj)=p(xj) and [F1] gives ωn(xj)=0, so g(xj)=0; by the choice of c, also g(x)=0.

1.3F5F8algebra

By [F8], ωn is monic of degree n+1 and p has degree at most n, so their coefficients at degree n+1 are respectively 1 and 0. Applying [F5] to these two polynomials gives p(n+1)(ξ)=0 and ωn(n+1)(ξ)=(n+1)!R.

2.1givenstep 1.2F3F4F5F6F7F8choose

Sort the n+2 distinct points consisting of the nodes and x as z0<⋯<zn+1. The function f is Cn+1 by [F3]; p has degree at most n and ωn has degree n+1 by [F8]. Their iterated derivatives through order n+1 exist by [F5]. Repeated application of the sum and scalar-multiple rules [F6] shows that g is (n+1)-times differentiable on (z0,zn+1). Also, f is continuous by [F3], the polynomial functions p and ωn are continuous by [F7], and the finite linear combination defining g is continuous on [z0,zn+1] by [F7]. Apply [F4] with m=n+1 to the zeros from step 1.2. This yields ξ∈(z0,zn+1) with g(n+1)(ξ)=0.

3.1step 2.1step 1.3F6F9algebra

Differentiate the defining identity for g n+1 times at ξ. Step 2.1 licenses these derivatives and [F6] preserves the linear combination, so 0=g(n+1)(ξ)=f(n+1)(ξ)−c(n+1)!R. By [F9] the factorial factor is nonzero, so c=f(n+1)(ξ)/(n+1)!R.

4.1step 1.2step 2.1step 3.1algebra∎

Substituting the value of c into its definition in step 1.2 gives the claimed remainder formula. Since z0=min⁡{x,x0} and zn+1=max⁡{x,xn}, ξ lies in the stated interval.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableprecheck pendingjudge pass (gpt-6-luna)Open item page →

Finite barycentric interpolation evaluator

Definition

The inputs are a natural number n≥0, a floating-point system (F,Nmin⁡,Nmax⁡,fl⁡) satisfying The standard relative floating-point model and unit roundoff, finite arrays X and Y of real candidate nodes and data, and a real query x. No length assumption is imposed on X or Y; their intended lengths are n+1, which the procedure checks. The output is either a record with status success and a value in F, or one of the statuses invalid_nodes, invalid_data, and range_failure.

Use checked operations as follows. For a,b∈F and ∘∈{+,−,×,÷}, return range_failure if division has b=0 or if the exact real result a∘b is nonzero and outside the normal range Nmin⁡≤∣a∘b∣≤Nmax⁡. Otherwise return fl⁡(a∘b), using the exact-zero rule when the result is zero. Each checked operation has the tagged outcome either range_failure or a value in F; if an operation in a displayed sequence returns range_failure, stop before evaluating the next operation and return that status. Thus fl⁡ is called only on arguments in the domain of the stated model.

Procedure:

  1. If the node array has length other than n+1, any node is not in F, or the nodes are not strictly increasing, return invalid_nodes. If the data array has length other than n+1, or any data value or the query is not in F, return invalid_data.
  2. If x=xi for some i, return success with value yi.
  3. If 1∉F, return range_failure. Otherwise, for each j=0,…,n, initialize dj=1. For each k=0,…,n with k≠j, compute δ=checked⁡−(xj,xk) and then replace dj by checked⁡×(dj,δ). After this inner loop set wj=checked⁡÷(1,dj). Any checked-operation failure returns range_failure.
  4. Initialize N=0 and D=0. For each j=0,…,n, compute δj=checked⁡−(x,xj), uj=checked⁡÷(checked⁡×(wj,yj),δj), and vj=checked⁡÷(wj,δj). Replace N by checked⁡+(N,uj) and D by checked⁡+(D,vj). Any checked-operation failure returns range_failure.
  5. If D=0, return range_failure. Otherwise return success with value checked⁡÷(N,D), 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.

PropositionStatement: Literature-sourcedProof: AI-adaptedOpen item page →

The finite barycentric evaluator terminates with an explicit status

Statement

For every input tuple of Finite barycentric interpolation evaluator, the procedure terminates and returns one of its declared statuses. If it returns success, its value is an element of the supplied floating-point set F. The statement asserts no accuracy or forward-error bound.

Facts & Assumptions

Given: The finite arrays, query, and floating-point system supplied to the algorithm.

[F1]

Finite barycentric interpolation evaluator: the procedure loops over the finite index sets 0,…,n, each checked operation returns either an in-range rounded value or range_failure, and each detected failure branch returns immediately.

Proof

1.1givenF1

The procedure first checks the length of X and, if it is correct, scans its n+1 node candidates for membership in F and strict order; any failure returns invalid_nodes. If those checks pass, it checks the length of Y and, if it is correct, scans its n+1 data values and the query for membership; any failure returns invalid_data. These checks are finite. Otherwise the exact-node branch returns a data value in F. For an off-node query, the procedure next checks whether 1∈F: if not, it returns range_failure before initializing any arithmetic with 1; if so, it proceeds to weight construction.

2.1givenF1step 1.1

After the guard in step 1.1, 1∈F, so each initial dj=1 and each reciprocal numerator 1 is in the checked-operation domain. Every successful checked operation returns an element of F, preserving that domain for the next operation. Weight construction visits at most (n+1)n node pairs and performs finitely many such operations; any failure returns range_failure immediately, so this stage terminates.

3.1F1step 2.1

If weight construction completes, the evaluation loop starts with accumulators N=D=0∈F and visits at most n+1 terms. Every checked operation either returns a value in F or exits with range_failure. If the loop completes, a zero denominator returns range_failure; otherwise the checked final division either returns range_failure or returns success with a value in F.

4.1step 1.1step 2.1step 3.1∎

These cases exhaust the procedure's branches and every loop is finite, so every input terminates with a declared status.

5 · Examples, counterexamples and false statements

None yet.

Sources