Termite Mounds as Colimits
What if the architect of a Termite Mound is not an individual, nor an agent, but a universal construction emerging from a colimit?
Although Barry wasn't a huge algebraist, it's become clear to me that category theory offers a way of thinking about this that is rooted in compositionality of individuals: a global structure can arise from the relationships between local structures, without any individual agent/actor/termite possessing a complete, internal representation of the whole.
Local Action $\to$ Global Topology
Suppose each termite constructs a small fragment of a tunnel network; We can model these fragments as graphs (also known as 1-dimensional CW complexes), with morphisms describing how they connect along shared boundaries. Each tunnel has terminal vertices and a single edge, for this example.
Suppose we let $D:I\to\mathbf{Top}$ be the diagram consisting of 3 closed intervals $E_1,E_2,E_3$ and three singleton vertices $v_1,v_2,v_3$. At each endpoint make the inclusion $v_i\to E_i$ and $v_{i+1}\to E_i$, taking indices $\mod 3$. The assembled structure is thereby: $$ M=\operatorname{colim}_{i\in I}D(i)\cong S^1 $$
The fun part of this is that the colimit can possess topological properties that none of its constituent objects possess.
Each object in such a diagram is contractible, however gluing their endpoints cyclically creates a loop. Using first homology we find that $$ \forall i \quad H_1(D(i);\mathbb Z)=0 $$ And yet: $$ H_1\left(\operatorname{colim}D;\mathbb Z\right)\cong\mathbb{Z}$$
Consequently we have $$ \boxed{\operatorname{colim}(H_1\circ D)\not\cong H_1(\operatorname{colim}D)} $$
Here the homology functor finds itself within the category of abelian groups, with the left-hand side being the zero group.
A hole emerges even though no singular termite defined a hole to be.
Emergence as a Failure of Functorial Foritification and Preservation
Now, let $F:\mathcal{C}\to\mathcal{E}$ be an observation functor that extracts some property of a system. Assuming the relevant colimits exist (which isn't that much of a leap but not something we're going to prove, just assume), we can take a canonical 'comparison' morphism $$ \kappa_D:\operatorname{colim}(F\circ D)\longrightarrow F(\operatorname{colim}D) $$
Whenever $\kappa_D$ is not an isomorphism, we find that observing the assembled whole is categorically different from assembling the observations of its parts.
Thereby in this framework, emergence is characterised as a failure of an observation functor to preserve colimits, making emergence relative to what you measure. The same system might exhibit emergence with respect to $H_1(-;\mathbb{Z})$, but not with respect to a colimit-preserving observable such as $H_0(-;\mathbb{Z})$. (which preserves this colimit, not necessarily every colimit...)
Stigmergy as Asynchronous Computation
To push these ideas out a little further, let us suppose the environmental states form a partially ordered set $P$, and termite actions are inflationary, monotone maps: $$ f_i:P\to P,\qquad x\leq f_i(x) $$
Each action observes and then updates what is essentially a 'shared state'. For a finite family of maps, a finite-height poset, and a fair schedule (every map is applied infinitely often, assuming an infinite supply of termites), asynchronous iteration from $x_0$ stabilises at the least common fixed point above $x_0$: $$ \forall i \quad x_{n+1}=f_{i_n}(x_n),\qquad f_i(x^*)=x^* $$ We can visualise this in the following way:
Why does this happen? In short: Inflationarity makes the sequence ascending, finite height forces eventual stabilisation, and fairness finds that a limit is a fixed point of every map. Monotonicity ensures that any common fixed point $y \geq x_0$ (satisfying $f_i(y) = y$ for all $i$) bounds every iteration $x_{n}$ from above ($x_n \leq y$), proving $x^{*}$ must be the least common fixed point.
In this ideal model, the termites are effectively running a distributed fixed-point algorithm, with mud as their computational substrate. They don't require some master synchronization, global blueprint, nor 'architect termite'!
A Philosophical Punchline
This wouldn't be a pithy reference-free blog without some grand attestations about what the mathematics is doing:
- Stigmergy explains how the system constructs itself.
- Colimits explain how local structures compose into a whole.
- Fixed points explain how construction can stabilise.
- Non-preservation of colimits explains how genuinely new observable properties can appear.
A related research direction is Ehresmann-Vanbremeersch Memory Evolutive Systems: Hierarchy, Emergence, Cognition (2007), which uses colimits and evolving categories to formalise hierarchical complexity and emergence.
The homology example and fixed-point model are illustrative mathematical constructions, not validated models of actual termite behaviour. Real stigmergy includes more complicated environmental feedback, and need not be monotone or converge. The proposed categorical criterion is a lens on emergence, not a universal definition or a claim that all colimits arise from stigmergy.
Comments
Post a Comment