The Koszul braiding on cochain complexes of modules #
Mathlib's HomologicalComplex.monoidalCategory, instantiated at ComplexShape.up ℤ and its
ComplexShape.TensorSigns, makes CochainComplex (ModuleCat R) ℤ monoidal by totalizing the
degreewise tensor product. It does not make it braided: Mathlib's GradedObject.braidedCategory
uses the braiding of the base category on each summand with no sign, and that map does not commute
with the totalized differential.
This file supplies the missing sign. On the bidegree-(p, q) summand of X ⊗ Y the braiding is
(-1)^{p * q} times the braiding of ModuleCat R, that is, x ⊗ y ↦ (-1)^{|x| * |y|} y ⊗ x on
homogeneous elements. The sign is forced: the totalized differential carries ComplexShape.up ℤ's
tensor signs ε₁ = 1 and ε₂ (p, q) = (-1)^p, and the two Leibniz terms match after transposing
exactly when the summand map is scaled by (-1)^{p * q}.
Main definitions #
TauCeti.koszulBraidingSummand: the bidegree component of the braiding.TauCeti.koszulBraidingHom,TauCeti.koszulBraiding: the braidingX ⊗ Y ⟶ Y ⊗ Xof cochain complexes and the isomorphism it underlies.TauCeti.koszulBraidedCategoryandTauCeti.koszulSymmetricCategory: theBraidedCategoryandSymmetricCategoryinstances onCochainComplex (ModuleCat R) ℤ.
Main results #
TauCeti.koszulBraidingHom_naturality_leftandTauCeti.koszulBraidingHom_naturality_right: the braiding is natural in each factor.TauCeti.koszulBraidingHom_hexagon_forwardandTauCeti.koszulBraidingHom_hexagon_reverse: the two hexagon identities.TauCeti.koszulBraidingHom_comp: the braiding is symmetric.TauCeti.ι_tensorμ: on a homogeneous summand, the middle-four interchangeMonoidalCategory.tensorμof cochain complexes is that ofModuleCat R, with the Koszul sign of the two factors it exchanges.
The two auxiliary equations HomologicalComplex.whiskerLeft_eq_mapBifunctorMap and
HomologicalComplex.whiskerRight_eq_mapBifunctorMap of
TauCeti/Algebra/Homology/Monoidal/Summand.lean, which record that the whiskerings of
CochainComplex (ModuleCat R) ℤ are HomologicalComplex.mapBifunctorMap, are used throughout.
This advances TauCetiRoadmap/DGAInfinity/README.md, Layer 0, item "signed graded multilinear and
tensor-coalgebra infrastructure", specifically "Complete the symmetric monoidal structure on
unbounded CochainComplex (ModuleCat k) ℤ ... What has to be added is the braiding: transport
GradedObject.braidedCategory through the totalization, supply the Koszul sign
x ⊗ y ↦ (-1)^{|x||y|} y ⊗ x on the degreewise summands, and prove the hexagon and symmetry
axioms at complex level." It is the prerequisite, in the roadmap's own order, of the R-linear
Hom complex and its composition map built in TauCeti/Algebra/Homology/LinearHomComplex/.
Implementation notes #
Mathlib.CategoryTheory.Monoidal.Closed.Braided is imported for the colimit-preservation
instances that make the tensor product of cochain complexes exist at all, exactly as in
TauCeti/Algebra/Homology/LinearHomComplex/Composition.lean.
The hexagon proofs restrict both sides to a tridegree summand with
HomologicalComplex.mapBifunctor₁₂.hom_ext and then reduce to the corresponding hexagon of
ModuleCat R; the second hexagon is deduced from the first by inverting every isomorphism
involved, which is legitimate because the braiding is symmetric.
References #
- The totalized monoidal structure
HomologicalComplex.monoidalCategoryinMathlib/Algebra/Homology/Monoidal.lean, by Joël Riou and Kim Morrison, and the unsignedGradedObject.Monoidal.braidingofMathlib/CategoryTheory/GradedObject/Braiding.lean, by Joël Riou. This file adds the Koszul sign and the complex-level axioms; nothing is vendored. - B. Keller, Introduction to A-infinity algebras and modules, Section 3.1, for the sign convention.
The bidegree-(p, q) component of the Koszul braiding X ⊗ Y ⟶ Y ⊗ X: the braiding of
ModuleCat R on the summand X.X p ⊗ Y.X q, carrying the Koszul sign (-1)^{p * q}.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The bidegree component of the Koszul braiding is the ordinary module braiding, followed by
the inclusion of the swapped summand, and scaled by (-1)^(p*q).
The Koszul braiding X ⊗ Y ⟶ Y ⊗ X.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Composing the Koszul braiding with the braiding of the swapped factors is the identity.
The Koszul braiding is natural in the left-hand factor.
The Koszul braiding is natural in the right-hand factor.
The first hexagon identity for the Koszul braiding.
The Koszul braiding of two cochain complexes of R-modules, as an isomorphism. It is its own
inverse up to swapping the factors, since ModuleCat R is symmetric and the Koszul sign is.
Equations
- TauCeti.koszulBraiding R X Y = { hom := TauCeti.koszulBraidingHom R X Y, inv := TauCeti.koszulBraidingHom R Y X, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
The second hexagon identity for the Koszul braiding. It follows from the first one applied
to Z, X, Y by inverting every isomorphism involved, because the braiding is symmetric.
The forward direction of the Koszul braiding isomorphism.
The inverse of the Koszul braiding isomorphism is the Koszul braiding of the two complexes in the other order.
Cochain complexes of R-modules form a braided monoidal category, with the Koszul braiding
x ⊗ y ↦ (-1)^{|x| * |y|} y ⊗ x on the degreewise summands of Mathlib's totalized tensor
product.
Equations
- One or more equations did not get rendered due to their size.
The braiding of the monoidal category CochainComplex (ModuleCat R) ℤ is the Koszul
braiding.
The Koszul braiding is symmetric.
Equations
- TauCeti.koszulSymmetricCategory R = { toBraidedCategory := TauCeti.koszulBraidedCategory R, symmetry := ⋯ }
The middle-four interchange on a homogeneous summand. On the summand
(X₁.X a ⊗ X₂.X b) ⊗ (Y₁.X c ⊗ Y₂.X d) of (X₁ ⊗ X₂) ⊗ (Y₁ ⊗ Y₂), the interchange
MonoidalCategory.tensorμ of cochain complexes is the interchange of the four modules, landing
in the summand (X₁.X a ⊗ Y₁.X c) ⊗ (X₂.X b ⊗ Y₂.X d), with the Koszul sign (-1)^(b * c) of
moving the degree-b factor past the degree-c factor.
The middle-four interchange on a homogeneous summand. On the summand
(X₁.X a ⊗ X₂.X b) ⊗ (Y₁.X c ⊗ Y₂.X d) of (X₁ ⊗ X₂) ⊗ (Y₁ ⊗ Y₂), the interchange
MonoidalCategory.tensorμ of cochain complexes is the interchange of the four modules, landing
in the summand (X₁.X a ⊗ Y₁.X c) ⊗ (X₂.X b ⊗ Y₂.X d), with the Koszul sign (-1)^(b * c) of
moving the degree-b factor past the degree-c factor.