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:

Today, we’ll take the following general view:

Let C\mathcal{C} be a symmetric monoidal category, and let (T,+,0)(T,+,0) be a commutative monoid in C\mathcal{C}1. Then a TT-dynamical system is simply an object SS of C\mathcal{C} equipped with an action of TT, TSST \otimes S \to S.

We think of the elements of TT as “time-shifts”, and the composition adds these together. Using this, we can recover a wide variety of different types of dynamical systems:

Let Dyn(T)Dyn(T) denote the category of TT-dynamical systems - their maps are simply TT-equivariant maps. There is an obvious forgetful functor Dyn(T)CDyn(T) \to \mathcal{C}.

Suppose C\mathcal{C} is a closed monoidal category. Then the above functor has a right adjoint, which sends MM to [T,M][T,M]. TT acts on [T,M][T,M] simply by “translation”, i.e (t.f)(t)=f(t+t)(t.f)(t') = f(t+t') To be more formal, the map T[T,M][T,M]T\otimes [T,M] \to [T,M] is adjoint to the map T[T,M]TMT \otimes [T,M] \otimes T \to M given by multiplying the 2 TTs, then evaluating the hom.

Proof: We claim that HomDyn(T)([M,[T,M])HomC(M,M)Hom_{Dyn(T)}([M,[T,M']) \cong Hom_\mathcal{C}(M,M').

Suppose we have a TT-equivariant map ϕ:M[T,M]\phi: M \to [T,M']. TT-equivariance, of course, means that the diagram

commutes.

The bare map M[T,M]M \to [T,M'] corresponds to a map MTMM \otimes T \to M'. The above commutative square means that this square commutes:

The bottom way around is “let TT act on MM, then use the map”. The other one is “multiply the TTs together, then use the map”.

Now let’s insert the unit into the right-hand TT:

Both these squares commute. And the top arrow is just the identity. In other words the classifying map TMMT \otimes M \to M' must equal the other composite, which is “act, and evaluate at 00”. Equationally, if f:M[T,M]f: M \to [T,M'], this means f(m)(t)=f(t.m)(0)f(m)(t) = f(t.m)(0). This means the map f:M[T,M]f:M \to [T,M'] is uniquely determined by the map MMM \to M' given by evaluation at 00. On the other hand, it’s not hard to see that any map MMM \to M' 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 MM be a TT-dynamical system. Let o:MXo:M \to X be a map in C\mathcal{C} on the underlying space of MM. We can think of oo as an “observable”: some property of the state which we can measure. There is a corresponding map of systems M[T,X]M \to [T,X] which takes each point in MM to its trajectory of observations We say MM is chaotic with respect to oo if map M[T,X]M \to [T,X] 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.


  1. 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 ↩︎

  2. It may have been more natural to consider finite-state Markov processes, but of course N0\mathbb{N}_0 isn’t finite, so that wouldn’t quite have worked ↩︎

  3. Incidentally, there is also a further left adjoint, the “free dynamical system”, given by MTMM \mapsto T \otimes M ↩︎