Manuscript Offprint
arXiv:2610.28460Linear Axiomatization of Linear Differential Equations
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:
- 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].
-
As dL is a modal extension of the standard first-order logic of real arithmetic (FOL ), deductive proofs (e.g., of differential invariants) often produce proof obligations of FOL formulas, at which point Tarski's completeness theorem [38] is utilized to conclude that the FOL formula is provable (iff it is valid) using decision procedures for general real arithmetic, which also suffer from doubly exponential complexity [11].
-
Due to the need of using general decision procedures of FOL 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 [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 following the linear ODE on some time interval , 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 “ ” is unsatisfiable (UNSAT), where denotes the flow of the ODE at time starting at . 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 1 Certified evolution of over with provable error 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.
2.1 Syntax and Semantics
Terms in the linear fragment of dL are built from the following grammar, where x denotes a variable, and a rational constant. Equivalently, terms are (multivariate) affine polynomials of the variables with rational coefficients.
Similarly, LRA refers to the linear fragment of the theory of real arithmetic, only allowing for constant (rational) multiplications. For full (nonlinear) dL, the product of terms is also allowed. In this article, vectorial variables are denoted as for presentation. dL formulas have the following grammar, where is a comparison relation,
Linear Axiomatization of Linear Differential Equations
is a rational matrix defining the linear ODE and .
This article only concerns the case where is a linear ODE, but allows to be of the more general class of hybrid programs, which are not needed here. The semantics of non-modal formulas are standard and agree with their interpretations in . The modal formulas express safety and liveness properties, respectively, and can be thought of as universal/existential quantifiers over time in the flow of . Concretely, let denote the flow of with initial condition , then expresses the property that holds for all and , where is the value of in the current state. Likewise, expresses the property that there exists some such that holds. The constraint is referred to as the domain constraint and can more generally be any formula of real arithmetic. For a formula in -variables, denotes the set of all states that satisfy . A formula is valid iff it is true in all states, i.e., .
2.2 Proof Calculus
The proof calculus of dL is a standard, classical sequent calculus with the standard proof rules for first-order reasoning. A sequent has the form , equivalent in semantics to the implication . An axiom (schema) is said to be sound if and only if all of its instances are valid, and a proof rule is sound if the validity of its premises imply the validity of its conclusion. Axioms/proof rules are derivable if they can be deductively proven in the aforementioned sequent calculus. The soundness of dL [27] implies that all derivable axioms/proof rules are sound and all derivable formulas valid.
This article concerns the continuous fragment of dL under the standard axiomatization [31]. An important property of dL is that it is complete for all differential invariants, that is, if a FOL formula I characterizes a positive invariant of the ODE , then it is provably invariant [33, 22]. Furthermore, the proof of its invariance is soundly reduced to real arithmetic formulas concerning the Lie derivatives of I [22, 33], hence linearity is preserved. The following theorem concerns the specialization of this completeness result to the linear case, which this article relies upon. It was implicit in earlier work [16] and is proved here for completeness.
▶ Theorem 1 (Completeness of Linear Differential Invariants [16]). dL is complete for linear differential invariants. For all , LRA formula I, if the dL formula
is valid, then one can effectively find a proof of it in the linear fragment of dL by taking at most n Lie derivatives of I. Q here either denotes for some , in which case the vectorial ODE includes the clock variable , or Q is the trivially true formula (hence reduces to ).
The provability parts of Theorem 1 follow directly from the proof of completeness of semialgebraic invariants [33, Theorem 6.9]. The following provides the arguments needed for the linearity claims for completeness.
Proof. It suffices to follow the proof of general completeness [33, Theorem 6.9] and verify that linearity is preserved. First note that as is LRA definable, we may assume it is of the form for some ( is then the dot product) and , as a general Boolean combination of these relations can be handled similarly. On a high level, the proof of completeness for differential invariants proceeds as follows [22]:
■ Compute the chain of Lie derivatives of with respect to the vector field :
As each term is a polynomial in and is Noetherian, there must be some finite index such that the ideal generated by these polynomials stabilizes at the -th derivative.
■ A LRA formula is then constructed using the first N Lie derivatives, such that the validity of this formula is provably equivalent to the invariance of I.
It can first be observed that linearity is indeed preserved, as Lie derivatives of are always linear in (recall that is not symbolic but rational). Secondly, note that by Cayley-Hamilton, is a linear combination of , therefore the sequence of Lie derivatives stabilizes at , completing the proof.
A complete record of (the fragment of) dL's axiomatization used for this article is provided in Appendix A for reference.
3 Linear Axiomatization
This section establishes the completeness of linear ODEs in the linear fragment of dL, in particular, any sequence of admissible approximations converging to the solution of the ODE converges provably. In the rest of this section, we work in the linear fragment of dL. Let be a linear ODE with , be a set of initial states definable in linear arithmetic that is topologically compact (i.e. is compact), and a positive time interval with . We write to denote the flow of the ODE with initial condition because the general solution for linear ODEs has this form with the matrix exponential . The following class of approximations can be viewed as the linearized version of local definable approximations [31, Definition 4.8], representing numerical approximations.
▶ Definition 2 (Admissible Approximations). Let be a sequence of continuous functions. This sequence is said to be an admissible approximation if:
■ For every k, the function is definable in LRA.
The sequence converges to in uniformly in . That is, the following sequence converges to 0
where denotes the space of Lipschitz continuous functions endowed with the norm , and is the least Lipschitz constant.
As local progression formulas justifying invariance distribute across logical connectives [33, Lemma 6.5].
Linear Axiomatization of Linear Differential Equations
Intuitively, such admissible approximations represent the numerical approximations to the true flow . The only requirements are that they are LRA definable (e.g. obtained by interpolation) and they converge to the true solution. Importantly, there are no provability requirements. The main theorem of this section states that the convergence of such approximations can be deductively proven in dL.
▶ Theorem 3 (Linear Completeness of Convergence). Let be a sequence of admissible approximations and be arbitrary. The following formula is provable in the linear fragment of dL for all sufficiently large
Note that for vectors denotes the infinity-norm (i.e. maximum of absolute values of coordinates), thus the formula belongs to the linear fragment of dL (recall that is required to be LRA definable).
Theorem 3 establishes that given any sequence of admissible approximations, corresponding proofs of convergence can be generated, entirely within dL. It is important to observe that this theorem only places semantic requirements ( convergence) on the approximations, and guarantees a syntactic proof of accuracy. The following lemma is a key step in the proof of Theorem 3, reducing the problem down to linear differential invariants.
▶ Lemma 4 (Linear Differential Invariant). Let be a sequence of admissible approximations, an upper bound on the (infinity) norm of and an arbitrary constant. Then the following is a valid (linear) differential invariant for all sufficiently large .
where the invariant is defined via
Lemma 4 can intuitively be understood as a characterization of the “continuous dependence on initial conditions” property of ODE flows. In particular, the dL formula captures the notion that is “ -close” to the true flow . While this may appear similar in structure to an analogous result in the nonlinear case [31, Lemma 4.11], an important difference is that the cited result uses nonlinear invariants (even when is LRA definable), and is therefore not expressible in the linear fragment of dL and cannot establish such completeness properties.
Proof of Lemma 4. The validity of this differential invariant can be established directly. Suppose that is satisfied at some initial state , thus the following conditions hold:
As the domain constraint requires , assume without loss of generality that holds as well. Recall that denotes the flow of . Let denote the flow of , and the flow of . By definition of flows, at time the variables evolve to .
. Due to the monotonicity of and being constant across the flow, it suffices to show that the following inequality holds for all
which implies the validity of the differential invariant. The remainder of the proof then focuses on bounding . Let denote the difference between the approximation and the true flow. Direct manipulations via the semigroup property of flows then give
Recall that converges to in the norm, so we may take to be large enough such that and , substituting this and into the bound above yields
which is exactly what we wanted, establishing the validity of the invariant. It is worth pointing out that from the computations above, given as a parameter, choosing (any) large enough such that will be sufficient to witness validity of .
A consequence of Lemma 4 is that if the bound is satisfied, then this bound holds on all of following the respective (linear) ODEs. Thus, this implies that approximates the true flow on all of with accuracy
which converges to 0 as by taking . Consequently, Theorem 3 can be established by taking sufficiently large such that . A challenge in this argument is that the functions (encoded by ) and (encoded by ) are not directly expressible in the linear arithmetic fragment of dL, nor in polynomial arithmetic, so one has to justify that arbitrarily tight upper bounds can be provably established.
▶ Lemma 5 (Exponential Bounds). Let be constants such that the inequalities hold, then the following formula is provable in the linear fragment of dL
Proof. The bounds are proved similarly, with proven first. We first claim that it is possible to construct some (continuous) piecewise linear function satisfying:
- .
Linear Axiomatization of Linear Differential Equations
-
-
On each linear segment of , the linear function satisfies for all .
Indeed, such a function can be constructed by iteratively applying linear interpolation. Let be a sufficiently large integer denoting the number of time steps that is to be decided later, this gives a step size of decomposing the interval into . Define a monotone sequence of values inductively as follows:
(take N large enough such that ).
Define on the interval by linear interpolation
It suffices to verify that this satisfies the desired properties, clearly (2) is satisfied as . For property (3), note that on a interval the derivative of is , as , this implies
where the final inequality follows from . Thus, it remains to establish that by taking sufficiently large holds. Indeed, the construction of gives
therefore all sufficiently large will witness . To complete the proof of the lemma, notice that the following holds:
To prove (in ), it suffices to prove holds on in , i.e. prove the following
On each interval of , computing the derivative of the difference gives
That is, on each interval the (LRA definable) term forms a Darboux polynomial (with cofactor , so linearity is preserved) of the system [33, Section 3] and therefore holds. The overall inequality on is therefore a valid differential invariant
and hence provable via Theorem 1, completing the proof for the bound of .
The proof of proceeds similarly, first defining a monotone sequence via
Now construct a piecewise linear function such that on . A similar analysis of the derivative of on gives
Thus, this gives (recall that has been proven)
Thus is also a valid (linear) differential invariant and therefore provable, the bound follows by establishing that as . Indeed, it is easy to verify by induction that one has the identity , taking the limit as of then yields
which is what we wanted, completing the proof.
With Lemma 5, the proof of Theorem 3 can now be completed.
Proof of Theorem 3. Let be the desired accuracy, and let be large enough such that the following inequality holds
Let and be constants such that the following conditions hold
To proceed, first apply Lemma 4 and conclude (by condition (1)) that the following is a valid (and therefore provable by Theorem 1) differential invariant
Further note that with initial conditions , the formula is satisfied (recall that ), hence following is derivable
Invoking Lemma 5 then proves the following formula
Combining the two formulas above then proves
since by construction, LRA reasoning proves the desired formula.
The completeness of topologically open properties (safety, liveness) then follows from the computability and existence of admissible approximations. Intuitively, suppose defines an open set such that for all . As is a compact set, this necessarily implies the existence of some such that the distance from to the complement of is at least . Consequently, a sufficiently accurate admissible approximation will then witness this containment, thereby establishing that contains the reachable set.
Linear Axiomatization of Linear Differential Equations
▶ Proposition 6 (Density of Admissible Approximations). A computable sequence of admissible approximations exists.
Proof. This follows from the compactness of initial states . For simplicity, choose large enough such that and abbreviate . For every , construct a mesh-grid on with step sizes , respectively. At every mesh vertex , compute a rational vector satisfying
Subdivide each mesh-grid cell into a fixed rational simplicial decomposition, and let be the continuous function obtained by affine interpolation on each simplex, which is LRA definable. Since is smooth and the vertices have error , the constructed piecewise-affine interpolation on these increasingly fine meshes converges to uniformly together with its Lipschitz errors:
Exactly as desired. Furthermore, this construction is computable as affine interpolation is computable, completing the construction of a computable sequence of admissible approximations.
Proposition 6 guarantees the (computable) existence of admissible approximations. Together with Theorem 3, this implies the completeness of topologically open properties in the linear fragment of dL. The proofs are supplied in Appendix B.
▶ Theorem 7 (Completeness of Open Safety). Let define a topologically open subset of , then the linear fragment of dL is complete for the following:
▶ Theorem 8 (Completeness of Open Liveness). Let define a topologically open subset of , then the linear fragment of dL is complete for the following:
This completes the proof of completeness of (the linear fragment of) dL for linear ODEs with respect to convergence, open safety and open liveness properties over finite time horizons. Proving that by specializing to the linear fragment, linearity can be preserved down to linear arithmetic while still achieving completeness properties.
4 Proving Stepwise Approximations
As alluded to in the introduction, while many algorithms have been developed to compute over-approximations of linear ODEs [17, 18, 39], there has been no unifying logical framework to generate corresponding proofs of correctness. This section justifies that dL is a suitable axiomatic system for proving correctness of reachability computations from a practical point of view. It is worth noting that directly applying Theorem 3 to certify the accuracy of numerical approximations is likely undesirable due to the following observations:
-
Given a single LRA definable approximation of error , Lemma 4 essentially establishes that has provable error , an exponential increase dependent on .
-
While the results in Section 3 establish the completeness of the linear fragment of dL for (open properties of) linear ODEs via density of admissible approximations, it does not guarantee that such admissible approximations can always be found efficiently.
Furthermore, practical reachability computations of linear homogeneous ODEs frequently utilize the homogeneity of linear ODEs to simplify computations. We consider the standard set-up for a reachability algorithm below [17]:
-
Decompose as for some sufficiently small time step , and compute an approximation .
-
Compute an over-approximation of the reachable set on from the set of initial conditions :
In this section, we consider a standard approach where is obtained as the bloated convex-hull of the sets , . Intuitively, this is just the image of the approximation:
- As over-approximates the flow on , it follows that (approximately) over-approximates the flow on , thus an overall approximation of the reachable set on can be approximated as:
The first result of this section is Theorem 9, establishing that dL can carry out a similar algorithm by going slightly beyond the linear fragment, which is necessary to express the approximation . Importantly, such a proof-producing algorithm in dL does not require reasoning about nonlinear differential invariants via generic completeness theorems [33].
▶ Theorem 9 (Stepwise Approximations). Given an ODE on a rational interval with LRA definable compact initial conditions and a desired number of time steps , there computably exists:
■ Time varying matrices for .
■ Error bounds for .
Such that the following dL formula is provable, where .
Furthermore, each is affine in with rational coefficients and has global error .
Theorem 9 can be viewed as the proof-theoretic analog of a standard reachability enclosure algorithm for linear systems [17]. In particular, Theorem 9 is constructive and only requires a number of dL proof steps linear in N, and the global error bound of cannot be improved in general since the initial approximation on is affine and thereby already has error in the worst case. The dL-provability part of the proof is presented below, and a complete argument for the error analysis is provided in Appendix B.
Linear Axiomatization of Linear Differential Equations
Proof Sketch of Theorem 9. Intuitively, there are two parts to the algorithm:
■ Base case: Provably establishing a bound of the following form on for some :
■ Inductive case: Assuming that the bound has been established up to , extend this to .
For the base case, a sufficiently accurate Taylor approximation of suffices, which can be axiomatically proven in dL via standard arguments [31]. The base case is also the only part of the proof where nonlinear real arithmetic is used, to obtain error bounds on Taylor approximations. For the inductive step, we first make the following abbreviations (where ):
The derivation also uses the following end-point error bound for some sufficiently accurate , which can similarly be proven by Taylor approximations .
Intuitively, encodes that the error bound is at most at the -th time step, bounds the maximum norm of the -th approximation and bounds . It then suffices to establish that the following proof rule is derivable in , where is the previous approximation multiplied by .
Indeed, if STEP is valid, then repeated applications on the base case will prove the desired bound on with . Its derivation can be established as follows:
- This is proved by contradiction. Suppose that the bound does not hold, hence the following dL formula is satisfiable, i.e. a state of failure can be reached.
-
Denote to be the value of the time variable reached at the failing state. By the intermediate value theorem in dL [32, Lemma 15] applied to , the flow to the failing state will first reach some state with . By our premise, at this state one has , so where is some error term with .
-
Note that the flow of after a duration of semantically satisfies the following inequality (using the premise of )
Technically this uses nonlinear arithmetic. However, one Taylor approximation will suffice for both and the base case.
KeYmaera X-certified fixed-time evolution

Figure 2 Certified evolution projected onto over
By the premise of , (semantically) this can further be reduced to an upper bound of . Crucially, this semantic bound is actually syntactically provable, i.e. the following dL formula is provable
Indeed, this is achieved by applying the provable superposition principle (Lemma 15) with the scaling so that is satisfied and the premise can be applied. A similar computation also establishes that the flow of for time can be bounded by .
- Thus, the (provable) -th approximation bound can be taken to be and , deriving the proof rule STEP.
The following example provides one such provable approximation of a random 3-dimensional linear ODE.
▶ Example 10 (3D Example). We compute the reachability enclosure of a random ODE using the algorithm outlined in Theorem 9, on with a time step of , the matrix A being
And the initial conditions . This approximation is shown in Figure 2, which has provable error certified by KeYmaera X.
Finally, a direct application of Theorem 9 is that dL is capable of directly certifying reachable sets computed by external tools.
Linear Axiomatization of Linear Differential Equations
▶ Corollary 11. Let , , , , be as given in Theorem 9. Further assume that a sequence of (bounded) LRA definable sets and a corresponding are given satisfying:
where denotes the flow and denotes the infinity-norm neighborhood of radius around . Then the following dL formula is directly provable, certifying the correctness of LRA approximations:
Intuitively, Corollary 11 establishes that dL can directly certify the correctness of reachability sets provided that they allow for a positive numerical tolerance, which is expected of numerical approximations. The proof is supplied in Appendix B. An important feature of the proof is that the nonlinear fragment of dL is only needed to establish the correctness of , and all containments of the form are soundly reduced to LRA.
▶ Example 12 (Certified Zonotopes). As an example application of Corollary 11, we certify a sequence of 100 time-step reachability enclosures of the ODE over the time interval using and initial conditions with
The set approximations were zonotopes computed by the external tool JuliaReach [6], with a conservative rounding ( ) applied to account for floating-point errors. The projections of the certified reachable sets are shown in Fig. 3. It should be stressed that these reachable sets are provably correct as certified by KeYmaera X, which were obtained via unverified approximations from external tools.
5 Related Work
Axiomatization of Differential Equations. This article contributes to the axiomatic study of (linear) ODEs with dL. Earlier works in dL either do not establish (absolute) completeness [29, 28, 27], or prove completeness for fragments of dL that include general polynomial ODEs [33, 31] and therefore require the use of nonlinear real arithmetic. In particular, earlier work [31] concerning the completeness of open properties on finite time horizons relies upon the general completeness of (nonlinear) differential invariants. Beyond dL, axiomatic approaches to continuous/hybrid dynamical systems include automata-theoretic approaches [24, 4], hybrid Hoare logic [35] and embeddings such as IsaVODEs [40]. The general decidability and completeness of differential invariants in dL have been established in earlier works [22, 16, 33], which this article expands upon. The specific (arithmetic) problem of certifying zonotope containment in dL has also been explored in earlier work [19].
Linear Differential Equations. The quantitative study of linear ODEs, specifically in the case of safety verification, has resulted in many efficient algorithms to compute over-approximations of reachable sets, implemented in tools such as CORA [2], Flow* [9],
KeYmaera X-certified scaled-zonotope flowpipe 100 time-steps on [0, 1]

Figure 3 Certified evolution of 5D system over
SpaceEx [13], JuliaReach [6] and many others. While such algorithms are mathematically rigorous in theory, most of them have not been formally verified outside of a few exceptions [20, 26]. In particular, such approaches focus on formally verifying algorithms for reachability computations, as opposed to the approach presented in this article which certifies results with proofs in dL.
It should be stressed that while linear ODEs are mathematically “simple” in the sense that a closed-form solution can be written down explicitly, designing provably correct and scalable algorithms to over-approximate reachable sets is far from trivial. Even the computation of the underlying matrix exponential is surprisingly intricate [23]. Traditional algorithms for numerically solving ODEs (e.g., Runge-Kutta methods) are primarily designed to compute the approximate reachable set starting from a single initial condition instead of a set of initial conditions as needed for the analysis of cyber-physical systems, and generally do not provide guaranteed error bounds that are needed for safety verification.
Concerning the qualitative study of linear ODEs, many deep results have been established that relate computability-theoretic questions to open problems in number theory [5, 10]. Results concerning the general synthesis of o-minimal definable differential invariants focusing on infinite time horizons avoiding semi-algebraic unsafe sets have also been established [1].
6 Conclusion
This article establishes that the linear fragment of dL is complete for topologically open properties of linear ODEs, in particular including correctness properties of (numerical) reachability approximations. Topologically open properties of linear ODEs can be proven in linear real arithmetic with a linear number of Lie derivatives, establishing the theoretical foundations for complete proof-producing certifications of reachability computations for linear ODEs. Furthermore, this article establishes that a standard algorithm [17] can be provably implemented in full (nonlinear) dL using a linear number of proof steps. For future work, it would be interesting to determine the computational complexity of such certification procedures.
Linear Axiomatization of Linear Differential Equations
References
1 Shaull Almagor, Edon Kelmendi, Joël Ouaknine, and James Worrell. Invariants for continuous linear dynamical systems. In Artur Czumaj, Anuj Dawar, and Emanuela Merelli, editors, 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, July 8-11, 2020, Saarbrücken, Germany (Virtual Conference), volume 168 of LIPIcs, pages 107:1–107:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. URL: https://doi.org/10.4230/LIPIcs.ICALP.2020.107, doi:10.4230/LIPICS.ICALP.2020.107.
2 Matthias Althoff. An introduction to CORA 2015. In Goran Frehse and Matthias Althoff, editors, 1st and 2nd International Workshop on Applied veRification for Continuous and Hybrid Systems, ARCH@CPSWeek 2014, Berlin, Germany, April 14, 2014 / ARCH@CPSWeek 2015, Seattle, WA, USA, April 13, 2015, volume 34 of EPiC Series in Computing, pages 120–151. EasyChair, 2015. URL: https://doi.org/10.29007/zbkv, doi:10.29007/ZBKV.
3 Rajeev Alur. Principles of Cyber-Physical Systems. The MIT Press, 2015.
4 Rajeev Alur, Costas Courcoubetis, Thomas A. Henzinger, and Pei-Hsin Ho. Hybrid automata: An algorithmic approach to the specification and verification of hybrid systems. In Robert L. Grossman, Anil Nerode, Anders P. Ravn, and Hans Rischel, editors, Hybrid Systems, volume 736 of Lecture Notes in Computer Science, pages 209–229. Springer, 1992. doi:10.1007/3-540-57318-6_30.
5 Paul C. Bell, Jean-Charles Delvenne, Raphaël M. Jungers, and Vincent D. Blondel. The continuous skolem-pisot problem. Theor. Comput. Sci., 411(40-42):3625–3634, 2010. URL: https://doi.org/10.1016/j.tcs.2010.06.005, doi:10.1016/J.TCS.2010.06.005.
6 Sergiy Bogomolov, Marcelo Forets, Goran Frehse, Kostiantyn Potomkin, and Christian Schilling. Juliareach: a toolbox for set-based reachability. In Necmiye Ozay and Pavithra Prabhakar, editors, Proceedings of the 22nd ACM International Conference on Hybrid Systems: Computation and Control, HSCC 2019, Montreal, QC, Canada, April 16-18, 2019, pages 39–44. ACM, 2019. doi:10.1145/3302504.3311804.
7 Brandon Bohrer, Vincent Rahli, Ivana Vukotic, Marcus Völp, and André Platzer. Formally verified differential dynamic logic. In Yves Bertot and Viktor Vafeiadis, editors, Certified Programs and Proofs - 6th ACM SIGPLAN Conference, CPP 2017, Paris, France, January 16-17, 2017, pages 208–221. ACM, 2017. doi:10.1145/3018610.3018616.
8 Thomas Bouton, Diego Caminha Barbosa De Oliveira, David Déharbe, and Pascal Fontaine. veriT: An open, trustable and efficient SMT-solver. In Renate A. Schmidt, editor, Automated Deduction - CADE-22, 22nd International Conference on Automated Deduction, Montreal, Canada, August 2-7, 2009. Proceedings, volume 5663 of Lecture Notes in Computer Science, pages 151–156. Springer, 2009. doi:10.1007/978-3-642-02959-2_12.
9 Xin Chen, Erika Ábrahám, and Sriram Sankaranarayanan. Flow*: An analyzer for non-linear hybrid systems. In Natasha Sharygina and Helmut Veith, editors, Computer Aided Verification - 25th International Conference, CAV 2013, Saint Petersburg, Russia, July 13-19, 2013. Proceedings, volume 8044 of LNCS, pages 258–263. Springer, 2013. doi:10.1007/978-3-642-39799-8_18.
10 Ventsislav Chonev, Joël Ouaknine, and James Worrell. On the skolem problem for continuous linear dynamical systems. In Ioannis Chatzigiannakis, Michael Mitzenmacher, Yuval Rabani, and Davide Sangiorgi, editors, 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, July 11-15, 2016, Rome, Italy, volume 55 of LIPIcs, pages 100:1–100:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. URL: https://doi.org/10.4230/LIPIcs.ICALP.2016.100, doi:10.4230/LIPICS.ICALP.2016.100.
11 James H. Davenport and Joos Heintz. Real quantifier elimination is doubly exponential. J. Symb. Comput., 5(1/2):29–35, 1988. doi:10.1016/S0747-7171(88)80004-X.
12 Andreas Eggers, Martin Fränzle, and Christian Herde. SAT modulo ODE: a direct SAT approach to hybrid systems. In ATVA, pages 171–185, 2008. doi:10.1007/978-3-540-88387-6_14.
13 Goran Frehse, Colas Le Guernic, Alexandre Donzé, Scott Cotton, Rajarshi Ray, Olivier Lebeltel, Rodolfo Ripado, Antoine Girard, Thao Dang, and Oded Maler. Spaceex: Scalable verification of hybrid systems. In Ganesh Gopalakrishnan and Shaz Qadeer, editors, Computer Aided Verification - 23rd International Conference, CAV 2011, Snowbird, UT, USA, July 14-20, 2011. Proceedings, volume 6806 of LNCS, pages 379–395. Springer, 2011. doi:10.1007/978-3-642-22110-1_30.
14 Nathan Fulton, Stefan Mitsch, Jan-David Quesel, Marcus Völp, and André Platzer. KeYmaera X: An Axiomatic Tactical Theorem Prover for Hybrid Systems, volume 9195 of LNCS, page 527–538. Springer International Publishing, Cham, 2015. URL: http://link.springer.com/10.1007/978-3-319-21401-6_36, doi:10.1007/978-3-319-21401-6_36.
15 Sicun Gao, Soonho Kong, and Edmund M. Clarke. dReal: An SMT solver for nonlinear theories over the reals. In Maria Paola Bonacina, editor, Automated Deduction – CADE-24, page 208–214, Berlin, Heidelberg, 2013. Springer. doi:10.1007/978-3-642-38574-2_14.
16 Khalil Ghorbal and Andrew Sogokon. Characterizing positively invariant sets: Inductive and topological methods. J. Symb. Comput., 113:1–28, 2022. URL: https://doi.org/10.1016/j.jsc.2022.01.004, doi:10.1016/J.JSC.2022.01.004.
17 Antoine Girard. Reachability of uncertain linear systems using zonotopes. In Manfred Morari and Lothar Thiele, editors, Hybrid Systems: Computation and Control, 8th International Workshop, HSCC 2005, Zurich, Switzerland, March 9-11, 2005, Proceedings, volume 3414 of Lecture Notes in Computer Science, pages 291–305. Springer, 2005. doi:10.1007/978-3-540-31954-2_19.
18 Antoine Girard, Colas Le Guernic, and Oded Maler. Efficient computation of reachable sets of linear time-invariant systems with inputs. In João P. Hespanha and Ashish Tiwari, editors, Hybrid Systems: Computation and Control, 9th International Workshop, HSCC 2006, Santa Barbara, CA, USA, March 29-31, 2006, Proceedings, volume 3927 of Lecture Notes in Computer Science, pages 257–271. Springer, 2006. doi:10.1007/11730637_21.
19 Jonathan Hellwig, Lukas Schäfer, Long Qian, André Platzer, and Matthias Althoff. From zonotopes to proof certificates: A formal pipeline for safe control envelopes. In Ferruccio Damiani and Marie Farrell, editors, Integrated Formal Methods - 20th International Conference, iFM 2025, Paris, France, November 19-21, 2025, Proceedings, volume 16194 of Lecture Notes in Computer Science, pages 248–267. Springer, 2025. doi:10.1007/978-3-032-10794-7_13.
20 Fabian Immler. A verified ODE solver and the lorenz attractor. J. Autom. Reason., 61(1-4):73–111, 2018. URL: https://doi.org/10.1007/s10817-017-9448-y, doi:10.1007/S10817-017-9448-Y.
21 Katherine Kosaian, Yong Kiam Tan, and André Platzer. A first complete algorithm for real quantifier elimination in Isabelle/HOL. In Brigitte Pientka and Steve Zdancewic, editors, Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs, pages 211–224, New York, 2023. ACM. doi:10.1145/3573105.3575672.
22 Jiang Liu, Naijun Zhan, and Hengjun Zhao. Computing semi-algebraic invariants for polynomial dynamical systems. In Samarjit Chakraborty, Ahmed Jerraya, Sanjoy K. Baruah, and Sebastian Fischmeister, editors, Proceedings of the 11th International Conference on Embedded Software, EMSOFT 2011, part of the Seventh Embedded Systems Week, ESWeek 2011, Taipei, Taiwan, October 9-14, 2011, pages 97–106. ACM, 2011. doi:10.1145/2038642.2038659.
23 Cleve B. Moler and Charles Van Loan. Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later. SIAM Rev., 45(1):3–49, 2003. doi:10.1137/S00361445024180.
24 Anil Nerode and Wolf Kohn. Models for hybrid systems: Automata, topologies, controllability, observability. In Robert L. Grossman, Anil Nerode, Anders P. Ravn, and Hans Rischel, editors, Hybrid Systems, volume 736 of Lecture Notes in Computer Science, pages 317–356. Springer, 1992. doi:10.1007/3-540-57318-6_35.
25 Dmitri Novikov and Sergei Yakovenko. Trajectories of polynomial vector fields and ascending chains of polynomial ideals. Annales de l'Institut Fourier, 49(2):563–609, 1999. URL: https://aif.centre-mersenne.org/articles/10.5802/aif.1683/, doi:10.5802/aif.1683.
Linear Axiomatization of Linear Differential Equations
26 Sewon Park and Holger Thies. A Coq formalization of Taylor models and power series for solving ordinary differential equations. In Yves Bertot, Temur Kutsia, and Michael Norrish, editors, 15th International Conference on Interactive Theorem Proving, ITP 2024, September 9-14, 2024, Tbilisi, Georgia, volume 309 of LIPIcs, pages 30:1–30:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. URL: https://doi.org/10.4230/LIPIcs.ITP.2024.30, doi:10.4230/LIPICS.ITP.2024.30.
27 André Platzer. Differential dynamic logic for hybrid systems. J. Autom. Reason., 41(2):143–189, 2008. URL: https://doi.org/10.1007/s10817-008-9103-8, doi:10.1007/S10817-008-9103-8.
28 André Platzer. The complete proof theory of hybrid systems. In Proceedings of the 27th Annual IEEE Symposium on Logic in Computer Science, LICS 2012, Dubrovnik, Croatia, June 25-28, 2012, pages 541–550. IEEE Computer Society, 2012. doi:10.1109/LICS.2012.64.
29 André Platzer. Logics of dynamical systems. In Proceedings of the 27th Annual IEEE Symposium on Logic in Computer Science, LICS 2012, Dubrovnik, Croatia, June 25-28, 2012, pages 13–24. IEEE Computer Society, 2012. doi:10.1109/LICS.2012.13.
30 André Platzer. A complete uniform substitution calculus for differential dynamic logic. J. Autom. Reason., 59(2):219–265, 2017. URL: https://doi.org/10.1007/s10817-016-9385-1, doi:10.1007/S10817-016-9385-1.
31 André Platzer and Long Qian. Axiomatization of compact initial value problems: Open properties. J. ACM, August 2025. doi:10.1145/3763228.
32 André Platzer and Yong Kiam Tan. How to prove “all” differential equation properties. Technical Report CMU-CS-17-117, School of Computer Science, Carnegie Mellon University, Pittsburgh, PA, August 2017. Extended version at arXiv:1802.01226.pdf.
33 André Platzer and Yong Kiam Tan. Differential equation invariance axiomatization. J. ACM, 67(1):6:1–6:66, 2020. doi:10.1145/3380825.
34 Henri Poincaré. Mémoire sur les courbes définies par une équation différentielle. J. Math. Pures Appl., 1881.
35 Huanhuan Sheng, Alexander Bentkamp, and Bohua Zhan. Hhlpy: Practical verification of hybrid systems using hoare logic. In Marsha Chechik, Joost-Pieter Katoen, and Martin Leucker, editors, Formal Methods - 25th International Symposium, FM 2023, Lübeck, Germany, March 6-10, 2023, Proceedings, volume 14000 of Lecture Notes in Computer Science, pages 160–178. Springer, 2023. doi:10.1007/978-3-031-27481-7_11.
36 J. Tanner Slagel, Mariano M. Moscato, Lauren M. White, César A. Muñoz, Swee Balachandran, and Aaron Dutle. Embedding differential dynamic logic in PVS. In Temur Kutsia, Daniel Ventura, David Monniaux, and José F. Morales, editors, Proceedings 18th International Workshop on Logical and Semantic Frameworks, with Applications and 10th Workshop on Horn Clauses for Verification and Synthesis, LSFA/HCVS 2023, and 10th Workshop on Horn Clauses for Verification and Synthesis Rome, Italy & Paris, France, 1-2 July, 2023 & 23rd April 2023, volume 402 of EPTCS, pages 43–62, 2023. doi:10.4204/EPTCS.402.7.
37 Yong Kiam Tan and André Platzer. An axiomatic approach to existence and liveness for differential equations. Formal Aspects Comput., 33(4-5):461–518, 2021. URL: https://doi.org/10.1007/s00165-020-00525-0, doi:10.1007/S00165-020-00525-0.
38 Alfred Tarski. A Decision Method for Elementary Algebra and Geometry. The Rand Corporation, Santa Monica, Calif., 1948.
39 Mark Wetzlinger, Niklas Kochdumper, Stanley Bak, and Matthias Althoff. Fully-automated verification of linear systems using reachability analysis with support functions. In Proceedings of the 26th ACM International Conference on Hybrid Systems: Computation and Control, HSCC 2023, San Antonio, TX, USA, May 9-12, 2023, pages 5:1–5:12. ACM, 2023. doi:10.1145/3575870.3587121.
40 Jonathan Julián Huerta y Munive, Simon Foster, Mario Gleirscher, Georg Struth, Christian Pardillo Laursen, and Thomas Hickman. Isavodes: Interactive verification of cyber-physical systems at scale. J. Autom. Reason., 68(4):21, 2024. URL: https://doi.org/10.1007/s10817-024-09709-2, doi:10.1007/S10817-024-09709-2.
A Axiomatization
This section provides a complete record of dL's axiomatization for reference.
▶ Theorem 13 ([29, 33, 37]). The following are sound axioms of dL. In axioms Cont, Dadj, BDG, the variables y is fresh. In axiom BDG, is required to be a formula of real arithmetic.
(if is valid in )
B'
K
V
(no free variable of is bound by )
G
dW
dC
DG
DGi
[&]
DX
Uniq
Cont
Dadj
RI
BDG
▶ Remark 14. In axioms [&] and Cont, it is assumed that the ODE includes a clock variable . This assumption can be made without loss of generality since a clock variable can always be added using DG. The variable is also assumed to be fresh in [&].
Linear Axiomatization of Linear Differential Equations
B Proofs
Proof of Theorem 7. To establish completeness, we assume the validity of the formula and aim to show provability. As is open and is compact, there must exist some such that , i.e. the flow is of distance at least to the complement of . Let be some such witness, and be some LRA definable approximation of with provable error at most , which necessarily exists by Proposition 6 and Theorem 3. The following LRA formula is therefore valid and provable
As was constructed to have provable error at most , this is equivalent to the provability of
Combining these then establishes the provability of the following as desired
Proof of Theorem 8. The proof of liveness is similar to the proof of Theorem 7. Recall that the liveness formula is equivalent to the validity of the following quantified formula involving the flow .
Clearly, a sufficient condition of provability is if there exists some approximant with provable error such that the following LRA formula is valid
I.e. For every initial condition , there exists some time such that the -ball around lies within the target set . However, such an approximant must necessarily exist as is open. Indeed, suppose that this is false, then there exists a sequence of approximations converging to with uniform error , such that for all , there exists where the distance to the complement of satisfies for all . However, the compactness of then implies the existence of a limiting point (up to taking a subsequence) , satisfying for all . But since is closed, this implies that never reaches , a contradiction.
The following lemma provably establishes the superposition principle in dL
▶ Lemma 15 (Linear Superposition). The following is derivable axiom of dL
Proof. Taking the Lie derivative of the difference gives
Hence forms a Darboux invariant [33] of the system, and is therefore provable.
Proof of Theorem 9. Let , be as given in the theorem. Let
be the m-th order Taylor approximation of . By completeness of dL for Taylor approximations [31] and the standard Taylor remainder theorem, there exists some such that and the following is provable for all :
Let be any rational approximation with error , let . Then there exists , such that the following are provable (using sufficiently accurate Taylor approximations)
We now follow the proof sketch of Theorem 9 and construct the sequence of affine matrices and error bounds via:
■ and the radius bounds
The dL provability of these bounds follow directly from the sketch (assuming without loss of generality that ), so it suffices to prove . Unfolding the recurrence gives
The approximation on gives:
Thus, the summation simplifies to
Using and therefore yields
Establishing the global error as desired.
Proof of Corollary 11. For , let and define:
Linear Axiomatization of Linear Differential Equations
Similar to Theorem 9, we may establish some (possibly nonlinear) FOL definable approximation (e.g. Taylor approximation) such that the following is provable:
this is also the only place where the nonlinear fragment of dL is needed. The correctness of can then be provably established as follows:
Base case - This directly follows from the provable error of and the (provable) superposition principle of linear ODEs. For , we may construct the auxiliary scaled variable satisfying . Thus, by construction of , the following is provable
By the provable superposition principle of linear ODEs, it follows that along the ode , . Thus, this establishes that for any initial condition . By construction of , the following arithmetic fact is necessarily valid
Therefore this establishes the base case safety requirement:
Inductive case - This is similar to the proof of Theorem 9, let , then evolving from is exactly . More formally, by a similar IVT argument to the proof of Theorem 9, the reachable set is provably propagated to
completing the inductive claim. In particular, the only arithmetic condition that needs to be proven is the containment
which is in LRA.
▶