Horseshoe lemma
Given a short exact sequence of modules, compatible projective (or injective) resolutions can be spliced to produce a resolution of the middle module.
Let be a ring and
a short exact sequence of -modules. Given projective resolutions and , the horseshoe lemma provides a projective resolution and a short exact sequence of chain complexes
such that in every degree .
Projective construction
More explicitly, suppose
are resolutions by projective modules. The lemma constructs
whose augmentation maps recover the original short exact sequence. The differentials on the degreewise direct sums are chosen compatibly with the maps and .
Injective version
Dually, given injective resolutions of and , one constructs an injective resolution of with and a short exact sequence of cochain complexes
See injective resolution and injective modules.
Why it matters
The horseshoe lemma underlies functorial constructions of the long exact sequences in Tor and Ext (see long exact sequence for Tor and long exact sequence for Ext), and is a standard way to build resolutions needed to compute derived functors (see derived functor).
Example
In , the sequence
is exact. Applying the lemma to the standard projective resolutions
produces a resolution of with
This resolution is generally not minimal, but its compatibility with the original exact sequence is what is useful in homological arguments.