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.

✓ 7 results · all verified · 6 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. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Numerical differentiation and derivative error control

1 · Prerequisites

2 · Summary

This page defines forward and central difference stencils and proves their truncation and bounded-evaluation-error bounds. It derives the balancing steps for the displayed error bounds, gives a fourth-order Taylor remainder for central differences, and proves the corresponding Richardson estimate. The complex-step bound applies only to holomorphic extensions that are real on a real interval; errors in the imaginary component are divided by the step. A structural column coloring recovers a Jacobian only when the declared row supports safely contain all nonzeros and no row has a color collision. Directional Jacobian-vector and Hessian-vector differences retain their Taylor terms and deterministic or random evaluation errors. These derivative estimates do not establish Newton convergence without a separate perturbation theorem.

3 · Logical flowchart

4 · Definitions, theorems and proofs

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

The complex-step derivative estimator and its component-error model

Definition

Let U⊆C be open, x∈U∩R, and h>0 with x+ih∈U. For a holomorphic f:U→C that is real-valued on some real interval I⊆U∩R containing x, the complex-step estimate is

Chf(x):=Im⁡f(x+ih)h.

For an inexact complex evaluation f^(x+ih), define its imaginary-component error by δim:=∣Im⁡f^(x+ih)−Im⁡f(x+ih)∣. The inexact estimate is C^hf(x):=Im⁡f^(x+ih)/h; its evaluation-error contribution is controlled by δim/h. No claim is made that arbitrary code representing a real function has a holomorphic extension.

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

Forward and central difference stencils with bounded evaluation errors

Definition

Let I⊆R be open, x∈I, and h>0. When x+h∈I, the forward difference of f:I→R is

Dh+f(x):=f(x+h)−f(x)h.

When x−h,x+h∈I, the central difference is

Dh0f(x):=f(x+h)−f(x−h)2h.

An evaluation with absolute error bound δ≥0 is a value f^(y)=f(y)+ey with ∣ey∣≤δ at each requested point y. The corresponding inexact quotients are obtained by replacing each f(y) in the displayed stencil by f^(y). The bound is absolute and applies separately to each call; no correlation or relative-error assumption is included.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Forward and central finite-difference Jacobian-vector and Hessian-vector products

Definition

Let m,n≥1, U⊆Rn be open, x∈U, F:U→Rm, f:U→R, and let v∈Rn. Use the Jacobian JF(x) and gradient ∇f(x) of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case, the Hessian Hf(x) of The Hessian matrix and critical points of a scalar field, and the published Euclidean vector norm ∥⋅∥2 of The p-norms ∥x∥p for rational p≥1, and ∥x∥∞. The Jacobian-vector products below require JF(x) to exist, and the Hessian-vector products require Hf(x) to exist. Each gradient-difference Hessian-vector estimate also requires ∇f to exist at every point in its stencil. The exact products are JF(x)v and Hf(x)v, respectively.

For h>0 with the required points in U, define the forward and central Jacobian-vector estimates

Jh+(F,x,v):=F(x+hv)−F(x)h,Jh0(F,x,v):=F(x+hv)−F(x−hv)2h,

and the gradient-difference Hessian-vector estimates

Hh+(f,x,v):=∇f(x+hv)−∇f(x)h,Hh0(f,x,v):=∇f(x+hv)−∇f(x−hv)2h.

For each requested vector value z(y), write an inexact evaluation as z^(y)=z(y)+e. When an error bound is specified, it is per call: ∥e∥2≤δ for that call's δ≥0. Errors may be dependent or random; a stated bound on a random error is understood to hold almost surely. Define the inexact estimates by substitution:

J^h+(F,x,v):=F^(x+hv)−F^(x)h,J^h0(F,x,v):=F^(x+hv)−F^(x−hv)2h,

H^h+(f,x,v):=∇f^(x+hv)−∇f^(x)h,H^h0(f,x,v):=∇f^(x+hv)−∇f^(x−hv)2h.

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

The column-interference graph and collision-free coloring for a sparse Jacobian

Definition

Let m,n≥1, U⊆Rn be open, F:U→Rm be differentiable at x∈U, and J:=JF(x) be its Jacobian as defined in The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case. A structural row pattern is a list of sets Si⊆{0,…,n−1}, one for each row 0≤i<m, such that Jij=0 whenever j∉Si. It is a safe pattern only when every actual nonzero lies in the declared support.

The column-interference graph has vertices 0,…,n−1 and an edge between distinct columns j,k exactly when some row support Si contains both. A proper coloring is a map χ:{0,…,n−1}→C to a set of color labels such that adjacent columns have different labels. For a color c∈C, its seed vector sc∈Rn has coordinate sjc=1 when χ(j)=c and 0 otherwise. The compressed product is Jsc.

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

A bounded fifth derivative gives the central-difference expansion required by Richardson extrapolation

Statement

Let I⊆R be open, let x∈I, and let h>0 with [x−h,x+h]⊂I. Suppose f∈C5 on a neighborhood of this interval and ∣f(5)(y)∣≤M5 throughout it. Then for some real rh,

Dh0f(x)=f′(x)+c2h2+rh,c2:=f′′′(x)6,∣rh∣≤M5h4120.

The same coefficient c2 works for every admissible h at the fixed point x.

Facts & Assumptions

Given: The domain, smoothness and fifth-derivative bound in the statement.

[F1]

Forward and central difference stencils with bounded evaluation errors: Dh0f(x)=(f(x+h)−f(x−h))/(2h) for h>0 with both stencil points in the domain.

[F2]

The Lagrange and Cauchy forms of Taylor's remainder and Taylor polynomials and their remainders: for a C5 function on the interval, the remainder after the degree-4 Taylor polynomial at x is f(5)(ξ)(y−x)5/5! at an intermediate point ξ.

[F3]

Absolute value in an ordered field and Basic properties of the absolute value: absolute values are nonnegative and ∣−r∣=∣r∣.

[F4]

The triangle inequality: ∣r+s∣≤∣r∣+∣s∣.

Proof

Given: The hypotheses listed above.

1.1givenF2algebra

Apply [F2] at x to x+h and x−h. The degree-four Taylor polynomials subtract to 2hf′(x)+h3f′′′(x)/3, because the constant, quadratic and fourth-degree terms agree at the two endpoints. Each remainder has magnitude at most M5h5/120.

2.1givenF1F3F4step 1.1algebra∎

By [F3]–[F4], the difference of the two remainders has magnitude at most 2M5h5/120. Divide the subtracted expansion by 2h and use [F1]: the remainder in Dh0f(x) is bounded by M5h4/120, and the cubic term becomes f′′′(x)h2/6.

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

Complex-step differentiation is second-order for holomorphic functions real on the real axis

Statement

Let U⊆C be open, let x∈U∩R, and suppose f:U→C is holomorphic, real-valued on a real interval I⊆U∩R around x, and {x+it:0≤t≤h}⊂U for h>0. Suppose ∣Re⁡f′′′(x+it)∣≤M3 for 0≤t≤h, with M3≥0. Then

∣Chf(x)−f′(x)∣≤M3h26.

If the evaluated imaginary component has error at most δim, then

∣C^hf(x)−f′(x)∣≤M3h26+δimh.

Holomorphy and real-axis reality are essential to the formula: real differentiability of the restriction alone is insufficient.

Facts & Assumptions

Given: The domain, holomorphy, real-axis reality, third-derivative bound, step and evaluation-error hypotheses in the statement.

[F1]

The complex-step derivative estimator and its component-error model: Chf(x)=Im⁡f(x+ih)/h, and an imaginary-component evaluation error δim contributes at most δim/h.

[F2]

Complex differentiability at a point, the complex derivative, holomorphic functions, and entire functions: holomorphy means complex differentiability at every point, with derivative given by the limit of complex difference quotients.

[F3]

Complex differentiability is equivalent to real total differentiability together with a complex-linear derivative, with ∂zˉf=0, or with the Cauchy–Riemann equations: if f=u+iv is holomorphic, then f′=ux+ivx=vy−iuy and ux=vy, uy=−vx.

[F4]

Holomorphic functions are real analytic and smooth in their two real coordinates: the real and imaginary coordinate functions of a holomorphic function are Ck for every natural k.

[F5]

All higher complex derivatives exist and satisfy Cauchy's integral formula on an interior circle and If a holomorphic function has C2 components, then its derivative is holomorphic: all iterated complex derivatives exist locally; if a holomorphic function has C2 coordinate functions, its derivative is holomorphic.

[F6]

The Lagrange and Cauchy forms of Taylor's remainder and Taylor polynomials and their remainders: a real C3 function on the interval equals its degree-2 Taylor polynomial plus g′′′(ξ)h3/3! for an intermediate ξ.

[F7]

Real and imaginary parts, complex conjugation, and modulus: Re⁡ and Im⁡ are the real and imaginary coordinates of a complex number.

[F8]

Absolute value in an ordered field and Basic properties of the absolute value: absolute value is nonnegative and ∣ab∣=∣a∣ ∣b∣.

[F9]

The triangle inequality: ∣a+b∣≤∣a∣+∣b∣ for real a,b.

Proof

Given: The hypotheses listed above.

1.1givenF3F4F5construct

Put g(t):=Im⁡f(x+it) for 0≤t≤h. By [F4], its coordinate functions are smooth. By [F3], g′(t)=vy(x,t)=ux(x,t)=Re⁡f′(x+it). If q=p+ir is holomorphic, [F3] gives ∂yp=−∂xr=−Im⁡q′ and ∂yr=∂xp=Re⁡q′. Applying [F5] to f and then to f′ makes f′ and f′′ holomorphic, so these identities give g′′(t)=−Im⁡f′′(x+it) and g′′′(t)=−Re⁡f′′′(x+it).

2.1givenF2step 1.1algebra

At real arguments near x, f is real by hypothesis, so its real-direction difference quotients show that f′ is real there; applying the same argument to the holomorphic function f′ shows that f′′ is real there. Thus g(0)=0, g′(0)=f′(x), and g′′(0)=−Im⁡f′′(x)=0. By step 1.1, ∣g′′′(t)∣≤M3 on [0,h].

3.1givenF1F6F7F8step 2.1algebra

Apply [F6] to g from 0 to h. For some ξ∈(0,h), g(h)=hf′(x)+g′′′(ξ)h3/6. Since h>0, [F8] gives ∣g(h)/h−f′(x)∣=∣g′′′(ξ)∣h2/6≤M3h2/6. By [F1] and [F7], g(h)/h=Chf(x), proving the exact complex-step error bound.

4.1givenF1F8F9step 3.1algebra∎

By [F1] and [F8], ∣C^hf(x)−Chf(x)∣≤δim/h. [F9] and step 3.1 give the inexact bound.

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

Forward and central differences have first- and second-order error bounds

Statement

Let I⊆R be open, x∈I, and h>0. For the forward bound assume [x,x+h]⊂I, f∈C2 on a neighborhood of that interval, and ∣f′′(y)∣≤M2 there. For the central bound assume [x−h,x+h]⊂I, f∈C3 on a neighborhood of that interval, and ∣f′′′(y)∣≤M3 there. Then

∣Dh+f(x)−f′(x)∣≤M2h2,∣Dh0f(x)−f′(x)∣≤M3h26.

If each function evaluation has absolute error at most δ≥0 as in Forward and central difference stencils with bounded evaluation errors, then

∣D^h+f(x)−f′(x)∣≤M2h2+2δh,∣D^h0f(x)−f′(x)∣≤M3h26+2δh.

For the central stencil the evaluation contribution is in fact at most δ/h; the displayed 2δ/h is a uniform conservative bound for both stencils.

Facts & Assumptions

Given: The interval, step, smoothness, derivative bounds and evaluation-error hypotheses in the statement.

[F1]

Forward and central difference stencils with bounded evaluation errors: Dh+f(x)=(f(x+h)−f(x))/h and Dh0f(x)=(f(x+h)−f(x−h))/(2h); each inexact value is f(y)+ey with ∣ey∣≤δ.

[F2]

The Lagrange and Cauchy forms of Taylor's remainder and Taylor polynomials and their remainders: for a Cn+1 function on the interval, f(y) is its degree-n Taylor polynomial at a plus f(n+1)(ξ)(y−a)n+1/(n+1)! for some intermediate ξ.

[F3]

Absolute value in an ordered field and Basic properties of the absolute value: absolute value is nonnegative, and ∣−r∣=∣r∣ for real r.

[F4]

The triangle inequality: ∣r+s∣≤∣r∣+∣s∣ for real r,s.

Proof

Given: The hypotheses listed above.

1.1givenF1F2algebra

Apply [F2] with n=1, a=x, and y=x+h. Then f(x+h)=f(x)+hf′(x)+h2f′′(ξ)/2 for some ξ∈(x,x+h). Substituting into [F1] gives Dh+f(x)−f′(x)=hf′′(ξ)/2, so the forward truncation bound follows.

1.2givenF1F2F3F4algebra

Apply [F2] with n=2 to y=x+h and y=x−h. Subtracting the two expansions cancels the equal even-order terms and gives Dh0f(x)−f′(x)=h2(f′′′(ξ+)+f′′′(ξ−))/12 for intermediate points ξ+∈(x,x+h) and ξ−∈(x−h,x). The derivative bound and [F3]–[F4] give magnitude at most M3h2/6.

2.1givenF1F3F4step 1.1algebra

Write the forward evaluation errors as e+=ex+h and e0=ex. By [F1], D^h+−Dh+=(e+−e0)/h; [F3]–[F4] bound its magnitude by 2δ/h. The triangle inequality with step 1.1 proves the forward inexact bound.

3.1givenF1F3F4step 1.2algebra∎

Write the central errors as e+=ex+h and e−=ex−h. Then D^h0−Dh0=(e+−e−)/(2h), whose magnitude is at most δ/h by [F1], [F3] and [F4], hence at most 2δ/h. Combining with step 1.2 proves the stated central inexact bound.

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

Directional Jacobian and Hessian differences retain Taylor and evaluation-noise errors

Statement

Let m,n≥1, U⊆Rn be open, x∈U, v∈Rn, and h>0 with the required line segments contained in U. Use the estimators of Forward and central finite-difference Jacobian-vector and Hessian-vector products. For a vector-valued map, F∈Ck(U) means that each component Fi is in Ck(U). For F∈C2, suppose each component gi(t):=Fi(x+tv) satisfies ∣gi′′(t)∣≤b2,i for 0≤t≤h, with b2,i≥0; put M2,F:=(∑i<mb2,i2)1/2. For F∈C3, suppose ∣gi′′′(t)∣≤b3,i for −h≤t≤h, with b3,i≥0; put M3,F:=(∑i<mb3,i2)1/2. Then

∥Jh+(F,x,v)−JF(x)v∥2≤M2,Fh/2,∥Jh0(F,x,v)−JF(x)v∥2≤M3,Fh2/6.

For f∈C3, set qj(t):=∂jf(x+tv), suppose ∣qj′′(t)∣≤a2,j on [0,h], with a2,j≥0, and put M2,H:=(∑j<na2,j2)1/2. For f∈C4, suppose ∣qj′′′(t)∣≤a3,j on [−h,h], with a3,j≥0, and put M3,H:=(∑j<na3,j2)1/2. Then

∥Hh+(f,x,v)−Hf(x)v∥2≤M2,Hh/2,∥Hh0(f,x,v)−Hf(x)v∥2≤M3,Hh2/6.

If each vector evaluation has Euclidean error at most δ, the forward evaluation contribution is at most 2δ/h and the central contribution at most δ/h (hence also at most 2δ/h). For a scalar output coordinate on a common probability space, suppose its two square-integrable evaluation noises are centered, with variances σ12,σ02 and covariance c. Their forward-difference noise variance is (σ12+σ02−2c)/h2; the central formula has the same numerator divided by 4h2. If these centered noises are independent and both have variance σ2, then the formulas reduce to 2σ2/h2 forward and σ2/(2h2) central. No variance sum or root-sum-square total-error claim is made without the stated centering and covariance information.

If every evaluation call used in a given estimate has Euclidean error at most a common δ≥0, then the inexact estimates of Forward and central finite-difference Jacobian-vector and Hessian-vector products satisfy

∥J^h+(F,x,v)−JF(x)v∥2≤M2,Fh/2+2δ/h,∥J^h0(F,x,v)−JF(x)v∥2≤M3,Fh2/6+δ/h,

∥H^h+(f,x,v)−Hf(x)v∥2≤M2,Hh/2+2δ/h,∥H^h0(f,x,v)−Hf(x)v∥2≤M3,Hh2/6+δ/h.

The central evaluation contribution is at most δ/h, so the conservative 2δ/h contribution is also valid for the central estimates.

Facts & Assumptions

Given: The domains, smoothness, component derivative bounds and evaluation-error hypotheses in the statement.

[F1]

Forward and central finite-difference Jacobian-vector and Hessian-vector products: the exact products and four directional estimators are as stated there; the inexact estimates replace each function or gradient evaluation by its inexact value, with error bounds applying per call.

[F2]

Repeated derivatives along a line expand by the multinomial formula: for a Ck scalar field on an open set, derivatives of its restriction to an affine line are the corresponding directional partial-derivative sums through order k.

[F3]

Continuous mixed partials of order k are invariant under permutations: for a Ck scalar field and k≥2, permuting the order of the k coordinate differentiations does not change the result.

[F4]

The Lagrange and Cauchy forms of Taylor's remainder and Taylor polynomials and their remainders: for a real C2 or C3 function on an interval, the remainder after degree 1 or degree 2 is g′′(ξ)h2/2 or g′′′(ξ)h3/6.

[F5]

The p-norms ∥x∥p for rational p≥1, and ∥x∥∞ and Each ∥⋅∥p is a norm on Rn, and the induced metrics are exactly d1, d2 and d∞ of the published metric-spaces page: for nonempty finite-dimensional real output vectors, ∥⋅∥2 is the Euclidean norm and obeys the triangle inequality and absolute homogeneity.

[F6]

Moments, variance, and covariance on a probability space and Variance and covariance identities for random variables: variance and covariance are centered second moments, and covariance is symmetric and bilinear on finite linear combinations of square-integrable real random variables.

[F7]

Expectations factor over finite products of independent random variables: expectations of products of integrable functions of independent real random variables factor into products of expectations.

[F8]

Absolute value in an ordered field and Basic properties of the absolute value: ∣r∣≥0 and ∣rs∣=∣r∣ ∣s∣ for real r,s.

[F9]

On a probability space, every square-integrable real random variable X is integrable: 2∣X∣≤1+X2 gives 2E∣X∣≤1+E[X2]<∞.

Proof

Given: The hypotheses listed above.

1.1givenF1F2F4F5F8algebra

For each component i, [F2] identifies gi′(0)=(JF(x)v)i. Apply [F4] through degree 1 on [0,h] to obtain ∣(Jh+)i−(JF(x)v)i∣≤b2,ih/2. By [F8], these absolute values and bounds are nonnegative; squaring preserves their order because b2−a2=(b−a)(b+a)≥0 when 0≤a≤b. Sum over i<m and use [F5] and the definition of M2,F to obtain the stated Euclidean vector bound.

1.2givenF1F5algebra

For either the Jacobian-vector or gradient-difference Hessian-vector estimate, the forward evaluation perturbation is (e1−e0)/h. [F5] bounds its norm by (∥e1∥2+∥e0∥2)/h≤2δ/h. For the central quotient the denominator is 2h, giving δ/h.

1.3givenF6F7F9algebra

For centered square-integrable coordinate noises E1,E0, [F6] and the definitions of variance and covariance give Var⁡(E1−E0)=Cov⁡(E1−E0,E1−E0). Bilinearity and symmetry then yield σ12+σ02−2c. Dividing by h2 or (2h)2 gives the forward and central formulas. If the noises are independent with common variance σ2, [F9] makes them integrable, so [F7] gives E[E1E0]=E[E1]E[E0]=0; their covariance is 0 by [F6], yielding 2σ2/h2 and σ2/(2h2).

2.1givenF1F2F4F5F8step 1.1algebra

For each component i, apply [F4] through degree 2 at both h and −h to gi. The constant and quadratic terms cancel in the central quotient, leaving ∣(Jh0)i−(JF(x)v)i∣≤b3,ih2/6. The same nonnegative-square comparison from step 1.1, [F8], and the sum defining M3,F give the central Jacobian-vector bound by [F5].

2.2givenF1F2F3F4F5step 1.1algebra

For qj(t)=∂jf(x+tv), [F2] gives qj′(0)=∑k∂k∂jf(x)vk. By [F3] and the Hessian convention in [F1], this equals (Hf(x)v)j. Applying [F4] through degree 1 to each qj yields the component forward bound a2,jh/2; the nonnegative-square comparison from step 1.1 gives the sum bound, and [F5] then yields ∥Hh+−Hfv∥2≤M2,Hh/2.

2.3givenF1F2F3F4F5step 1.1algebra

Applying [F4] through degree 2 at h and −h to each qj cancels the even terms and yields component error at most a3,jh2/6. The same nonnegative-square comparison from step 1.1, together with [F5], gives the central Hessian-vector bound.

3.1step 1.1step 2.1step 2.2step 2.3step 1.2step 1.3F5∎

Combining the two Jacobian-vector truncation bounds in steps 1.1 and 2.1, the two Hessian-vector truncation bounds in steps 2.2 and 2.3, and the corresponding evaluation bounds in step 1.2 by the Euclidean triangle inequality [F5] gives all four hatted-estimate bounds in the Statement. For random errors, the covariance identity in step 1.3 applies; absent centering/covariance hypotheses no root-sum-square conclusion follows.

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

A collision-free column coloring recovers every structurally sparse Jacobian entry

Statement

Let the objects and notation be those of The column-interference graph and collision-free coloring for a sparse Jacobian, and suppose χ is a proper coloring of the graph of a safe structural row pattern. For every row 0≤i<m, every color c, and every column j∈Si with χ(j)=c,

Jij=(Jsc)i.

Entries with j∉Si are zero by the safe-pattern hypothesis. Thus all entries are recovered from one compressed product per color. A color collision in a row does not give a general recovery guarantee: two distinct Jacobians supported on that colliding row can have the same compressed product.

Facts & Assumptions

Given: A differentiable map, its Jacobian, a safe row pattern and a proper coloring as in the statement.

[F1]

The column-interference graph and collision-free coloring for a sparse Jacobian: Jij=0 outside Si; an edge joins columns that share some Si; a proper coloring assigns different colors to adjacent columns; and sc is the indicator of color c.

[F2]

The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: the Jacobian entries are the partial derivatives Jij=∂jFi(x).

[F3]

Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes: for an m×n matrix A and a vector v∈Rn, (Av)i=∑j<nAijvj.

[F4]

A finite sum in a commutative monoid indexed by an arbitrary finite set and Semigroup and monoid: a finite sum is independent of its enumeration, the empty sum is 0, and addition is associative with identity 0.

Proof

Given: The hypotheses listed above.

1.1givenF1F3F4algebra

For a fixed row i and color c, [F3] gives (Jsc)i=∑j<nJijsjc. By [F1], a summand can be nonzero only when j∈Si and χ(j)=c. [F4] makes this an order-independent finite sum with zero terms off that set.

2.1givenF1F4step 1.1algebra

If two distinct columns of Si had color c, the graph definition in [F1] would make them adjacent, contradicting proper coloring. Thus at most one summand in step 1.1 is nonzero. If the specified j∈Si has color c, it is that sole summand and equals Jij because sjc=1; if no such column exists, every summand is zero and the row product is 0 by [F4]. Entries outside the safe pattern are zero by [F1].

3.1F1F2F3constructalgebra∎

To verify the collision caveat, let F(z0,z1)=z0+2z1 and G(z0,z1)=3z0, and evaluate both Jacobians at (0,0). By [F2], their one-row Jacobians are (1,2) and (3,0), both supported in S0={0,1}. Assign columns 0 and 1 the same color, whose seed is (1,1)T by [F1]. Both compressed products equal 3 by [F3], so this color collision cannot determine the entries.

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

Richardson extrapolation for a central difference with a fourth-order remainder

Definition

For a function f with the values required by the central stencils at x±h and x±h/2, the Richardson extrapolated central difference is

Rhf(x):=4Dh/20f(x)−Dh0f(x)3.

Its fourth-order error guarantee is conditional on a uniform expansion with a remainder bounded by a constant times h4; that condition is stated and proved from a bounded fifth derivative in A bounded fifth derivative gives the central-difference expansion required by Richardson extrapolation.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

The forward and central error bounds have explicit balancing steps

Statement

Let H>0. Consider the conservative error bounds from Forward and central differences have first- and second-order error bounds on a permitted step interval (0,H], where every stencil with h≤H stays inside the domain. If M2>0 and δ>0, the forward bound

E+(h)=M2h/2+2δ/h

has the unique unconstrained minimizer h+=4δ/M2 and minimum 2M2δ. On (0,H] the minimizer is min⁡{h+,H}. If M3>0 and δ>0, the central conservative bound

E0(h)=M3h2/6+2δ/h

has the unique unconstrained minimizer h0=6δ/M33 and minimum M3h02/2; on (0,H] the minimizer is min⁡{h0,H}. These optimize the displayed error bounds, not the unknown actual error.

If δ=0 and the corresponding truncation constant is positive, the bound has infimum 0 as h↓0 and no minimizer for h>0. If the corresponding truncation constant is 0 and δ>0, the bound decreases with h, so its capped minimum is at H. If δ and the corresponding truncation constant are both zero, every permitted step is optimal.

Facts & Assumptions

Given: The derivative bounds, evaluation-error bound and permitted cap described above.

[F1]

Forward and central differences have first- and second-order error bounds: the forward and central conservative bounds are M2h/2+2δ/h and M3h2/6+2δ/h.

Proof

Given: The hypotheses listed above.

1.1givenF1F2algebra

Set r:=h/h+>0. The identity h+2=4δ/M2 gives E+(h)=M2h+2(r+r−1), while E+(h+)=M2h+. Since r+r−1−2=(r−1)2/r≥0, equality holds exactly at r=1. Thus h+ is the unique unconstrained minimizer and its value is 2M2δ.

1.2givenF1F2algebra

Set r:=h/h0 and a:=M3h02/6>0. From h03=6δ/M3, E0(h)=a(r2+2/r) and E0(h0)=3a. The difference is a(r2+2/r−3)=a(r−1)2(r+2)/r≥0, with equality only at r=1. Thus h0 uniquely minimizes the unconstrained bound, and the minimum is 3a=M3h02/2.

2.1givenstep 1.1algebra

If 0<r1<r2≤1, then (r1+r1−1)−(r2+r2−1)=(r2−r1)(1/(r1r2)−1)>0, since r1r2<1. Hence E+ strictly decreases up to h+; the global bound from step 1.1 gives the cap minimizer min⁡{h+,H}.

2.2givenstep 1.2algebra

If 0<r1<r2≤1, then (r12+2/r1)−(r22+2/r2)=(r2−r1)(2/(r1r2)−(r1+r2))>0, since r1r2<1 and r1+r2<2. Hence the central bound strictly decreases up to h0, so the cap minimizer is min⁡{h0,H}.

3.1givenF1algebra∎

If δ=0 and the corresponding truncation constant is positive, the bound in [F1] is a positive multiple of h or h2 and has infimum 0 as h↓0, not attained for h>0. If a truncation constant is 0 and δ>0, the bound is a positive multiple of h−1 and decreases to 0 as h→∞, while on a permitted capped interval it is minimized at H. If both constants vanish the bound is identically zero.

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

Richardson extrapolation cancels the second-order term with a fourth-order remainder

Statement

Let I⊆R be open, x∈I, and h>0 with [x−h,x+h]⊂I. Suppose that for every 0<t≤h the central difference has the actual uniform expansion

Dt0f(x)=f′(x)+c2t2+rt,∣rt∣≤Mt4,

where c2 and M≥0 do not depend on t. Then the Richardson estimate of Richardson extrapolation for a central difference with a fourth-order remainder satisfies

∣Rhf(x)−f′(x)∣≤5Mh412.

In particular, under A bounded fifth derivative gives the central-difference expansion required by Richardson extrapolation the bound holds with c2=f′′′(x)/6 and M=M5/120, giving ∣Rhf(x)−f′(x)∣≤M5h4/288. If each of the four function values at x±h/2 and x±h is evaluated as f^(y)=f(y)+ey with ∣ey∣≤δ, define R^hf(x) by replacing those four values in Rhf(x) by their evaluations. Then

∣R^hf(x)−f′(x)∣≤5Mh412+3δh.

Facts & Assumptions

Given: The uniform expansion and evaluation-error bounds above.

[F1]

Richardson extrapolation for a central difference with a fourth-order remainder: Rhf(x)=(4Dh/20f(x)−Dh0f(x))/3.

[F2]

A bounded fifth derivative gives the central-difference expansion required by Richardson extrapolation: if ∣f(5)∣≤M5 on the stencil interval, then Dh0f(x)=f′(x)+(f′′′(x)/6)h2+rh with ∣rh∣≤M5h4/120.

[F3]

Forward and central difference stencils with bounded evaluation errors: each function value error has absolute value at most δ.

[F4]

Absolute value in an ordered field and Basic properties of the absolute value: absolute values are nonnegative and invariant under sign change.

[F5]

The triangle inequality: ∣a+b∣≤∣a∣+∣b∣.

Proof

Given: The hypotheses listed above.

1.1givenF1algebra

Write rh=Dh0f(x)−f′(x)−c2h2 and rh/2=Dh/20f(x)−f′(x)−c2h2/4. Substitution into [F1] cancels both copies of f′(x) correctly and gives Rhf(x)−f′(x)=(4rh/2−rh)/3, since 4(c2h2/4)−c2h2=0.

2.1givenF4F5step 1.1algebra

By [F4]–[F5], ∣Rhf(x)−f′(x)∣≤(4∣rh/2∣+∣rh∣)/3≤(4M(h/2)4+Mh4)/3=5Mh4/12.

3.1givenF2step 2.1algebra

In the C5 case, [F2] supplies the expansion at every 0<t≤h with the same c2=f′′′(x)/6 and M=M5/120. Substituting in step 2.1 gives 5(M5/120)h4/12=M5h4/288.

4.1givenF1F3F4F5step 2.1algebra∎

By the definition of R^h in the Statement, [F1] and the stencil formulas in [F3], the inexact perturbation is R^hf(x)−Rhf(x)=43h(e+h/2−e−h/2)−16h(e+h−e−h). Each difference has magnitude at most 2δ by [F4]–[F5]. The total perturbation is therefore at most 8δ/(3h)+δ/(3h)=3δ/h. Combining with step 2.1 proves the inexact bound.

5 · Examples, counterexamples and false statements

None yet.

Sources