Alphabeta Math
ExampleConstruction: AI-generatedVerification: AI-generatedPipeline-generatedprecheck pass
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.

Fixed-time error slopes for Euler, midpoint, and classical RK4

Example

Write ex:=exp⁡(x) for the power-series exponential of The real exponential function and the number e by a power series. Apply the three methods of The explicit Euler, midpoint, and classical fourth-order Runge–Kutta tableaus to y′=−y, y(0)=1, through the fixed final time T=1. For N equal steps put h=1/N and define the global grid error EN:=∣yN−e−1∣. The claimed slopes mean EN∼chp with a nonzero constant c; the table below records both constants and orders.

Methodpc in EN∼chp
Forward Euler1e−1/2
Explicit midpoint2e−1/6
Classical RK44e−1/120

Facts & Assumptions

Given: The scalar IVP y′=−y, y(0)=1, the three tableaus, and the uniform grid h=1/N.

[F1]

The explicit Euler, midpoint, and classical fourth-order Runge–Kutta tableaus: Euler, explicit midpoint, and classical RK4 have the displayed explicit tableaus and stage updates.

[F2]

Orders and scalar stability functions of Euler, midpoint, and classical RK4: for y′=λy, their stability polynomials are 1+z, 1+z+z2/2, and 1+z+z2/2+z3/6+z4/24, respectively.

[F3]

Multivariable Taylor formula with a Lagrange remainder along a line segment and Higher derivatives and the classes Ck and C∞: a smooth scalar function equals its Taylor polynomial through degree k plus a remainder bounded by a constant times the next power, when the next derivative is bounded on the segment.

[F6]

The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y): exp⁡(x+y)=exp⁡(x)exp⁡(y) for all real x,y.

Verification

1.1F1F2F3F4F5algebra

By [F4]–[F5], y(t)=exp⁡(−t) solves y′=−y with y(0)=1. For one step, the tableaus [F1] and factors [F2] give R; put dh:=R−e−h. Taylor's theorem [F3] applied to e−h gives, for p=1,2,4 in the respective methods, dh=c0hp+1+O(hp+2),c0=−12,16,1120. The first omitted exponential terms after the Euler, midpoint, and RK4 polynomials in [F2] are respectively +h2/2, −h3/6, and −h5/120; subtracting them from those polynomials gives the listed defect coefficients.

2.1F5F6step 1.1algebra

For each method and sufficiently small h, set qh:=Reh=1+ehdh, using e−heh=e0=1 from [F6]. Thus ∣qh−1∣≤Chp+1 for a constant independent of N. For m≤N=1/h, factoring qhm−1 gives ∣qhm−1∣≤m∣qh−1∣max⁡(1,∣qh∣)m−1≤ChpeC. The last bound follows from ∣qh∣≤1+Chp+1≤eChp+1 by [F5], so the factor of powers is at most eCNhp+1≤eC.

3.1F3F4F6step 2.1algebra

Repeated use of [F6] gives (e−h)N=e−Nh=e−1 and e−h(N−1)=e−1+h. Since R=qhe−h, the finite-factor identity yields RN−e−1=(R−e−h)∑k=0N−1RN−1−ke−kh=dhe−h(N−1)∑m=0N−1qhm. By step 2.1 each summand is 1+O(hp) uniformly in m, and e−1+h=e−1(1+O(h)) by [F3]–[F4]. Thus the sum factor is Ne−1(1+O(h)).

4.1step 1.1step 3.1algebra∎

Substituting the expansion from step 1.1 and N=1/h into step 3.1 gives RN−e−1=c0e−1hp(1+O(h)). Because c0≠0, taking absolute values gives the three positive constants and slopes in the Example.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

44 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