Source: http://licence-math.univ-lyon1.fr/lib/exe/fetch.php?media=pmi:2012-algebre-td4-complexes.pdf