Documentation

TauCeti.Algebra.Homology.ShortComplex.Colimit

Homology and exact colimits #

This file proves that homology of short complexes in an abelian category, and hence homology of homological complexes, commutes with colimits of every shape whose colimits are exact. It also supplies the small-universe AB5 instance for module categories in which the ring and its modules live in unrelated universes.

Main results #

Implementation notes #

A diagram F : J ⥤ ShortComplex C corresponds under ShortComplex.functorEquivalence to a short complex S of diagrams, and the colimit cocone used here is the image of S under colim : (J ⥤ C) ⥤ C, with legs assembled from the counit of that equivalence. Working with the counit rather than with the definitional identification of the two presentations keeps every intermediate statement well typed for rw and simp: in a general category, unlike in a concrete one, neither the unit laws nor associativity hold definitionally, so the composites appearing here cannot be manipulated by rfl alone.

Exactness of J-shaped colimits makes colim preserve homology, which turns the homology of that cocone into the chosen colimit of the pointwise homology diagram.

Mathlib's AB5 instance for ModuleCat.{u} R asks for R : Type u. The instance here removes the corresponding restriction on the module universe for small filtered shapes by transporting exactness along the forgetful functor to abelian groups.

Small filtered colimits of R-modules are exact, with no relation imposed between the universe of the ring and the universe of the modules.