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.

✓ 4 results · all verified · 4 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 4 also cleared it.

Linear numerical boundary-value problems

1 · Prerequisites

2 · Summary

Objective

This page treats the one-dimensional problem −u′′=g on (0,1) with exact homogeneous Dirichlet values at both endpoints. For N≥1, the method uses the uniform mesh h=1/(N+1), the centered second-difference stencil on the N interior nodes, and an exact Thomas recurrence. The local proof establishes unique solvability and a discrete maximum principle; the barrier q(x)=x(1−x)/2 gives ∥Ah−1∥∞≤1/8 uniformly in the mesh. For a solution with four continuous derivatives and ∣u(4)∣≤M, the interior residual is at most Mh2/12, while the prescribed endpoint closure has zero residual. Therefore the exact algebraic solution has global max-norm error at most Mh2/96. A nonzero linear-solve residual contributes a separate ∥ρh∥∞/8 term. No general collocation or variable-coefficient convergence theorem is asserted.

3 · Logical flowchart

4 · Definitions, theorems and proofs

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

Centered finite differences for the zero-Dirichlet boundary-value problem

Definition

The input is a real-valued continuous function g on [0,1] and a positive integer N. The procedure uses exact real arithmetic. Its admissible inputs have N≥1; an input that is not a positive integer returns invalid-mesh.

Set h=1/(N+1), xj=jh for 0≤j≤N+1, and gj=g(xj) for 1≤j≤N. The unknowns are the N interior values U1,…,UN; set the boundary values U0=UN+1=0. The finite-difference equations are

−Uj−1+2Uj−Uj+1h2=gj,1≤j≤N,

or AhU=gh, where Ah=h−2tridiag⁡(−1,2,−1), with the known zero boundary values moved to the right-hand side (they contribute zero here).

To solve, form bj=h2gj. Set p1=2 and s1=b1. For j=2,…,N, in increasing order, if pj−1=0 return linear-solve-failure; otherwise set

pj=2−1pj−1,sj=bj+sj−1pj−1.

If a formed pivot pj is zero, return linear-solve-failure. Otherwise set UN=sN/pN and, in decreasing order for j=N−1,…,1, set

Uj=sj+Uj+1pj.

Check the equations exactly. If any equation fails, return linear-solve-failure; otherwise return status success with the vector U and the boundary values U0=UN+1=0.

Remarks

This is an exact-arithmetic definition and makes no finite-precision accuracy claim. A numerical implementation that returns an approximate vector must report its residual separately; the assigned error theorem includes that residual as an independent term.

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

Discrete maximum principle and uniform inverse bound for the Dirichlet stencil

Statement

Let N≥1, h=1/(N+1), xj=jh, and Ah=h−2tridiag⁡(−1,2,−1) on the N interior values, with w0=wN+1=0, as in Centered finite differences for the zero-Dirichlet boundary-value problem. For v∈RN, define ∥v∥∞:=max⁡1≤j≤N∣vj∣. The Thomas recurrence in that definition has pivots pj=(j+1)/j>0 and returns the unique solution of AhU=gh for every admissible exact input; neither linear-solve-failure branch is reached. Also, Ah is invertible; if rj≥0 for every j, then (Ah−1r)j≥0 for every j; and for every r∈RN,

∥Ah−1r∥∞≤18∥r∥∞.

In particular the inverse bound is uniform over all N≥1.

Facts & Assumptions

Given: An integer N≥1, its mesh h=1/(N+1), and r∈RN. The endpoints for a vector are fixed at w0=wN+1=0.

[F1]

Centered finite differences for the zero-Dirichlet boundary-value problem defines the nodes, matrix, and exact Thomas recurrence: “Set h=1/(N+1), xj=jh for 0≤j≤N+1”; “The finite-difference equations are −Uj−1+2Uj−Uj+1h2=gj,1≤j≤N”; and the forward pivots satisfy p1=2, pj=2−1/pj−1.

Proof

1.1F1inductionalgebra

Let p1=2 and pj=2−1/pj−1 for 2≤j≤N, as in [F1]. Induction gives pj=(j+1)/j: it holds at j=1, and if pj−1=j/(j−1) then pj=2−(j−1)/j=(j+1)/j>0. Thus every Thomas pivot is nonzero.

1.2F1algebra

Define qj=xj(1−xj)/2 and q0=qN+1=0. Direct expansion of this quadratic gives qj−1−2qj+qj+1=−h2, so Ahq=1. Also 0≤qj≤1/8, since x(1−x)=1/4−(x−1/2)2 on 0≤x≤1.

2.1F1step 1.1algebra

For the equation Ahw=r, put bj=h2rj and s1=b1. The first row is p1w1−w2=s1. If elimination has produced pj−1wj−1−wj=sj−1, then wj−1=(sj−1+wj)/pj−1; substituting this into −wj−1+2wj−wj+1=bj gives pjwj−wj+1=bj+sj−1/pj−1=sj, exactly the recurrence in [F1].

3.1F1step 1.1step 2.1algebra

Since wN+1=0, backward substitution gives wN=sN/pN and then wj=(sj+wj+1)/pj for j=N−1,…,1. Each pivot is positive by step 1.1, so each value is uniquely determined; substitution into the transformed rows proves it solves the original rows. Hence for every r there is exactly one w with Ahw=r, and Ah−1 exists.

4.1givenstep 3.1choosealgebra

Suppose rj≥0 and let w=Ah−1r. If the finite list w0,…,wN+1 had a negative minimum m at an interior index j, then wj−1,wj+1≥m and h2rj=2m−wj−1−wj+1≤0. Since rj≥0 and h>0, equality must hold, forcing both neighbors to equal m. Repeating this equality to the left reaches w0=m<0, contradicting w0=0. Thus wj≥0 at every interior index.

5.1givenstep 4.1step 1.2algebra

Put R=∥r∥∞. The coordinate bounds −R1≤r≤R1 and step 4.1 show that Ah−1(R1−r)=Rq−Ah−1r≥0 and Ah−1(R1+r)=Rq+Ah−1r≥0. Hence −Rq≤Ah−1r≤Rq coordinatewise.

6.1step 1.2step 5.1algebra∎

Step 5.1 and qj≤1/8 from step 1.2 give ∣(Ah−1r)j∣≤R/8 for every j, so ∥Ah−1r∥∞≤∥r∥∞/8 for every mesh.

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

Centered-difference residual bound with exact Dirichlet closure

Statement

Let u:[0,1]→R have four continuous derivatives, with u(0)=u(1)=0, let g=−u′′, and suppose ∣u(4)(x)∣≤M on [0,1] for a constant M≥0. For the grid and matrix of Centered finite differences for the zero-Dirichlet boundary-value problem, put uj=u(xj), gj=g(xj), and τj=(Ahugrid)j−gj for 1≤j≤N. Then

max⁡1≤j≤N∣τj∣≤Mh212.

The endpoint closure residuals are exactly zero: u(0)−0=0 and u(1)−0=0. If τ0=τN+1:=0 records those boundary residuals, then max⁡0≤j≤N+1∣τj∣≤Mh2/12 as well.

Facts & Assumptions

Given: The regularity, boundary values, differential equation and fourth-derivative bound in the statement; N≥1 and h=1/(N+1).

[F1]

Centered finite differences for the zero-Dirichlet boundary-value problem fixes xj=jh, sets U0=UN+1=0, and uses (AhU)j=(−Uj−1+2Uj−Uj+1)/h2 for 1≤j≤N.

[F2]

A uniform derivative bound gives a uniform Taylor remainder bound: on a closed interval, if f has four derivatives and ∣f(4)∣≤M, its degree-three Taylor remainder satisfies ∣R3,af(x)∣≤M∣x−a∣4/24.

[F3]

The triangle inequality: for real x,y, ∣x+y∣≤∣x∣+∣y∣; here apply it to the two Taylor remainders.

Proof

1.1givenF1F2choose

The endpoint values of the exact function agree with the algorithm's prescribed endpoint values, so both boundary closure residuals are 0. Fix an interior index j. Applying [F2] with center xj and targets xj−h and xj+h gives u(xj±h)=uj±hu′(xj)+h22u′′(xj)±h36u′′′(xj)+R±, with ∣R±∣≤Mh4/24. Both closed intervals lie in [0,1], including when j=1 or j=N.

2.1givenF1step 1.1algebra

Substituting these expansions into [F1] cancels the odd derivative terms and gives (Ahugrid)j=−u′′(xj)−(R−+R+)/h2. Since g=−u′′, it follows that τj=−(R−+R+)/h2.

3.1F2F3step 1.1step 2.1algebra∎

By [F3] and step 1.1, ∣τj∣≤(∣R−∣+∣R+∣)/h2≤(Mh4/24+Mh4/24)/h2=Mh2/12. This holds for every interior index, and the endpoint residuals from step 1.1 are zero, proving both bounds.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Second-order max-norm error for the centered Dirichlet scheme

Statement

Let u:[0,1]→R have four continuous derivatives, satisfy −u′′=g and u(0)=u(1)=0, and let M≥0 satisfy ∣u(4)(x)∣≤M on [0,1]. For N≥1, set h=1/(N+1), xj=jh, gh=(g(x1),…,g(xN)), and ugrid=(u(x1),…,u(xN)). If vh∈RN has residual ρh:=Ahvh−gh for the scheme of Centered finite differences for the zero-Dirichlet boundary-value problem, then

∥vh−ugrid∥∞≤Mh296+∥ρh∥∞8,

where ∥z∥∞=max⁡1≤j≤N∣zj∣. The justified exact-arithmetic algorithm returns a solution for every admissible input, and its output has ρh=0, so its global max-norm error is at most Mh2/96. The zero Dirichlet boundary closure contributes no additional residual.

Facts & Assumptions

Given: The C4 solution u, data g=−u′′, fourth-derivative bound M, and N≥1 as in the statement.

[F1]

Centered finite differences for the zero-Dirichlet boundary-value problem defines Ah=h−2tridiag⁡(−1,2,−1), fixes U0=UN+1=0, and on success returns a vector satisfying AhU=gh exactly.

[F2]

Discrete maximum principle and uniform inverse bound for the Dirichlet stencil proves that the Thomas recurrence defined in Centered finite differences for the zero-Dirichlet boundary-value problem returns the unique solution of AhU=gh for every admissible exact input, so neither linear-solve-failure branch is reached. It also proves that Ah is invertible and ∥Ah−1r∥∞≤∥r∥∞/8 for every r∈RN.

[F3]

Centered-difference residual bound with exact Dirichlet closure: the exact nodal vector has residual τh=Ahugrid−gh with ∥τh∥∞≤Mh2/12, and the imposed endpoint residuals are zero.

[F4]

The triangle inequality: for real x,y, ∣x+y∣≤∣x∣+∣y∣; the coordinatewise maximum-norm estimate applies this inequality at each coordinate.

Proof

1.1givenF3

Let τh=Ahugrid−gh. By [F3], ∥τh∥∞≤Mh2/12 and the exact endpoint values agree with the imposed endpoint closure, so the endpoint error is zero.

2.1givenF1F2step 1.1algebra

For eh:=vh−ugrid, subtracting the definitions of ρh and τh gives Aheh=ρh−τh. Since Ah is invertible by [F2], eh=Ah−1(ρh−τh).

3.1F2F4step 2.1algebra

By [F2], each coordinate satisfies ∣(eh)j∣≤∥ρh−τh∥∞/8. The coordinatewise triangle inequality [F4] gives ∥ρh−τh∥∞≤∥ρh∥∞+∥τh∥∞, because for each j, ∣ρj−τj∣≤∥ρh∥∞+∥τh∥∞.

4.1F2F3step 1.1step 3.1algebra∎

Substituting the residual bound from [F3] into step 3.1 yields ∥eh∥∞≤∥ρh∥∞/8+Mh2/(8⋅12)=∥ρh∥∞/8+Mh2/96. For the exact algorithm output, [F2] guarantees that the recurrence returns the unique solution and the exact equation check succeeds, so ρh=0; exact endpoint closure was recorded in step 1.1.

5 · Examples, counterexamples and false statements

None yet.

Sources