Proof. We fill in the diagram a column at a time, proving exactness along the way. First we construct a
surjective map

. There is a map from

to

, the
composition

. Since

is projective, there is a filler for the diagram
Since

is the
coproduct of

and

, there is a unique filler

for the diagram
The diagram
is commutative and has exact rows, so we may apply the
short five lemma to conclude that

is surjective.
Now assume for induction that we have constructed a partial resolution of
in this manner, yielding a diagram
with exact rows and columns. (We are not assuming here that

; if

, then

denotes

and

denotes 0;
similar substitutions apply). By the
snake lemma, there is a commutative diagram
with exact rows and columns. In fact, the map

is surjective; this can be verified by a diagram chase. We can construct a surjective map

in the same way we constructed

. Specifically, there is a map

obtained by composition, and there is a filler for the diagram
These maps determine

uniquely. Define

as the composition

; since

is surjective, the sequence

is exact. Hence we have managed to construct a diagram
with exact rows and columns. This completes the
proof.
