←Back

Chain Complexes of Sets, Homology Made Simple

Notes on this video

Theme: What if we can do all the kinds of things we do in homological algebra, but without using groups/other algebra?

Homological Algebra and the Set Model

Definition: Chain Complexes and Homology Groups

A Chain Complex of abelian groups is a sequence

…→Ai+1→∂i+1Ai→∂iAi−1→… \begin{CD} \dots @>>> A_{i+1} @>\partial_{i+1}>> A_i @>\partial_{i}>> A_{i-1} @>>> \dots \\ \end{CD}


s.t. ∂i∘∂i+1=0 ∀i\partial_{i}\circ \partial_{i+1} = 0\,\forall i.

Then, the iith homology group is defined as HiA=ker⁡∂i/im ∂i+1H_{i}A = \ker{\partial_i}/\text{im}\,\partial_{i+1}.

We know the homology group exists because ∂i∘∂i+1=0\partial_{i}\circ\partial_{i+1} = 0, so the image of ∂i+1\partial_{i+1} is contained in the kernel of ∂i\partial_i.

There's a lot of cool things we can do with chain complexes. First, we can factor each map:

…→Ai+1→epiim ∂i+1→ιAi→epiim ∂i→ιAi−1→… \begin{CD} \dots @>>> A_{i+1} @>epi>> \text{im}\,\partial_{i+1} @>\iota>> A_i @>epi>> \text{im}\,\partial_{i} @>\iota>> A_{i-1} @>>> \dots \\ \end{CD}


(This is an epi-mono factorization)

Definition: Chain Complexes of Sets and Homology Sets

A Chain Complex of Sets is a sequence

Xi+1←X‾i+1→monoXi←X‾i→monoXi−1 \begin{CD} X_{i+1} @<<< \overline{X}_{i+1} @>mono>> X_{i} @<<< \overline{X}_i @>mono>> X_{i-1} \end{CD}


s.t. Xi\Xi‾⊇X‾i+1X_{i}\backslash \overline{X_i} \supseteq \overline{X}_{i+1}.

Then, the iith homology set is given by HiX=Xi\(Xi‾⨆X‾i+1)H_{i}X = X_i\backslash (\overline{X_i}\bigsqcup \overline{X}_{i+1}).

A core idea is that for each pair Xi+1,XiX_{i+1}, X_i, we consider conceptually that X‾i+1=Xi+1⋂Xi\overline{X}_{i+1} = X_{i+1}\bigcap X_i.
Thus the chain complex of sets acts as a sort of chain of venn diagrams, with each intersecting area featuring inclusion maps into the two sets.

Recall that in the case of chain complexes of groups, we can factor through the trivial group (the condition that comes from ∂i∘∂i+1=0\partial_{i}\circ\partial_{i+1} = 0):

im ∂i+1→ιAiepi↓↓epi0→ιim ∂i \begin{CD} \text{im}\,\partial_{i+1} @>\iota>> A_i \\ @VepiVV @VVepiV \\ 0 @>\iota>> \text{im}\,\partial_i \\ \end{CD}

In the case of chain complexes of sets, instead of commuting, we require that the diagram

∅→monoXi‾↓↓Xi+1‾→monoXi \begin{CD} \varnothing @>mono>> \overline{X_i} \\ @VVV @VVV \\ \overline{X_{i+1}} @>mono>> X_i \\ \end{CD}


is a pullback, with ∅\varnothing being the pullback.

^The above is an informal analogy of chain complexes on graphs, so why is it important?

With abelian groups, with inclusion we can do quotienting, and if we take surjections we can take this kerneling thing.

With sets, we are only really doing complements. Both operations are complements because we reverse the direction of the arrows.

With abelian groups, we have the following diagram:

im ∂i+1→ιker⁡∂i→epiHi∥ι↓ι↓im ∂i+1→ιAi→epiAi/im ∂i+1epi↓epi↓epi↓0→ιim ∂i=im ∂i \begin{CD} \text{im}\,\partial_{i+1} @>\iota>> \ker{\partial_i} @>epi>> H_i \\ @| @V{\iota}VV @V{\iota}VV \\ \text{im}\,\partial_{i+1} @>\iota>> A_i @>epi>> A_i / \text{im}\,\partial_{i+1} \\ @V{epi}VV @V{epi}VV @V{epi}VV \\ 0 @>\iota>> \text{im}\,\partial_i @= \text{im}\,\partial_i \\ \end{CD}


We can thus define the homology group in two ways:

With sets, it's much simpler:

X‾i+1→monoXi\X‾i←Hi∥mono↓mono↓X‾i+1→monoXi←Xi\X‾i+1↑↑↑∅→monoX‾i=X‾i \begin{CD} \overline{X}_{i+1} @>mono>> X_i\backslash\overline{X}_i @<<< H_i \\ @| @V{mono}VV @V{mono}VV \\ \overline{X}_{i+1} @>mono>> X_i @<<< X_i\backslash\overline{X}_{i+1} \\ @AAA @AAA @AAA \\ \varnothing @>mono>> \overline{X}_i @= \overline{X}_i \\ \end{CD}


where ∅\varnothing and HiH_i are pullbacks.

Given a chain complex of sets XX and an abelian group AA, then we have a chain complex of groups

AXi+1→epiAX‾i+1→ιAXi→epiAX‾i→ιAXi−1 \begin{CD} A^{X_{i+1}} @>epi>> A^{\overline{X}_{i+1}} @>\iota>> A^{X_i} @>epi>> A^{\overline{X}_i} @>\iota>> A^{X_{i-1}} \\ \end{CD}


The homology group is given by HiAX≅AHiXH_{i}A^{X} \cong A^{H_{i}X}.

Because X‾i→Xi−1\overline{X}_i \to X_{i-1} is a projection map, the inclusion AX‾i↪AXi−1A^{\overline{X}_i}\hookrightarrow A^{X_{i-1}} will just insert 0 everywhere not in the image of X‾i\overline{X}_i.

On the other hand, because Xi←X‾iX_i \gets \overline{X}_i is a backwards inclusion, AXi↠AX‾iA^{X_i}\twoheadrightarrow A^{\overline{X}_i} is the projection map where we just take the portion from X‾i\overline{X}_i to AA.

We could think of this as picking out only the most basic fragment of chain complexes: only looking at powers of a single group + projections and inclusions between them.
But we will use this to gain an intuition of homology.

Just as we say a chain complex of groups is exact if the image of one map is exactly the kernel of the next, a chain complex of sets is exact if each homology is zero: Hi=∅∀iH_i = \varnothing \forall i. In this case, each circle in the "venn diagram" is covered exactly by the other two circles.

The Snake Lemma

Theorem: The Snake Lemma

Given a map of short exact sequences

0→A→monoB→epiC→0 f↓g↓h↓ 0→A′→monoB′→epiC′→0 \begin{CD} 0 @>>> A @>mono>> B @>epi>> C @>>> 0 \\ @. @VfVV @VgVV @VhVV @.\\ 0 @>>> A'@>mono>> B'@>epi>> C'@>>> 0 \\ \end{CD}


there is an exact sequence ker⁡f→ker⁡g→ker⁡h→A′/A→B′/B→C′/C\ker{f}\to \ker{g}\to \ker{h}\to A'/A \to B'/B \to C'/C.
See also: Snake Lemma (Wikipedia)

Snake Lemma on Sets

For chain complexes on sets, the diagram for the snake lemma is given by

A→epiB←C A→epiB B′′←C′′↑↑↑↑↑epi↓epi↓A′′→epiB′′←C′′ A′′→epiB′′ B′←C′epi↓epi↓epi↓ A′→epiB′←C′ \begin{CD} A @>epi>> B @<<< C @. A @>epi>> B @. B'' @<<< C'' \\ @AAA @AAA @AAA @AAA @AAA @VepiVV @VepiVV \\ A''@>epi>> B''@<<< C''@. A'' @>epi>> B'' @. B' @<<< C' \\ @VepiVV @VepiVV @VepiVV @. @. @. @. \\ A' @>epi>> B' @<<< C' @. @. @. @. \\ \end{CD}


all exact, with the right two diagrams being pullbacks on A′′A'' and C′′C'', respectively.

For the sake of convenience, we'll define the following:

Then, we have the exact sequence A\A′′←A\A′′↣B\B′′←D↣C\C′′←E↣A′\A′′←F↣B′\B′′←C′\C′′↣C′\C′′A\backslash A'' \gets A\backslash A''\rightarrowtail B\backslash B'' \gets D\rightarrowtail C\backslash C'' \gets E\rightarrowtail A'\backslash A'' \gets F\rightarrowtail B'\backslash B'' \gets C'\backslash C'' \rightarrowtail C'\backslash C''.

The following venn diagrams illustrate this concept:

Diagrams of B, B', and B''

Division of B into A and C, B' into A' and C', and B'' into A'' and C''

Labeling of specific subsets of A, C, A', C' and B''

Diagram of resulting simplicial complex. Red lines represent boundaries between subsequent elements in the exact sequence.

Note that the two pullbacks in the above diagram ensure that A′′=A⋂B′′A'' = A\bigcap B'' and C′′=C′⋂B′′C'' = C'\bigcap B''.
However, the two other squares in the diagram aren't pullbacks, which means that A′′→B′′←C′′A''\to B'' \gets C'' isn't exact (i.e. B′′≠A′′⨆C′′B'' \neq A''\bigsqcup C'').

In the context of groups, we think of the kernel as the part we are losing/cutting out, but the venn diagram model still holds as a conceptual model for how the snake theorem works on groups.

Chain Complexes of Homologies

Theorem: Pairs of Long Exact Sequences

If we have an inclusion A↪B→B/AA\hookrightarrow B \to B/A of chain complexes of groups, there exists a long exact sequence of the following form:

HiA→HiB→Hi(A/B)→Hi−1A→Hi−1B→Hi−1(A/B)→… H_i A \to H_i B \to H_i (A/B) \to H_{i-1}A \to H_{i-1}B \to H_{i-1}(A/B)\to\dots

Definition: Mono Map

A mono map X↣YX\rightarrowtail Y of chain complexes of sets is of the form

Xi+1←X‾i+1→monoXi←X‾imono↓mono↓mono↓mono↓Yi+1←Y‾i+1→monoYi←Y‾i \begin{CD} X_{i+1} @<<< \overline{X}_{i+1} @>mono>> X_{i} @<<< \overline{X}_i \\ @VmonoVV @VmonoVV @VmonoVV @VmonoVV \\ Y_{i+1} @<<< \overline{Y}_{i+1} @>mono>> Y_{i} @<<< \overline{Y}_i \\ \end{CD}


where any mixed square (i.e. those with X‾i\overline{X}_i in the top right corner) is a pullback on X‾i\overline{X}_i, ∀i\forall i.
If we regard each differential as a partial monomorphism, then mono maps from elements of XX to elements of YY are just a commuting sequence of monos.

Importantly, the map X↣Y←Y\XX\rightarrowtail Y\gets Y\backslash X of chain complexes of sets induces the following diagram:

Xi+1←X‾i+1→monoXi←X‾imono↓mono↓mono↓mono↓Yi+1←Y‾i+1→monoYi←Y‾i↑↑↑↑Yi+1\Xi+1←→monoYi\Xi←… \begin{CD} X_{i+1} @<<< \overline{X}_{i+1} @>mono>> X_{i} @<<< \overline{X}_i \\ @VmonoVV @VmonoVV @VmonoVV @VmonoVV \\ Y_{i+1} @<<< \overline{Y}_{i+1} @>mono>> Y_{i} @<<< \overline{Y}_i \\ @AAA @AAA @AAA @AAA \\ Y_{i+1}\backslash X_{i+1} @<<< @>mono>> Y_i\backslash X_i @<<< \dots \\ \end{CD}


We can imagine this effectively as a chaining-together of the venn diagrams that resulted from the snake theorem on sets.

Then, the long exact sequence of sets, resulting from our theorem above, is of the form

HiX←↣HiY←↣Hi(X\Y)←↣Hi−1X←↣… H_i X \gets\rightarrowtail H_i Y\gets\rightarrowtail H_i (X\backslash Y) \gets\rightarrowtail H_{i-1}X \gets\rightarrowtail\dots


where the bridging portions have been omitted.

Importantly, the bottom row of the commutative diagram above isn't an exact sequence.
However, the omitted elements of the bottom sequence are the elements that connect the homologies between degrees (i.e. connecting Hi+1(X\Y)H_{i+1}(X\backslash Y) to HiXH_i X).