Documentation

DerivedAlgGeo.Algebra.Homology.DGCategory.Model.Complexes

C^dg: cochain complexes as a dg category #

For a preadditive category A, the cochain complexes over A form a dg category whose Hom-complexes are Mathlib's CochainComplex.HomComplex.

Every field and every axiom is Mathlib's, not this repository's:

DGCategoryStructsupplied by
dgHomCochainComplex.HomComplex
dgIdCochain.ofHom (𝟙 K)
dgCompCochain.comp
dgComp_assocCochain.comp_assoc
dgId_comp, dgComp_idCochain.id_comp, Cochain.comp_id
dgId_cocycleδ_ofHom
dgComp_leibnizδ_comp

That the last row is a single lemma application rather than a sign argument is the payoff of ADR-0011 and of the convention correction that followed it. An earlier draft of DGCategoryStruct was ModuleCat k-valued, which did not typecheck against HomComplex at all; the draft after it stated the mirror Leibniz rule, which typechecked and was false here. Both were found by trying to write this file.

def CategoryTheory.Cdg (A : Type u) [Category.{v, u} A] [Preadditive A] :
Type (max u v)

Cochain complexes over A, carrying their dg structure. A type synonym, so the instance does not attach itself to CochainComplex A ℤ globally.

Equations
Instances For

    The underlying cochain complex.

    Equations
    Instances For
      @[implicit_reducible]
      Equations
      • One or more equations did not get rendered due to their size.

      The three computation rules that unfold this instance. Each is rfl; they exist so simp can get from a DGCategoryStruct goal to a Cochain one, which is where every Mathlib lemma is stated.

      theorem CategoryTheory.Cdg.dgComp_eq {A : Type u} [Category.{v, u} A] [Preadditive A] {K L M : Cdg A} (p q r : ℤ) (h : p + q = r) (f : ↑((DGCategoryStruct.dgHom K L).X p)) (g : ↑((DGCategoryStruct.dgHom L M).X q)) :
      @[implicit_reducible]

      C^dg A is a dg category. Every axiom is a Mathlib lemma applied.

      Equations