Boche and Pohl proved a sobering result about simulating continuous systems on digital computers. No algorithm can reliably tell whether the derivative of a general computable, smooth function is itself computable. Nor can any algorithm certify an upper bound on the largest slope of that function. The practical consequence is that the "warning light" every numerical solver pretends to have does not exist in general. The adaptive step-size controllers in standard ordinary differential equation (ODE) solvers are exactly such warning lights: they shrink the step when a local error estimate looks large and report success otherwise. A neural ODE, a model whose hidden state evolves by integrating a learned vector field $\dot u = f_\theta(u)$, is integrated by these same controllers. The negative theorem therefore hangs over every learned continuous-time model, and nobody has asked which learned models escape it.
This note proposes that a specific, practically useful class does escape it. That class consists of neural ODEs split into a stable linear part and a nonlinearity whose Lipschitz constant (its maximum stretching factor) is known by construction, with the nonlinearity kept small relative to the linear decay rate. For this class a solver can issue a strong exit flag: a report that always halts and never falsely certifies. This holds even on stiff systems and over long time horizons. The contribution has three parts: the theorem that places this class on the decidable side of the Boche–Pohl line, a step controller built from the certificate, and an adversarial benchmark showing that the usual error estimators give false assurances exactly where the theory says they must.
Core Claim
The general negative results come from On non-detectability of non-computability and the degree of non-computability of solutions of circuit and wave equations on digital computers and Complexity Blowup in Simulating Analog Linear Time-Invariant Systems on Digital Computers. They show that computability of $u'$ is not even semidecidable, and that bounds on the largest slope $\|u'\|_\infty$ cannot be detected when this quantity sits at the level $\Sigma_1\setminus\Delta_1$ of the Zheng–Weihrauch hierarchy. These results motivate the proposal. Both papers name "narrower function classes" as the open question, and neither touches learned vector fields.
The class we study is the one used in Structure-Preserving Neural Ordinary Differential Equations for Stiff Systems. That paper writes $\dot u = Au + g_\theta(u)$ with $A$ Hurwitz (all eigenvalues have negative real part) and $g_\theta$ Lipschitz-controlled through matrix norms. It integrates the result with exponential time differencing, a scheme that solves the linear part exactly and approximates only the nonlinear part. That paper supplies the parameterization. It uses the norm bounds only to keep training stable; it never asks whether they certify anything.
We add one ingredient, a dissipativity margin. Suppose $A$ is parameterized so that $\|e^{At}\|\le K e^{-\alpha t}$ with computable $K,\alpha$, and suppose $g_\theta$ has rational weights, computable activations, and a layerwise norm-product Lipschitz bound $L$. Variation of constants plus Grönwall's inequality then gives, for any two trajectories $u,v$,
$$\|u(t)-v(t)\|\le K e^{-(\alpha-KL)t}\,\|u(0)-v(0)\|.$$
Consequently, if a solver's per-step defect (residual) is bounded by $\delta$, the global error on any horizon is at most $K\delta/(\alpha-KL)$ whenever $\alpha>KL$. The vector field's derivative is computable and bounded by construction. The bound is computable from the weights, and it does not grow with the horizon $T$.
The theorem we will prove is a gap-promise statement. The weaker target of deciding "error $\le\varepsilon$" exactly is undecidable even for computable reals, so we do not aim for it. Instead, for this class there is a Turing machine that always halts, outputs "certified $\le 2\varepsilon$" or "cannot certify $\le\varepsilon$", and is never wrong. That is a strong exit flag in Boche and Pohl's sense. We will also prove the matching negative side. If the same architecture is accessed only as a black-box point evaluator, with no weights available, or if the margin condition is dropped, the Boche–Pohl constructions embed into it and no such flag exists.
Research Program
The theoretical part has two steps. The first is the positive theorem above, including the case where the one-sided margin fails but a finite-horizon Grönwall bound $e^{(KL-\alpha)T}$ still holds. That case is computable but exponentially loose. The second is the negative embedding. We will take the computable $u\in U_c$ from the non-detectability paper whose slope bound is undetectable. We will then realize it as the solution of a black-box vector field that agrees with a small ReLU network on every point a solver could query, but hides a narrow feature between queries. This makes concrete a point Computability of Classification and Deep Learning: From Theoretical Limits to Practical Feasibility Through Quantization made only for static feedforward networks: a model on real inputs cannot detect its own failure. The continuous-time version, where the failure hides in time rather than in input space, is new.
The algorithmic part builds a certified exponential time-differencing controller. It accepts a step only when a rigorous bound on the local defect, computed with outward-rounded arithmetic from the Lipschitz and sup-norm bounds of $g_\theta$, keeps the accumulated error budget below $K\delta/(\alpha-KL)$. It raises the exit flag when the budget cannot be met above a minimum step. We will train the models with a penalty keeping $KL$ below $\alpha$ and measure what accuracy this costs.
We expect a real tension with The Vanishing Gradient Problem for Stiff Neural Differential Equations. That paper shows parameter sensitivity through A-stable steps decays like $O(|z|^{-2})$ for backward Euler and Radau. Its implication here is that the fast modes placed in $A$ may be hard to learn even when they are easy to certify. We will measure this rather than assume it away.
Two scope limits are stated up front. Purely oscillatory systems violate the margin, as the structure-preserving paper already notes for its Hurwitz assumption. Transient-growth systems have $K\gg 1$ and test whether the bound stays useful.
Baselines
The naive reference point is a fixed-step fourth-order Runge–Kutta integrator whose step is set by hand. It never flags anything, and on stiff problems it either blows up or is very slow. Calibrated Adaptive Probabilistic ODE Solvers states that a fixed-step version of its solver takes "hours instead of seconds" on stiff Van der Pol. This baseline measures what doing nothing costs.
The standard practical baseline is adaptive Dormand–Prince 4/5 with its embedded local error estimate and the usual minimum-step and iteration-count exit flags. It is the default in every library and represents the heuristic flag that Alternative 3 in our file defends.
The strongest competitor is the calibrated adaptive probabilistic solver (EKS1) of Calibrated Adaptive Probabilistic ODE Solvers. It controls steps from filter residuals and reports credible intervals, so it is the closest thing to an honest uncertainty report in the file. Its reported result is that the true error stayed within the predicted 99% credible intervals across tolerances from $10^{-4}$ to $10^{-13}$ on Lotka–Volterra. Beating it means two things. First, a lower rate of false assurance (reported bound below true error) on our adversarial and stiff suites. Second, at most a small constant factor more vector-field evaluations on the non-adversarial problems, with Lotka–Volterra reported separately because it lies outside our margin class. We found no reported result on Lacuna for EKS1 on ROBER, POLLU, or Kuramoto–Sivashinsky, so we will run it ourselves.
We also compare against the structure-preserving model of Structure-Preserving Neural Ordinary Differential Equations for Stiff Systems, with its exponential integrator and ordinary error control. For ROBER that paper reports only that it learned the dynamics across timescales from $10^{-6}$ to $10^{6}$; for Kuramoto–Sivashinsky it reports 12x to 24x training speedups. No reported error number was found on Lacuna for either. We will also train against the stabilized-adjoint neural ODE of Stiff Neural Ordinary Differential Equations on ROBER and POLLU.
Fairness rules are as follows. All methods integrate the same trained weights for evaluation. Training baselines get the same architecture width, optimizer, and tuning budget. Solver tolerances are swept over the same grid, and costs are counted in vector-field evaluations as well as wall time.
Two ablations isolate the key ingredient. The first certifies using the finite-horizon Grönwall bound without the dissipativity margin, which shows the margin is what makes certificates non-vacuous on long horizons. The second trains without the margin penalty, which shows what the margin costs in fit.
Why not just…?
Why not just use a small fixed step? A fixed step does not remove the need for a slope bound. It only hides it, because the step is safe only if it is small relative to an unknown derivative bound, which is the quantity Boche and Pohl show cannot be detected in general. It also costs orders of magnitude on stiff problems, per the probabilistic-solver paper's Van der Pol report. The fixed-step baseline will show both failures: silent error on the adversarial suite and large cost on ROBER.
Why not just trust calibrated adaptive error estimates? This is the most serious alternative, because the calibration result above is strong on smooth problems. Our negative theorem says any estimator that sees only point evaluations must give false assurance on some computable vector field. The adversarial suite tests whether that happens at realistic sizes. It inserts narrow computable bump units into $g_\theta$ that fall between accepted steps. If calibrated EKS1 still flags these cases at comparable cost, the practical case for certification weakens to the stiff long-horizon regime, and we will say so.
Why not just quantize everything to integers? Boche et al. show that quantized networks avoid the computability barriers. They also prove (their Proposition 4.12) that the map from continuous inputs to the quantized model is itself not computable. Quantization therefore moves the unverifiable step to the interface rather than removing it. Our route keeps the real-valued model and bounds it instead.
Why not just use generic validated interval integration? This is a real threat, and the file contains no work on it. The honest difference is that generic interval methods on neural fields rely on crude Lipschitz products with $e^{LT}$ growth, which become vacuous on stiff, long-horizon problems. That is exactly our first ablation, and if it performs as well as the margin-based bound, the architectural contribution collapses.
Proposed Experiments
We will use ROBER, POLLU, Kuramoto–Sivashinsky (64-point grid, with the 7- and 20-dimensional latent versions from the structure-preserving paper), and the 2D transient-growth toy as in-class stiff problems. Van der Pol and Lotka–Volterra serve as out-of-class problems. For each, we train margin-constrained and unconstrained models and compute reference trajectories at high precision.
The metrics are four. False-assurance rate is the fraction of runs where a solver reports success at tolerance $\varepsilon$ but the true error exceeds $\varepsilon$. Certificate tightness is the certified bound divided by the true error. Cost is measured in function evaluations. For Kuramoto–Sivashinsky we additionally check training fit and statistics of the derivative distribution.
The adversarial suite plants $n$ bump units of width $w$ in trained models and sweeps $w$ down to far below the typical accepted step.
Three outcomes are decisive. The first confirms the thesis: on the adversarial suite the heuristic and calibrated solvers show nonzero false-assurance rates while the certified controller shows zero. The second shows the margin is necessary, by checking that the no-margin ablation's certificate on ROBER and Kuramoto–Sivashinsky grows by orders of magnitude over the horizon while the margin version stays within a small factor of true error. The third measures the price: the fit gap between margin-constrained and unconstrained models, together with whether learning of $A$'s fast eigenvalues stalls as the vanishing-gradient analysis predicts. A large fit gap would narrow the claim to certification-critical uses. False assurance appearing in the certified controller would falsify the theorem's implementation.
References
- On non-detectability of non-computability and the degree of non-computability of solutions of circuit and wave equations on digital computers
- Complexity Blowup in Simulating Analog Linear Time-Invariant Systems on Digital Computers
- Structure-Preserving Neural Ordinary Differential Equations for Stiff Systems
- Computability of Classification and Deep Learning: From Theoretical Limits to Practical Feasibility Through Quantization
- The vanishing gradient problem for stiff neural differential equations
- Calibrated Adaptive Probabilistic ODE Solvers
- Stiff Neural Ordinary Differential Equations