Locally Finite Categories and Their Incidence Coalgebras
A category tells us how morphisms compose:
There is a natural way to read this operation backwards.
Given a morphism
instead of asking how two arrows compose to form
If there are only finitely many such decompositions, we may add them together. After linearization this produces a coproduct
Thus ordinary categorical composition gives rise, in the opposite direction, to a coalgebra of decompositions.
Locally finite categories
Let
For a morphism
define its set of two-step factorizations by
Here the intermediate object
In this note, we call
is finite for every morphism
Equivalently, if we regard composition as the map
then local finiteness says that every fibre of this map is finite.
This is the finiteness condition relevant to the coalgebra construction.
It is stronger in the relevant direction than merely asking each Hom-set to be finite. A morphism could pass through infinitely many different intermediate objects even if every individual Hom-set were finite.
From a category to a coalgebra
Fix a field
be the free
For a basis morphism
Because
Extend
Define also
We claim that
is a coalgebra.
Coassociativity is associativity of factorization
Let
Applying
Applying
Expanding,
On the other hand,
hence
Both expressions simply sum over all three-step factorizations
such that
Therefore
The coassociativity of the coalgebra is thus nothing more than the associativity of composition in the original category.
There are two ways to cut a three-step factorization into a two-step factorization followed by another cut, but they describe exactly the same collection of three-step factorizations.
The counit remembers trivial factorizations
Every morphism
has two distinguished factorizations:
and
Now consider
Among all factorizations
the counit kills every term except those for which
The unique surviving term is
and hence
Similarly,
Thus
So identities in the category become the counit of the coalgebra.
There is a useful dictionary:
Posets as the first example
Let
There is at most one morphism between any two objects.
For
is therefore exactly the choice of an element
Hence
The categorical local-finiteness condition becomes
which is precisely the usual definition of a locally finite poset.
Writing
This is the classical incidence coalgebra of a locally finite poset.
Thus the categorical construction is a direct generalization of incidence coalgebras of posets.
The matrix coalgebra
There is another striking example.
Let
for every ordered pair
Composition is forced:
For a fixed morphism
a two-step factorization is determined exactly by the choice of an intermediate object
Therefore
The counit is
This is precisely the standard matrix coalgebra.
So the familiar formula
is not an artificial definition.
It simply says:
list every possible way of passing from
to through an intermediate object.
The summation index
Why matrix multiplication appears
Now let
For two linear maps
the coalgebra structure defines their convolution
In the matrix example,
If we identify
then
Hence
as algebras, where the left-hand side carries convolution.
Matrix multiplication is therefore an incidence convolution arising from categorical factorization.
A broader interpretation
The construction suggests a general way of thinking about coalgebras.
A category begins with a forward operation:
A coalgebra reverses the question.
Given the output
After linearization, the answer is
Thus the coproduct records not merely a formal duplication, but a geometry of decompositions.
In this sense,
The finiteness condition ensures that this fibre may be linearized by an ordinary finite sum.
This point of view explains at once why incidence coalgebras, matrix coalgebras, and later convolution algebras all have the same formal shape.
The coproduct tells us how an object decomposes.