The homology of a square-zero linear endomorphism #
A linear endomorphism d of a module M with d ∘ d = 0 is a differential module, and its
homology is the kernel of d modulo its image. This file names that quotient concretely as
d.homology hd = ker d ⧸ im d, where hd : d ∘ₗ d = 0, and identifies it with Mathlib's
categorical homology of the
short complex M ⟶ M ⟶ M whose two maps are d (LinearMap.homologyIso).
The concrete quotient is what one needs to transport extra structure to homology that the category
of modules over the ring of d does not see, for instance an internal grading over a smaller
coefficient ring by which d is homogeneous: the elements of d.homology hd are classes of
elements of M, on which such structure is defined. The image is represented inside the kernel by
boundariesInKer.
Main definitions #
LinearMap.boundariesInKer: the image ofdas a submodule of the kernel ofd.LinearMap.homology: for square-zerod, the kernel ofdmodulo its image.LinearMap.homologyπ: the class of an element of the kernel.LinearMap.homologyIso: ford ∘ d = 0, Mathlib's homology of the short complex with both mapsdisd.homology hd.LinearMap.homologyMap: the map on homology induced by a chain mapfwithf ∘ d = e ∘ f.LinearMap.mappingCone: the mapping cone(m, n) ↦ (-d m, f m + e n)of such a chain map.LinearMap.sumMappingCone: the mapping cone of a map between free modulesι →₀ Sandκ →₀ S, as an endomorphism of the free module(ι ⊕ κ) →₀ S.
Main results #
LinearMap.mem_boundariesInKer: an element of the kernel is a boundary exactly when it lies in the image ofd.LinearMap.range_moduleCatToCycles_eq_boundariesInKer: ford ∘ d = 0, the boundaries used by Mathlib's explicit homology of a short complex of modules ared.boundariesInKer.LinearMap.homologyMap_surjective_iffandLinearMap.homologyMap_injective_iff: elementwise descriptions of surjectivity and injectivity of the map induced on homology.LinearMap.ker_le_range_mappingCone_iff: a chain map induces a bijection on homology exactly when its mapping cone is exact.LinearMap.ker_le_range_sumMappingCone_iff: the kernel of the mapping cone on(ι ⊕ κ) →₀ Slies in its range exactly when the same holds for the mapping cone on(ι →₀ S) × (κ →₀ S).HomologicalComplex.quasiIso_iff_bijective_homologyMap: a morphism of complexes of modules of shapeComplexShape.refl Unit, that is, of modules with a square-zero endomorphism, is a quasi-isomorphism exactly when it induces a bijection onker d ⧸ im d.
The intersection of the image and kernel of a linear endomorphism d, viewed as a submodule
of the kernel. For a square-zero endomorphism, this is its full image.
Equations
Instances For
An element of the kernel of d is a boundary exactly when it is a value of d.
Every homology class is the class of an element of the kernel.
The short complex M ⟶ M ⟶ M of S-modules whose two maps are a square-zero endomorphism
d.
Equations
- d.shortComplex hd = { X₁ := ↧M, X₂ := ↧M, X₃ := ↧M, f := ModuleCat.ofHom d, g := ModuleCat.ofHom d, zero := ⋯ }
Instances For
For a square-zero endomorphism d, the boundaries of Mathlib's explicit homology of the short
complex M ⟶ M ⟶ M with both maps d are the image of d inside its kernel.
For a square-zero endomorphism d, Mathlib's homology of the short complex M ⟶ M ⟶ M with
both maps d is the concrete homology ker d ⧸ im d.
Equations
- d.homologyIso hd = (d.shortComplex hd).moduleCatHomologyIso ≪≫ ((d.shortComplex hd).moduleCatToCycles.range.quotEquivOfEq d.boundariesInKer ⋯).toModuleIso
Instances For
The map on homology induced by a chain map f from (M, d) to (N, e), that is, a linear
map with f ∘ d = e ∘ f: the class of a cycle z goes to the class of f z.
Equations
- LinearMap.homologyMap f hd he hf = d.boundariesInKer.mapQ e.boundariesInKer (f.restrict ⋯) ⋯
Instances For
The induced map on homology sends the class of a cycle z to the class of f z.
The identity chain map induces the identity map on homology.
The map on homology induced by -f is the negative of the map induced by f.
The map on homology induced by f + g is the sum of the maps induced by f and g.
The map on homology induced by f - g is the difference of the maps induced by f and
g.
The map on homology induced by a composite is the composite of the induced maps.
The composite of two induced maps on homology is the map induced by the composite. This is
homologyMap_comp read right to left, the orientation usable by simp: its left-hand side
mentions the intermediate differential e, which the left-hand side of homologyMap_comp does
not.
Applying two induced maps on homology in turn is applying the map induced by the composite.
The map induced by f on homology is surjective exactly when every cycle of e differs from
the image of a cycle of d by a boundary.
The map induced by f on homology is injective exactly when every cycle of d whose image
under f is a boundary is itself a boundary.
The mapping cone of a linear map f : M → N between modules with endomorphisms d and e:
the endomorphism (m, n) ↦ (-d m, f m + e n) of M × N. It squares to zero when d and e do
and f is a chain map (LinearMap.mappingCone_comp_self).
Equations
- d.mappingCone e f = ((-d) ∘ₗ LinearMap.fst S M N).prod (f.coprod e)
Instances For
The mapping cone of a chain map between square-zero endomorphisms squares to zero.
A chain map induces a bijection on homology exactly when its mapping cone is exact, that is, when every element killed by the mapping cone is in its image.
Mapping cones of maps between free modules #
The mapping cone of a map f : (ι →₀ S) → (κ →₀ S) between free modules with endomorphisms
d and e, as an endomorphism of the free module (ι ⊕ κ) →₀ S on the disjoint union of the two
bases: LinearMap.mappingCone d e f transported along Finsupp.sumFinsuppLEquivProdFinsupp.
Equations
- d.sumMappingCone e f = (Finsupp.sumFinsuppLEquivProdFinsupp S).symm.conjRingEquiv (d.mappingCone e f)
Instances For
The mapping cone on (ι ⊕ κ) →₀ S is the mapping cone on (ι →₀ S) × (κ →₀ S) between the
two Finsupp sum-product equivalences.
The coefficient of the mapping cone from a generator of ι to a generator of κ is that
of f.
The mapping cone on (ι ⊕ κ) →₀ S of a chain map between square-zero endomorphisms squares
to zero.
The kernel of the mapping cone on (ι ⊕ κ) →₀ S lies in its range exactly when the kernel of
the mapping cone on (ι →₀ S) × (κ →₀ S) lies in its range.
Quasi-isomorphisms of one-object complexes #
The unique differential of a complex of shape ComplexShape.refl Unit squares to zero, as a
linear map.
The unique component of a morphism of complexes of shape ComplexShape.refl Unit is a chain
map in the sense of LinearMap.homologyMap.
Quasi-isomorphisms of one-object complexes are detected on ker d ⧸ im d. A morphism of
complexes of modules of shape ComplexShape.refl Unit is a quasi-isomorphism exactly when its
unique component induces a bijection between the concrete homologies LinearMap.homology.