arXiv:2610.28460cs.LOOct 2026

Manuscript Offprint

arXiv:2610.28460

Linear Axiomatization of Linear Differential Equations

Long Qian, André Platzer

Abstract

This article presents an axiomatization of linear differential equations that is complete for topologically open properties with compact initial conditions and time horizons by proving them deductively via a sound reduction to formulas of linear real arithmetic. Indeed, linearity is preserved: linear differential invariants are complete for open properties of linear differential equations and reduce with a linear number of Lie derivatives (per atom) to linear real arithmetic. In particular, this article shows that the linear fragment of differential dynamic logic (dL), a modal extension of standard first-order logic over the reals satisfies these completeness properties. By establishing completeness within decidable linear real arithmetic, the need for proving sophisticated nonlinear formulas of real arithmetic is circumvented. Furthermore, this article establishes generalizations to the nonlinear fragment of dL that enable the practical certification of reachability computations, validating the output of external computations in dL with machine-checkable proofs.

2012 ACM Subject Classification Mathematics of computing → Ordinary differential equations; Theory of computation → Timed and hybrid models; Theory of computation → Proof Theory; Theory of computation → Modal and temporal logics; Theory of computation → Programming logic

Keywords and phrases Differential Equation Axiomatization, Differential Invariants, Reachability

Acknowledgements This work was funded by an Alexander von Humboldt Professorship.

1 Introduction

Ordinary differential equations (ODEs) are well-known for their ubiquitous applicability across many disciplines, highlighting their importance. Classically, ODEs are often studied quantitatively by analyzing numerical approximations to their solutions, leading to the development of many sophisticated and deep algorithms to compute such approximations in the field of numerical analysis. Alternatively, a seemingly orthogonal approach is to analyze ODEs qualitatively [34], where properties of their solutions are deduced directly from the differential equations. The differences in these approaches are particularly highlighted in the safety verification of cyber-physical/hybrid dynamical systems [3]. Quantitative approaches are often viewed to be more scalable for verifying numerical properties of a system [9, 2, 26], but the intrinsic complexity in the algorithms adopted makes it difficult to justify their correctness. In contrast, qualitative approaches via logical axiomatizations [27] are symbolic, with correctness being easily justified by having a small set of soundness-critical axioms, yielding machine-checkable proofs of correctness [14, 7].

Recent work has shown that, surprisingly, quantitative and qualitative approaches to ODEs can be integrated harmoniously [31] in differential dynamic logic (dL). In particular, it was established that, given any (untrusted) approximation to the solution of an ODE, if the approximation is truly accurate, then a corresponding deductive proof can be computed in the axiomatization of dL certifying its accuracy — a completeness result for approximations. However, the complete axiomatization and algorithm suffer from the following drawbacks:

  1. Given a (potentially untrusted) numerical approximation to the solution of an ODE, its accuracy is certified by deductively proving differential invariants [30]. Although

Linear Axiomatization of Linear Differential Equations

dL is complete for differential invariants and soundly reduces them to formulas of real arithmetic [33], the proof for each differential invariant instance requires taking N Lie derivatives, where N is some finite number dependent on the ODE and the formula of invariance, and is doubly exponential in the number of variables in general [33, 25].

  1. As dL is a modal extension of the standard first-order logic of real arithmetic (FOL R_{R}), deductive proofs (e.g., of differential invariants) often produce proof obligations of FOL R_{R} formulas, at which point Tarski's completeness theorem [38] is utilized to conclude that the FOL R_{R} formula is provable (iff it is valid) using decision procedures for general real arithmetic, which also suffer from doubly exponential complexity [11].

  2. Due to the need of using general decision procedures of FOL R_{R} and the fact that most such algorithms are not proof-producing, this loses a layer of reliability in the process and only yields machine-checkable proofs of correctness modulo FOL R_{R} [21].

The main contribution of this article is to show that, surprisingly, by specializing to the linear case, linearity is preserved - (open) properties (on finite time horizons) definable in linear real arithmetic (LRA) of linear ODEs are provable in the linear fragment of dL using linear differential invariants requiring at most a linear number of Lie derivatives (per atom, in the dimension of the ODE), deductively reducing proofs to the provability of LRA formulas. In particular, this resolves the drawbacks pointed out above, and the existence of efficient, proof-producing decision procedures for LRA [8] further enables a complete proof-producing axiomatization down to linear real arithmetic. Note that the completeness results of this article do not follow from earlier results [31] by simply restricting to the linear fragment, which require the use of nonlinear differential invariants even in the linear case. Despite linear ODEs being a strict subset of the general class of polynomial ODEs, their properties in relation to computability/provability are far from trivial. Earlier works [5, 10] already demonstrated that even (seemingly) basic questions such as decidability of hyperplane reachability are open and related to deep open problems in number theory [5, 10].

While the results of this article are theoretical in nature, they have practical implications, particularly in the case of certifying over-approximations of reachable sets for linear ODEs. In the safety verification of cyber-physical systems, a frequently encountered problem is to compute an over-approximation of all states reachable from a (compact) set of initial conditions C⊆RnC \subseteq \mathbb{R}^n following the linear ODE x′=Axx' = Ax on some time interval [0,T][0, T], and the system is safe if this over-approximation is disjoint from a given set of unsafe states. In safety-critical applications, it is important to have a trustworthy verification that the computed over-approximations are truly correct beyond basic mathematical rigor of the underlying algorithms used, ideally in the form of a formal, machine-checkable proof. Previous works aiming at bridging this gap focused on formalizing particular reachability algorithms within theorem provers [20, 26] such that the over-approximations can be trusted.

An alternative viewpoint offers a different approach - one can consider the problem of safety verification as “satisfiability (SAT) solving modulo ODEs [12, 15]”. A system is safe if and only if the formula “ x0∈C∧t∈[0,T]∧φ(x0,t)∈UNSAFEx_0 \in C \land t \in [0, T] \land \varphi(x_0, t) \in \text{UNSAFE}” is unsatisfiable (UNSAT), where φ(x0,t)\varphi(x_0, t) denotes the flow of the ODE at time tt starting at x0x_0. Even in the field of SAT solving for propositional logic, SAT solvers are complicated and not typically verified themselves. Instead, SAT solvers produce proofs of unsatisfiability, which can then be checked with a formally verified proof checker. Tools for safety verification of ODEs are even more difficult, and yet no proof checking approach exists, because, unlike for SAT solving, it is not even clear what underlying axiomatic system to use for certifying proofs with ODEs. The results of this article precisely demonstrate that for linear ODEs, the linear fragment of dL is fully capable of expressing such proofs, which can then be checked against any prover for dL,

KeYmaera X-certified fixed-time evolution

Figure

Figure 1 Certified evolution of (x1,x2)(x_1, x_2) over t∈[0,2]t \in [0, 2] with provable error ≈4×10−3\approx 4 \times 10^{-3} constructed via Theorem 9. ODE taken from reachability example [17].

such as KeYmaera X [14] or its formalizations in Isabelle/HOL, Rocq [7] or PVS [36].

Finally, this article also establishes practical results beyond general completeness, proving that a concrete reachability algorithm for (homogeneous) linear ODEs [17] can be carried out in (nonlinear) dL (Theorem 9), yielding proofs of accuracy certified by KeYmaera X (Fig. 1). A certification procedure that can certify (untrusted) over-approximations of reachable sets is also established (Corollary 11). While these results (Theorem 9, Corollary 11) require extending to the nonlinear fragment, the use of nonlinear real arithmetic is limited to establishing a local Taylor approximation, and only requires interval bounds. Hence, quantifier elimination of general nonlinear real arithmetic is not required, and neither are general completeness results of differential invariants.

References (39)