Blog Archive

Monday, June 29, 2026

The Architecture Behind the Hom Differential I: Bifunctors and Totalization

 

The Architecture Behind the Hom Differential I: Bifunctors and Totalization

The elementary formulas of homological algebra often look like a collection of sign conventions:

d(xy)=dXxy+(1)|x|xdYy,
(df)i=dDfi(1)|f|fi1dC.

But these formulas are not arbitrary. They come from a single structural mechanism:

bifunctorssigned double complexestotal complexes.

The tensor product of chain complexes is obtained this way. The Hom complex is obtained this way. The signs are not repairs inserted after the fact. They are already part of the passage from bifunctors to double complexes.

Throughout, we use homological grading. Thus differentials lower degree:

dX:XiXi1.

Bifunctors Produce Signed Double Complexes

Let

F:A×BE

be a biadditive functor between additive categories.

Given chain complexes

XCh(A),YCh(B),

define

Bp,q=F(Xp,Yq).

The first differential comes from X:

h=F(dX,id):Bp,qBp1,q.

The second differential comes from Y, with the Koszul sign inserted at the moment of construction:

v=(1)pF(id,dY):Bp,qBp,q1.

Then

(h)2=0,(v)2=0,

because

dX2=0,dY2=0.

Moreover,

hv+vh=0.

Indeed, on Bp,q,

hv=(1)pF(dX,dY),

whereas

vh=(1)p1F(dX,dY).

These two terms cancel.

Thus a biadditive functor does not merely produce a double-indexed grid. With the sign

(1)p

built into the second direction, it produces an anticommuting double complex.

This is the correct place for the sign. It is part of the passage from a bifunctor to a double complex, not a later repair.


Totalization Is a Functor

Let

Dbl(E)

denote the category of anticommuting double complexes in E.

An object is a double-indexed family Bp,q with maps

h:Bp,qBp1,q,v:Bp,qBp,q1,

such that

(h)2=0,(v)2=0,hv+vh=0.

A morphism of double complexes is a degreewise family of maps commuting with both differentials.

If the relevant coproducts exist, define the direct-sum totalization by

Tot(B)n=p+q=nBp,q.

If the relevant products exist, define the product totalization by

TotΠ(B)n=p+q=nBp,q.

In either case, the differential is

dTot=h+v.

Because the two differentials anticommute,

dTot2=(h)2+hv+vh+(v)2=0.

Therefore totalization defines functors

Tot:Dbl(E)Ch(E),

and

TotΠ:Dbl(E)Ch(E),

whenever the relevant sums or products exist.

This is why one should not reprove d2=0 separately in every concrete example. Once the correct signed double complex has been constructed, totalization automatically produces a chain complex.


The Tensor Product of Chain Complexes

Let R be a commutative ring. The tensor product bifunctor

R:R-Mod×R-ModR-Mod

sends two chain complexes X and Y to the double complex

Bp,q=XpRYq.

The two differentials are

h=dXid,

and

v=(1)piddY.

The tensor product complex is the direct-sum totalization:

XRY=Tot(B).

Hence

(XRY)n=p+q=nXpRYq.

For homogeneous elements

xXp,yYq,

the total differential is

d(xy)=dXxy+(1)pxdYy.

This is the usual tensor product differential.

The sign is not a convention chosen after the fact. It is the sign that makes the two directions of the tensor double complex anticommute.


The Hom Double Complex

Now let C be a K-linear additive category.

For objects A,BC, the Hom object

HomC(A,B)

is a K-module. Thus we have a biadditive functor

HomC(,):Cop×CK-Mod.

Given chain complexes

C,DCh(C),

define

Bp,q=HomC(Cp,Dq).

The reversed index Cp is forced by contravariance.

The differential of C is

dC:CiCi1.

But Hom is contravariant in the first variable. Precomposition with dC sends a morphism

Ci1Dq

to a morphism

CiDq.

Thus the source direction reverses after entering Hom. Writing

i=p

absorbs this reversal. It makes the source direction lower the index p.

There are two differentials.

The target differential is postcomposition:

t(f)=dDf.

Thus

t:Bp,qBp,q1.

The source differential is precomposition. Since

dC:Cp+1Cp,

a morphism

f:CpDq

gives

fdC:Cp+1Dq.

Thus the source direction is

Bp,qBp1,q.

To recover the usual Hom differential after totalization, we use the signed source differential

s(f)=(1)p+q+1fdC,

and the target differential

t(f)=dDf.

The raw operations of precomposition and postcomposition commute:

dD(fdC)=(dDf)dC.

The signs force anticommutation:

st+ts=0.

Therefore

Bp,q=HomC(Cp,Dq)

is an anticommuting double complex.

The Hom complex is its product totalization:

Hom(C,D)=TotΠ(B).

Hence

Hom(C,D)n=p+q=nHomC(Cp,Dq).

Put

i=p.

Since

p+q=n,

we get

q=i+n.

Therefore

Hom(C,D)n=iHomC(Ci,Di+n).

So a degree n element is a family

f=(fi:CiDi+n)i.

Its differential is the total differential.

The target contribution is

dDfi.

The source contribution comes from

fi1:Ci1Di+n1

precomposed with

dC:CiCi1.

The sign at that bidegree is

(1)n+1.

Thus

(df)i=dDfi+(1)n+1fi1dC.

Equivalently,

(df)i=dDfi(1)nfi1dC.

This is the usual Hom differential.

Again, d2=0 is not a separate miracle. It follows because the Hom complex is the totalization of an anticommuting double complex.


Chain Maps and Chain Homotopies

The Hom complex explains where chain maps come from.

A degree 0 element of

Hom(C,D)

is a family

f=(fi:CiDi)i.

Its differential is

(df)i=dDfifi1dC.

Thus df=0 if and only if

dDfi=fi1dC

for every i.

This is exactly the condition that f is a chain map. Hence

Z0Hom(C,D)=HomCh(C)(C,D).

A degree 1 element is a family

h=(hi:CiDi+1)i.

Its boundary is

(dh)i=dDhi+hi1dC.

This is precisely the usual formula for a null-homotopic chain map.

Therefore

H0Hom(C,D)

is the module of chain maps modulo chain homotopy.

So the Hom complex contains three layers:

Hom(C,D)0=graded maps,
Z0Hom(C,D)=chain maps,
H0Hom(C,D)=chain maps modulo chain homotopy.

The ordinary category of chain complexes sees only Z0.

The homotopy category sees H0.

The dg structure remembers the whole Hom complex.


What Has Been Built

We have now built the two fundamental complexes associated to chain complexes.

The tensor product complex comes from the tensor bifunctor and direct-sum totalization:

XRY=Tot(XpRYq).

The Hom complex comes from the Hom bifunctor and product totalization:

Hom(C,D)=TotΠ(HomC(Cp,Dq)).

The reversed source index in Hom comes from contravariance.

The Hom differential

(df)i=dDfi(1)nfi1dC

comes from totalization.

The next step is to explain how tensor and Hom interact, and why the Hom complex upgrades the whole category of chain complexes into a dg category.

No comments:

Post a Comment

Popular Posts