Cofree dynamical systems and chaos
This blog post largely retraces ideas from Lawvere: Functorial remarks on the general concept of chaos. I saw this in this tweet from Jade Master, which this blog post is basically an extended version of. Hat tip to her.
Let’s try to apply category theory to the study of “dynamical systems”. What is a dynamical system? There are a lot of different versions:
- A discrete dynamical system is a set with a map .
- A discrete Markov process if a countable set equipped with a stochastic matrix.
- A smooth dynamical systsem is a smooth manifold equipped with a section of the tangent bundle .
Today, we’ll take the following general view:
Let be a symmetric monoidal category, and let be a commutative monoid in 1. Then a -dynamical system is simply an object of equipped with an action of , .
We think of the elements of as “time-shifts”, and the composition adds these together. Using this, we can recover a wide variety of different types of dynamical systems:
-
Let be the category of sets, equipped with the cartesian monoidal structure. Let . Then a -dynamical system is exactly a discrete dynamical system in the previous sense.
-
Let instead be the category of countable sets and Markov kernels, and let be again (with the usual monoidal structure regarded as a deterministic Markov kernel). Then a -dynamical system is exactly a discrete Markov process2
-
Let be the category of smooth manifolds with the Cartesian monoidal structure, and let . Then an -dynamical system is almost the same thing as a smooth dynamical system in the above sense. A -dynamical system picks out a smooth trajectory for each , in a compatible way. This gives a smooth vector field (i.e a smooth dynamical system in the above sense) .
This is not quite a 1-1 correspondence, for example because even smooth dynamical systems in that sense can experience “finite-time-blowup”. For example, if we let , then this a dynamical system is just an ordinary (time-independent) differential equation. If we put , the unique solution given is , which goes to as . So there is no way to find a trajectory, extended for arbitrarily long time, which solves this equation. But on the other hand, perhaps equations like this are bad and shouldn’t be counted. Anyways, they are not dynamical systems in this sense.
Let denote the category of -dynamical systems - their maps are simply -equivariant maps. There is an obvious forgetful functor .
Suppose is a closed monoidal category. Then the above functor has a right adjoint, which sends to . acts on simply by “translation”, i.e To be more formal, the map is adjoint to the map given by multiplying the 2 s, then evaluating the hom.
Proof: We claim that .
Suppose we have a -equivariant map . -equivariance, of course, means that the diagram

commutes.
The bare map corresponds to a map . The above commutative square means that this square commutes:

The bottom way around is “let act on , then use the map”. The other one is “multiply the s together, then use the map”.
Now let’s insert the unit into the right-hand :

Both these squares commute. And the top arrow is just the identity. In other words the classifying map must equal the other composite, which is “act, and evaluate at ”. Equationally, if , this means . This means the map is uniquely determined by the map given by evaluation at . On the other hand, it’s not hard to see that any map can be extended to an equivariant map by this method. This concludes the proof.
Now, what can we do with these “cofree dynamical systems”3? Here is a cool thing: We can give a categorical definition of chaos.
Let be a -dynamical system. Let be a map in on the underlying space of . We can think of as an “observable”: some property of the state which we can measure. There is a corresponding map of systems which takes each point in to its trajectory of observations We say is chaotic with respect to if map is an epimorphism.
If we think of an epimorphism as a “surjection”, this means every possible sequence of observations is possible. In other words, our current observations don’t exclude any possible pattern of future observations.
-
It is not really important that these are symmetric and commutative, but I can’t be bothered to keep track of the order, and I don’t have any natural non-commutative examples ↩︎
-
It may have been more natural to consider finite-state Markov processes, but of course isn’t finite, so that wouldn’t quite have worked ↩︎
-
Incidentally, there is also a further left adjoint, the “free dynamical system”, given by ↩︎