Ordinary Differential Equations and Dynamical Systems VII: Attracting Sets and Liouville's TheoremTextbook
Motivation
Planar flows are tame: the Poincaré–Bendixson theorem says that a bounded forward orbit in the plane tends to a fixed point or a periodic orbit. From dimension three on this fails, and the long-time behavior of a flow has to be described through sets rather than single orbits. Chapter 8 of Gerald Teschl's graduate text Ordinary Differential Equations and Dynamical Systems (AMS GSM 140, 2012; author's preliminary version at mat.univie.ac.at) develops two tools for this. The first is the attracting set produced by a trapping region, the device used to show that the Lorenz equation (Lorenz 1963) has an attractor. The second is volume: Liouville's formula for volumes measures how a flow expands or contracts phase space, which shows that the Lorenz attractor has Lebesgue measure zero, and in the special case of a Hamiltonian system gives Liouville's theorem, that the flow preserves volume. Liouville's theorem, with Poincaré's recurrence theorem as its companion, underlies Hamiltonian mechanics and equilibrium statistical mechanics.
This mission states those results for the local flow of a vector field on an open subset of , as in the book.
Setting
Let be open and of class . An integral curve of is a differentiable on an open interval with . For each there is a unique maximal one through at time , defined on the open interval . Its value at time is , the flow. The flow is local: may be bounded.
For , the -limit set is the set of for which there are and with . The stable and unstable sets of are , where is the distance to a set. A set is invariant if it contains the full orbit of each of its points. An invariant is attracting if is a neighborhood of . A trapping region is an open connected with compact closure such that for all .
The divergence of is . On phase space , a Hamilton function defines Hamilton's equations , , whose right-hand side is the Hamiltonian vector field . The Lorenz equation is , , with . Volume is Lebesgue measure.
Formalization targets
Goal: Liouville's theorem (Theorem 8.10)
For on an open , with the flow of on , every measurable and every time at which all points of are alive satisfy
Milestones
- Lemma 8.8 (Liouville's formula for volumes). Take , bounded and open, and with every point of alive at . Write . Then and
- Theorem 8.11 (Poincaré). Let be a volume preserving bijection of a bounded region . Then every neighborhood contains an with for some .
- Lemma 8.5. For a trapping region , is nonempty, invariant, compact, connected and attracting.
- Lemma 8.6. For a trapping region , for every .
- Lemma 8.7. For the Lorenz equation with , the origin is the only fixed point, and every solution exists for all and tends to the origin.
Significance
The result itself. Liouville's theorem is the basic structural fact of Hamiltonian dynamics. It rules out asymptotically stable equilibria and attractors of positive measure for Hamiltonian systems. It makes Lebesgue measure invariant, which is the starting point of ergodic theory for mechanical systems. Combined with Theorem 8.11, it gives recurrence for any Hamiltonian motion confined to a bounded energy region. Lemma 8.8 is the quantitative version for arbitrary flows: for the Lorenz equation it gives , so the attractor from Lemma 8.5 has measure zero. Lemmas 8.5 and 8.6 produce attractors and show that they contain the unstable manifolds of their points.
Formalizing it. All of these results are classical and proved in the book. Mathlib has the change-of-variables formula, Poincaré recurrence for conservative measure-preserving maps (MeasureTheory.Conservative), and an -limit set for global flows (omegaLimit). It has no flow of a nonlinear ODE with its differentiable dependence on initial conditions, no volume formula along such a flow, and no Hamiltonian formalism. The mission asks for those pieces in the book's local-flow setting, with its hypotheses made explicit.
Difficulty
Lemma 8.8 and Theorem 8.10 need the flow map to be a diffeomorphism of the set of points alive at time onto its image. They also need its Jacobian to satisfy the first variational equation , whose determinant obeys Liouville's formula for linear systems. None of this is available for a general vector field in Mathlib, which provides local existence and uniqueness of integral curves but not differentiability of the flow in the initial condition. Differentiating under the integral also needs uniform control on a compact set of initial points. That is why Lemma 8.8 asks the closure of , not just , to be alive at . Without that, can have infinite volume (, , ).
Lemmas 8.5 and 8.6 are point-set topology. The obstacle there is the local flow: every statement about must first establish that the points involved are alive at time . The book avoids this by assuming completeness at the start of the chapter. For Lemma 8.7, the Liapunov function from the text has , not , so convergence to the origin requires the Krasovskii–LaSalle argument, not a plain Liapunov one.
Formalization scope
is EuclideanSpace ℝ (Fin n) and phase space is EuclideanSpace ℝ (Fin n) × EuclideanSpace ℝ (Fin n) with points , momenta first. volume on it is Lebesgue measure on . The flow is a pair satisfying IsMaximalFlow, which makes the unique maximal integral curve on . Nothing assumes . The chapter's standing completeness assumption is replaced by explicit aliveness hypotheses, and these are implied by completeness. The explicit readings are:
- Theorem 8.10: "Hamiltonian flow" means on an open . "Volume" means Lebesgue measure of any measurable that is alive at time .
- Lemma 8.8: on . is alive at . The conclusion also states and integrability of on , and is the real-valued volume.
- Theorem 8.11: "region" means a measurable bounded set. "Volume preserving" means that images of measurable subsets of are measurable and have the same measure. "Any neighborhood " means a neighborhood of some point, hence nonempty. means .
- Lemma 8.5: a trapping region has and forward complete, and "connected" includes nonempty. "Invariant" is two-sided.
- Lemma 8.7: "all solutions converge" includes existence for all . The flow is quantified universally.
A trivializing formalization is excluded. The goal is not stated for a complete or globally Lipschitz flow, not for sets of measure zero or bounded open sets only, and not with assumed. It must be proved for the flow of built from itself.
A complete development needs differentiability of the flow in the initial condition and the first variational equation. It also needs Liouville's formula for linear systems, and change of variables for the flow map. Each is reusable beyond this mission; contributions of any of them as separate lemmas are welcome.
Selected references
- G. Teschl, Ordinary Differential Equations and Dynamical Systems, Graduate Studies in Mathematics 140, AMS, 2012 (cited: author's preliminary version, Chapter 8, pp. 229–241). https://doi.org/10.1090/gsm/140 · https://www.mat.univie.ac.at/~gerald/ftp/book-ode/ode.pdf
- E. N. Lorenz, Deterministic nonperiodic flow, Journal of the Atmospheric Sciences 20 (1963), 130–141. https://doi.org/10.1175/1520-0469(1963)020%3C0130:DNF%3E2.0.CO;2
- V. I. Arnold, Mathematical Methods of Classical Mechanics, 2nd ed., Graduate Texts in Mathematics 60, Springer, 1989. https://doi.org/10.1007/978-1-4757-2063-1
- The Mathlib Community, Mathlib,
Mathlib/Dynamics/Ergodic/Conservative.lean. https://github.com/leanprover-community/mathlib4