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.
Adaptive ODE solvers and error estimation — Examples
1 · Prerequisites
- Adaptive ODE solvers and error estimation
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- One-step ODE Consistency and Local Error
- Order, Zorn's Lemma, and the Axiom of Choice
- Picard-Lindelöf and First-Order Ordinary Differential Equations
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Runge–Kutta Methods and Order
- Sequences and Limits
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Summary
These examples isolate three limits of an embedded controller: the leading estimator term can vanish, a fast-decay step can be rejected down to the minimum-step safeguard, and a rounded implementation can accept while its exact endpoint error exceeds the requested tolerance. They illustrate the stated method and do not supply global adaptive accuracy or a general stiffness diagnosis.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A tolerance below roundoff can pass with a zero embedded difference
Example
Use the toy binary format whose nonzero representable numbers are with integer and (three significant bits), rounded to nearest with ties to an even significand. The next larger representable value after is , so their midpoint rounds to because is even and is odd. Apply a rounded Euler–Heun implementation to , on , with one step , , attempt budget , , , safety , and scale bounds and . Both computed endpoints round to ; the stored difference is zero and the step is accepted, although the exact endpoint is and the actual error is .
This example concerns the rounded realization described in Finite-budget adaptive Runge–Kutta controller. It does not contradict its exact-arithmetic specification and shows why that acceptance test is not a certificate.
Facts & Assumptions
Given: The toy format and rounding rule in the Example, field , initial state , and controller tolerance parameters.
Euler–Heun embedded Runge–Kutta pair: both pair members use and , with Euler and Heun weighted endpoints.
Finite-budget adaptive Runge–Kutta controller: a rounded realization uses stored high and low outputs in the difference and accepts when the scaled difference .
Local orders and leading estimator term for the Euler–Heun pair: for this pair the low member is order , which is the controller exponent input.
Verification
The two stages evaluate to ; each exact endpoint formula is . By the specified tie rule, the Euler endpoint rounds to and the Heun endpoint also rounds to . Hence the stored difference is and the scaled error is , so the rounded controller accepts.
The exact solution is , so . The accepted stored endpoint is , giving absolute error . Thus the embedded difference can be zero while the actual error exceeds the requested tolerance.
A fast-decay test problem is rejected at the minimum step
Example
Run the Euler–Heun controller on the scalar fast-decay equation , , with , , , , , and attempt budget , , safety , and scale factors , . The computed pair difference rejects both attempted steps, so the procedure stops at its minimum-step safeguard. This scalar fast-decay equation is used as a stiffness illustration: the calculation verifies repeated rejection of this explicit trial only, and gives no general stiffness diagnosis.
Facts & Assumptions
Given: The scalar field , starting value , trial sizes and , and controller parameters in the Example.
Euler–Heun embedded Runge–Kutta pair: , , , and .
Finite-budget adaptive Runge–Kutta controller: reject if , scale by , clamp the next proposal to the step bounds, and return minimum-step-rejected for a rejection at .
The bounded adaptive Runge–Kutta controller terminates: this finite-budget controller reaches a terminal status after finitely many attempts.
Local orders and leading estimator term for the Euler–Heun pair: the Euler–Heun pair has low order .
Verification
At , , the Euler stage value is , and . Thus , , the difference magnitude is , and . The proposed scale is clamped to , so the next step is .
At , , the Euler stage value is , and . Thus , , the difference magnitude is , and . This rejection occurs at , so [F2] returns minimum-step-rejected; finite termination is also covered by [F3].
The leading Euler–Heun estimator coefficient can vanish
Example
Apply the Euler–Heun pair to , , on one step of size . The low-order defect begins at order , not , so the embedded difference is not asymptotically equal to the low-order defect in ratio.
Facts & Assumptions
Given: The field , initial time and value , and .
Euler–Heun embedded Runge–Kutta pair: , , , and .
Local orders and leading estimator term for the Euler–Heun pair: the local error expansions compare each one-step value with the exact endpoint.
A nonzero leading defect makes the embedded difference asymptotically match the low-order defect: a ratio-one conclusion requires a nonzero leading low-defect coefficient.
Verification
Here and , so and . Since , the Euler defect is , the Heun defect is , and the embedded estimator is .
The Euler defect has zero coefficient at order and the estimator-to-Euler-defect ratio is for every . This concrete case shows why [F3] requires a nonzero leading coefficient before asserting ratio one.