Documentation

TauCeti.Algebra.Homology.LinearHomComplex.Composition

Composition of cochains as a morphism of R-linear Hom complexes #

Composition of cochains is R-bilinear and satisfies the Leibniz rule

δ (z₁.comp z₂) = z₁.comp (δ z₂) + (-1)^{|z₂|} • (δ z₁).comp z₂

(Mathlib's CochainComplex.HomComplex.δ_comp; Cochain.comp is written in diagrammatic order, so z₁ : Cochain F G n₁ comes first and z₂ : Cochain G K n₂ second). Together these say exactly that composition is a closed degree-zero map of R-linear Hom complexes, that is, a morphism

linearHomComplex R G K ⊗ linearHomComplex R F G ⟶ linearHomComplex R F K

in CochainComplex (ModuleCat R) ℤ. The order of the two tensor factors is forced by the Koszul sign rule: a morphism φ out of a tensor product of complexes is a chain map exactly when d (φ (x ⊗ y)) = φ (d x ⊗ y) + (-1)^{|x|} φ (x ⊗ d y), so the sign is carried by the term whose differential hits the second factor. In δ_comp the sign is carried by (δ z₁).comp z₂, the term differentiating z₁; hence z₁ must be the second tensor factor and z₂ the first. This is Keller's m₂ (g, f) = g ∘ f convention.

Mathlib's CategoryTheory.EnrichedCategory instead asks for Hom(X, Y) ⊗ Hom(Y, Z) ⟶ Hom(X, Z); converting between the two orders is exactly the Koszul braiding of CochainComplex (ModuleCat R) ℤ, built in TauCeti/Algebra/Homology/Monoidal/Braiding.lean and imported here. The EnrichedCategory instance and its associativity and unit axioms in Mathlib's factor order are constructed in TauCeti/Algebra/Homology/LinearHomComplex/Enrichment.lean.

The monoidal structure used here is Mathlib's HomologicalComplex.monoidalCategory at ComplexShape.up ℤ; nothing is re-totalized. The component equations for the whiskerings, the unitors and the associator, which Mathlib does not state, are taken from TauCeti/Algebra/Homology/Monoidal/Summand.lean rather than repeated here. Its colimit-preservation hypotheses are discharged by Mathlib's instances for a braided monoidal closed category, so Mathlib.CategoryTheory.Monoidal.Closed.Braided, which that file imports, is what makes the tensor product of cochain complexes exist at all. Note that ModuleCat.{v} R is monoidal only for a commutative R : Type v, so this file, unlike TauCeti/Algebra/Homology/LinearHomComplex/Basic.lean, requires CommRing R and ties the ring to the morphism universe of C.

Main definitions #

Main results #

This advances TauCetiRoadmap/DGAInfinity/README.md, Layer 0, item "signed graded multilinear and tensor-coalgebra infrastructure", specifically "construct the k-linear Hom complex, its signed differential ..., closed composition map, and the enrichment". The stage that bullet orders first, the complex-level Koszul braiding, is TauCeti/Algebra/Homology/Monoidal/Braiding.lean. No formalization is vendored: the Leibniz rule δ_comp and the totalized monoidal structure are Mathlib's.

References #

Composition of a degree-p cochain from G to K with a degree-q cochain from F to G, as a map out of the tensor product of the two cochain modules. This is the bidegree-(p, q) component of TauCeti.linearHomComplexComp.

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

    On a pure tensor, cochainCompTensor sends z₂ ⊗ₜ z₁ to the composite z₁.comp z₂.

    Composition of cochains is a closed degree-zero map. It assembles into a morphism of cochain complexes of R-modules out of the tensor product; the differential of a composite is computed by the Leibniz rule, which is precisely the condition for this to be a chain map.

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

      A morphism of cochain complexes, regarded as a degree-zero cocycle in the corresponding R-linear Hom complex.

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

        The identity cochain of F, as a morphism from the tensor unit to the R-linear Hom complex of F with itself.

        Equations
        Instances For

          Composition is natural in the source: composing after precomposition by φ is the same as precomposing the composite by φ. This is associativity of Cochain.comp with the degree-zero cochain Cochain.ofHom φ in the first (diagrammatic) argument.

          Composition is natural in the source: composing after precomposition by φ is the same as precomposing the composite by φ. This is associativity of Cochain.comp with the degree-zero cochain Cochain.ofHom φ in the first (diagrammatic) argument.

          Composition is natural in the target: composing after postcomposition by ψ is the same as postcomposing the composite by ψ. This is associativity of Cochain.comp with the degree-zero cochain Cochain.ofHom ψ in the last (diagrammatic) argument.

          Composition is natural in the target: composing after postcomposition by ψ is the same as postcomposing the composite by ψ. This is associativity of Cochain.comp with the degree-zero cochain Cochain.ofHom ψ in the last (diagrammatic) argument.

          Composition is dinatural in the middle object: precomposition in the first Hom complex agrees with postcomposition in the second Hom complex.