Further Beyond 287
that the collection of all filter operations F = {F
ϕ
| ϕ : X →{0, 1}}, under func-
tion composition, ◦, forms a commutative, idempotent monoid (also known as a
semilattice).
2. In Equation 9.174, we resolved the message computation asynchrony bottleneck
by setting ϕ = ⊕= ⊗= max and requiring the message function ψ : R
k
→R
k
to
be a (max, +) tropical linear map, trop(W, x)
i
= max
1≤j≤k
(w
ij
+ x
j
). Prove directly
that ψ(x) = trop(W, x) satisfies the homomorphism condition ψ(max(x
1
, x
2
)) =
max(ψ(x
1
), ψ(x
2
)) for any weight matrix W ∈R
k×k
. Why does a standard lin-
ear layer ψ(x) = Wx generally fail this condition unless W is a non-negative
generalised permutation matrix?
3. Consider a global natural graph network (NGN) operating on an undirected cycle
graph C
4
with four nodes V = {1, 2, 3, 4} and edges E = {(1, 2), (2, 3), (3, 4), (4, 1)},
whose automorphism group is the dihedral group D
4
. How many distinct directed
message functions ψ
u→v
can a global NGN assign across the 8 directed edges of C
4
?
Now suppose we add a single chord between nodes 1 and 3, creating 5 undirected
edges (10 directed edges). How many independent directed message functions ψ
u→v
can a global NGN learn on this modified graph?
4. Using the functional programming definition of the group action monad M(X) =
G ×X with return X = (e, X) and (g, X) >>= f = (gh, Y) where f(X) = (h, Y), trace
an arbitrary nested element (g, (h, X)) ∈M(M(X)) along both paths of the M-algebra
associativity diagram for the structure map a(g, X) = ρ
X
(g)X, and verify that its
commutativity is equivalent to the representation axiom ρ
X
(g)ρ
X
(h)X = ρ
X
(gh)X.
Next, replace the group action monad with the list monad M(X) = X
∗
(where
return x = [x] and – >>= id flattens a list of lists by concatenation). Show that any
(X
∗
, a)-algebra naturally induces an associative binary operation ⊙: X ×X →X
with an identity element e ∈X—that is, the carrier space X of a list monad algebra
is necessarily a monoid!
Notes
1
In the currently prevalent paradigm of large language models, the specific
variant of this capability is referred to as length generalisation: generalising
to prompts of varying length (Anil et al. 2022). It is a critical capability for
open-ended reasoning over long horizons.
2
Strictly speaking, this is not an equivariance constraint, as equivariance relies
on group representations. However, the structure of the constraints does follow
the structure of equivariant map conditions closely.
3
The story does not necessarily end even here: for example, generalising
to multiple input components in a category yields multicategories, of which
the operad special case is seeing reasonable levels of interest in the machine
learning community (Bottman, Liu, and Richardson 2026).