Blog Archive

Sunday, April 5, 2026

How to understand matrix partitioning and matrix multiplication(in any Abelian Category)

Consider an Abelian category A, for example the category of sheaves of abelian groups on a site, or the category of vector spaces (sheaves on a one-point space), or the category of condensed abelian groups.

Take three objects

X=⨁i=1nXi,Y=⨁j=1mYj,Z=⨁s=1kZs.

Then

HomA(X,Y)≅HomA(⨁i=1nXi,⨁j=1mYj)≅⨁i=1n⨁j=1mHomA(Xi,Yj).

Explicitly, the isomorphism is given by

f⟼∑i,jιj∘fj,i∘πi,

where ι and π are the inclusion and projection maps, respectively.

More concretely, set ei=ιi∘πi; then id=∑iei. Hence

f=idY∘f∘idX=∑j=1mej∘f∘∑i=1nei=∑i,jej∘f∘ei.

Now define fj,i=πj∘f∘ιi. Then

ej∘f∘ei=ιj∘fi,j∘πi.

Writing ∑i,jιj∘fi,j∘πi as a matrix gives

(f11f12⋯f1nf21f22⋯f2n⋮⋮⋱⋮fm1fm2⋯fmn).

Clearly addition of morphisms corresponds to addition of matrices.

If we also have Z≅⨁s=1kZs and a morphism g∈HomA(Y,Z), then composition of morphisms corresponds to matrix multiplication.

If you are curious about what happens on the level of Hom groups: consider the composition map

μ:HomA(X,Y)⊗HomA(Y,Z)⟶HomA(X,Z).

Here

HomA(X,Y)⊗HomA(Y,Z)≅⨁i,j,j′,sHomA(Xi,Yj)⊗HomA(Yj′,Zs),

and

HomA(X,Z)≅⨁i,sHomA(Xi,Zs).

However, μ vanishes on mismatched indices, so it effectively factors through

⨁i,j,sHomA(Xi,Yj)⊗HomA(Yj,Zs)⟶⨁i,sHomA(Xi,Zs).

On each direct summand, μi,j,s(fj,i⊗gs,j)=gs,j∘fj,i. Summing up yields

∑s,i∑jιs∘gs,j∘fj,i∘πi,

which is precisely matrix multiplication.

No comments:

Post a Comment

Popular Posts