Blog Archive

Friday, September 11, 2026

From Composition to Decomposition: Coalgebras of Locally Finite Categories

Locally Finite Categories and Their Incidence Coalgebras

A category tells us how morphisms compose:

xfygzgf:xz.

There is a natural way to read this operation backwards.

Given a morphism

h:xz,

instead of asking how two arrows compose to form h, we ask for all possible ways of decomposing h into two composable arrows:

xfygz,gf=h.

If there are only finitely many such decompositions, we may add them together. After linearization this produces a coproduct

Δ(h)=h=gffg.

Thus ordinary categorical composition gives rise, in the opposite direction, to a coalgebra of decompositions.


Locally finite categories

Let C be a small category.

For a morphism

h:xz,

define its set of two-step factorizations by

Fact2(h)={(f,g) | xfygz,gf=h}.

Here the intermediate object y is allowed to vary.

In this note, we call C locally finite if

Fact2(h)

is finite for every morphism h.

Equivalently, if we regard composition as the map

x,y,zC(x,y)×C(y,z)Mor(C),

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 k and let

k[MorC]

be the free k-vector space on the morphisms of C.

For a basis morphism h, define

Δ(h)=h=gffg.

Because C is locally finite, this is a finite sum and therefore defines an element of

k[MorC]k[MorC].

Extend Δ linearly.

Define also

ε(h)={1,h=idx for some x,0,otherwise.

We claim that

(k[MorC],Δ,ε)

is a coalgebra.


Coassociativity is associativity of factorization

Let

h:xz.

Applying Δ once gives all two-step factorizations

h=gf.

Applying Δ again to the first factor gives

(Δ1)Δ(h)=h=gfΔ(f)g.

Expanding,

(Δ1)Δ(h)=h=gbaabg.

On the other hand,

(1Δ)Δ(h)=h=gffΔ(g),

hence

(1Δ)Δ(h)=h=cbffbc.

Both expressions simply sum over all three-step factorizations

xf1x1f2x2f3z

such that

f3f2f1=h.

Therefore

(Δ1)Δ=(1Δ)Δ.

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

h:xy

has two distinguished factorizations:

h=hidx

and

h=idyh.

Now consider

(ε1)Δ(h).

Among all factorizations

h=gf,

the counit kills every term except those for which f is an identity.

The unique surviving term is

idxh,

and hence

(ε1)Δ(h)=h.

Similarly,

(1ε)Δ(h)=h.

Thus

(ε1)Δ=1=(1ε)Δ.

So identities in the category become the counit of the coalgebra.

There is a useful dictionary:

categorycoalgebracompositiondecompositionassociativitycoassociativityidentity morphismscounit

Posets as the first example

Let P be a poset, regarded as a category:

xyxy.

There is at most one morphism between any two objects.

For xz, a factorization

xyz

is therefore exactly the choice of an element

xyz.

Hence

Fact2(xz)[x,z]={yxyz}.

The categorical local-finiteness condition becomes

[x,z] is finite for every xz,

which is precisely the usual definition of a locally finite poset.

Writing [x,z] for the basis element associated to the unique morphism xz, the coproduct becomes

Δ[x,z]=xyz[x,y][y,z].

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 X={1,,n} and consider the category having exactly one morphism

cij:ij

for every ordered pair (i,j).

Composition is forced:

crjcir=cij.

For a fixed morphism

cij:ij,

a two-step factorization is determined exactly by the choice of an intermediate object r:

icirrcrjj.

Therefore

Δ(cij)=r=1ncircrj.

The counit is

ε(cij)=δij.

This is precisely the standard matrix coalgebra.

So the familiar formula

Δ(cij)=rcircrj

is not an artificial definition.

It simply says:

list every possible way of passing from i to j through an intermediate object.

The summation index r is literally the intermediate object of a factorization.


Why matrix multiplication appears

Now let A be a k-algebra.

For two linear maps

f,g:k[MorC]A,

the coalgebra structure defines their convolution

fg=mA(fg)Δ.

In the matrix example,

(fg)(cij)=rf(cir)g(crj).

If we identify f and g with the matrices

Fij=f(cij),Gij=g(cij),

then

(fg)(cij)=rFirGrj=(FG)ij.

Hence

Homk(Cn,A)Mn(A)

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:

(f,g)gf.

A coalgebra reverses the question.

Given the output h, it asks:

in how many ways can h be obtained as gf?

After linearization, the answer is

Δ(h)=h=gffg.

Thus the coproduct records not merely a formal duplication, but a geometry of decompositions.

In this sense,

composition is many-to-one, while comultiplication remembers the whole fibre of composition.

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.

 

No comments:

Post a Comment

Popular Posts