The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Abelian.Basic
117 declarations. Mathlib docs · Source
Abelian categories
This file contains the definition and basic properties of abelian categories.
There are many definitions of abelian category. Our definition is as follows: A category is called abelian if it is preadditive, has finite products, kernels, and cokernels, and if every monomorphism and epimorphism is normal.
It should be noted that if we also assume finite coproducts, then preadditivity is
actually a consequence of the other properties, as we show in
Mathlib/CategoryTheory/Abelian/NonPreadditive.lean. However, this fact is of little practical
relevance, since essentially all interesting abelian categories come with a
preadditive structure. In this way, by requiring preadditivity, we allow the
user to pass in the "native" preadditive structure for the specific category they are
working with.
Main definitions
Abelianis the type class indicating that a category is abelian. It extendsPreadditive.Abelian.image fiskernel (cokernel.π f), andAbelian.coimage fiscokernel (kernel.ι f).
Main results
- In an abelian category, mono + epi = iso.
- If
f : X ⟶ Y, then the mapfactorThruImage f : X ⟶ image fis an epimorphism, and the mapfactorThruCoimage f : coimage f ⟶ Yis a monomorphism. - Factoring through the image and coimage is a strong epi-mono factorisation. This means that
- every abelian category has images. We provide the isomorphism
imageIsoImage : abelian.image f ≅ limits.image f. - the canonical morphism
coimageImageComparison : coimage f ⟶ image fis an isomorphism.
- every abelian category has images. We provide the isomorphism
- We provide the alternate characterisation of an abelian category as a category with (co)kernels and finite products, and in which the canonical coimage-image comparison morphism is always an isomorphism.
- Every epimorphism is a cokernel of its kernel. Every monomorphism is a kernel of its cokernel.
- The pullback of an epimorphism is an epimorphism. The pushout of a monomorphism is a monomorphism. (This is not to be confused with the fact that the pullback of a monomorphism is a monomorphism, which is true in any category).
Implementation notes
The typeclass Abelian does not extend NonPreadditiveAbelian,
to avoid having to deal with comparing the two HasZeroMorphisms instances
(one from Preadditive in Abelian, and the other a field of NonPreadditiveAbelian).
As a consequence, at the beginning of this file we trivially build
a NonPreadditiveAbelian instance from an Abelian instance,
and use this to restate a number of theorems,
in each case just reusing the proof from Mathlib/CategoryTheory/Abelian/NonPreadditive.lean.
We don't show this yet, but abelian categories are finitely complete and finitely cocomplete. However, the limits we can construct at this level of generality will most likely be less nice than the ones that can be created in specific applications. For this reason, we adopt the following convention:
- If the statement of a theorem involves limits, the existence of these limits should be made an explicit typeclass parameter.
- If a limit only appears in a proof, but not in the statement of a theorem, the limit should not
be a typeclass parameter, but instead be created using
Abelian.hasPullbacksor a similar definition.
References
- [F. Borceux, Handbook of Categorical Algebra 2][borceux-vol2]
- [P. Aluffi, Algebra: Chapter 0][aluffi2016]
We begin by providing an alternative constructor: a preadditive category with kernels, cokernels, and finite products, in which the coimage-image comparison morphism is always an isomorphism, is an abelian category.
We now promote some instances that were constructed using nonPreadditiveAbelian.
This section contains a slightly technical result about pullbacks and biproducts. We will need it in the proof that the pullback of an epimorphism is an epimorphism.
def CategoryTheory.Abelian.AbelianStruct.ctorIdx E1 #
{C : Type u_1} →
{inst : CategoryTheory.Category.{u_2, u_1} C} →
{inst_1 : CategoryTheory.Preadditive C} → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Abelian.AbelianStruct f → ℕ
theorem CategoryTheory.Abelian.epiDesc.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f f_1 : X ⟶ Y)
(e_f : f = f_1) [inst_2 : CategoryTheory.Epi f] {T : C} (g g_1 : X ⟶ T) (e_g : g = g_1)
(hg : CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι f) g = 0),
CategoryTheory.Abelian.epiDesc f g hg = CategoryTheory.Abelian.epiDesc f_1 g_1 ⋯
theorem CategoryTheory.Abelian.AbelianStruct.mk.injEq E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (kernelFork : CategoryTheory.Limits.KernelFork f)
(isLimitKernelFork : CategoryTheory.Limits.IsLimit kernelFork)
(cokernelCofork : CategoryTheory.Limits.CokernelCofork f)
(isColimitCokernelCofork : CategoryTheory.Limits.IsColimit cokernelCofork) (image : C) (imageπ : X ⟶ image)
(ι_imageπ :
autoParam (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι kernelFork) imageπ = 0)
CategoryTheory.Abelian.AbelianStruct.ι_imageπ._autoParam)
(imageIsCokernel : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ imageπ ι_imageπ))
(imageι : image ⟶ Y)
(imageι_π :
autoParam (CategoryTheory.CategoryStruct.comp imageι (CategoryTheory.Limits.Cofork.π cokernelCofork) = 0)
CategoryTheory.Abelian.AbelianStruct.imageι_π._autoParam)
(imageIsKernel : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι imageι imageι_π))
(fac :
autoParam (CategoryTheory.CategoryStruct.comp imageπ imageι = f)
CategoryTheory.Abelian.AbelianStruct.fac._autoParam)
(kernelFork_1 : CategoryTheory.Limits.KernelFork f) (isLimitKernelFork_1 : CategoryTheory.Limits.IsLimit kernelFork_1)
(cokernelCofork_1 : CategoryTheory.Limits.CokernelCofork f)
(isColimitCokernelCofork_1 : CategoryTheory.Limits.IsColimit cokernelCofork_1) (image_1 : C) (imageπ_1 : X ⟶ image_1)
(ι_imageπ_1 :
autoParam (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι kernelFork_1) imageπ_1 = 0)
CategoryTheory.Abelian.AbelianStruct.ι_imageπ._autoParam)
(imageIsCokernel_1 : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ imageπ_1 ι_imageπ_1))
(imageι_1 : image_1 ⟶ Y)
(imageι_π_1 :
autoParam (CategoryTheory.CategoryStruct.comp imageι_1 (CategoryTheory.Limits.Cofork.π cokernelCofork_1) = 0)
CategoryTheory.Abelian.AbelianStruct.imageι_π._autoParam)
(imageIsKernel_1 : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι imageι_1 imageι_π_1))
(fac_1 :
autoParam (CategoryTheory.CategoryStruct.comp imageπ_1 imageι_1 = f)
CategoryTheory.Abelian.AbelianStruct.fac._autoParam),
({ kernelFork := kernelFork, isLimitKernelFork := isLimitKernelFork, cokernelCofork := cokernelCofork,
isColimitCokernelCofork := isColimitCokernelCofork, image := image, imageπ := imageπ, ι_imageπ := ι_imageπ,
imageIsCokernel := imageIsCokernel, imageι := imageι, imageι_π := imageι_π, imageIsKernel := imageIsKernel,
fac := fac } =
{ kernelFork := kernelFork_1, isLimitKernelFork := isLimitKernelFork_1, cokernelCofork := cokernelCofork_1,
isColimitCokernelCofork := isColimitCokernelCofork_1, image := image_1, imageπ := imageπ_1,
ι_imageπ := ι_imageπ_1, imageIsCokernel := imageIsCokernel_1, imageι := imageι_1, imageι_π := imageι_π_1,
imageIsKernel := imageIsKernel_1, fac := fac_1 }) =
(kernelFork = kernelFork_1 ∧
isLimitKernelFork ≍ isLimitKernelFork_1 ∧
cokernelCofork = cokernelCofork_1 ∧
isColimitCokernelCofork ≍ isColimitCokernelCofork_1 ∧
image = image_1 ∧
imageπ ≍ imageπ_1 ∧
imageIsCokernel ≍ imageIsCokernel_1 ∧ imageι ≍ imageι_1 ∧ imageIsKernel ≍ imageIsKernel_1)
theorem CategoryTheory.Abelian.monoLift.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f f_1 : X ⟶ Y)
(e_f : f = f_1) [inst_2 : CategoryTheory.Mono f] {T : C} (g g_1 : T ⟶ Y) (e_g : g = g_1)
(hg : CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.cokernel.π f) = 0),
CategoryTheory.Abelian.monoLift f g hg = CategoryTheory.Abelian.monoLift f_1 g_1 ⋯
theorem CategoryTheory.Abelian.AbelianStruct.mk.inj E1 #
∀ {C : Type u_1} {inst : CategoryTheory.Category.{u_2, u_1} C} {inst_1 : CategoryTheory.Preadditive C} {X Y : C}
{f : X ⟶ Y} {kernelFork : CategoryTheory.Limits.KernelFork f}
{isLimitKernelFork : CategoryTheory.Limits.IsLimit kernelFork}
{cokernelCofork : CategoryTheory.Limits.CokernelCofork f}
{isColimitCokernelCofork : CategoryTheory.Limits.IsColimit cokernelCofork} {image : C} {imageπ : X ⟶ image}
{ι_imageπ :
autoParam (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι kernelFork) imageπ = 0)
CategoryTheory.Abelian.AbelianStruct.ι_imageπ._autoParam}
{imageIsCokernel : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ imageπ ι_imageπ)}
{imageι : image ⟶ Y}
{imageι_π :
autoParam (CategoryTheory.CategoryStruct.comp imageι (CategoryTheory.Limits.Cofork.π cokernelCofork) = 0)
CategoryTheory.Abelian.AbelianStruct.imageι_π._autoParam}
{imageIsKernel : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι imageι imageι_π)}
{fac :
autoParam (CategoryTheory.CategoryStruct.comp imageπ imageι = f)
CategoryTheory.Abelian.AbelianStruct.fac._autoParam}
{kernelFork_1 : CategoryTheory.Limits.KernelFork f} {isLimitKernelFork_1 : CategoryTheory.Limits.IsLimit kernelFork_1}
{cokernelCofork_1 : CategoryTheory.Limits.CokernelCofork f}
{isColimitCokernelCofork_1 : CategoryTheory.Limits.IsColimit cokernelCofork_1} {image_1 : C} {imageπ_1 : X ⟶ image_1}
{ι_imageπ_1 :
autoParam (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι kernelFork_1) imageπ_1 = 0)
CategoryTheory.Abelian.AbelianStruct.ι_imageπ._autoParam}
{imageIsCokernel_1 : CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ imageπ_1 ι_imageπ_1)}
{imageι_1 : image_1 ⟶ Y}
{imageι_π_1 :
autoParam (CategoryTheory.CategoryStruct.comp imageι_1 (CategoryTheory.Limits.Cofork.π cokernelCofork_1) = 0)
CategoryTheory.Abelian.AbelianStruct.imageι_π._autoParam}
{imageIsKernel_1 : CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι imageι_1 imageι_π_1)}
{fac_1 :
autoParam (CategoryTheory.CategoryStruct.comp imageπ_1 imageι_1 = f)
CategoryTheory.Abelian.AbelianStruct.fac._autoParam},
{ kernelFork := kernelFork, isLimitKernelFork := isLimitKernelFork, cokernelCofork := cokernelCofork,
isColimitCokernelCofork := isColimitCokernelCofork, image := image, imageπ := imageπ, ι_imageπ := ι_imageπ,
imageIsCokernel := imageIsCokernel, imageι := imageι, imageι_π := imageι_π, imageIsKernel := imageIsKernel,
fac := fac } =
{ kernelFork := kernelFork_1, isLimitKernelFork := isLimitKernelFork_1, cokernelCofork := cokernelCofork_1,
isColimitCokernelCofork := isColimitCokernelCofork_1, image := image_1, imageπ := imageπ_1,
ι_imageπ := ι_imageπ_1, imageIsCokernel := imageIsCokernel_1, imageι := imageι_1, imageι_π := imageι_π_1,
imageIsKernel := imageIsKernel_1, fac := fac_1 } →
kernelFork = kernelFork_1 ∧
isLimitKernelFork ≍ isLimitKernelFork_1 ∧
cokernelCofork = cokernelCofork_1 ∧
isColimitCokernelCofork ≍ isColimitCokernelCofork_1 ∧
image = image_1 ∧
imageπ ≍ imageπ_1 ∧
imageIsCokernel ≍ imageIsCokernel_1 ∧ imageι ≍ imageι_1 ∧ imageIsKernel ≍ imageIsKernel_1
def CategoryTheory.Abelian.ctorIdx E1 #
{C : Type u} → {inst : CategoryTheory.Category.{v, u} C} → CategoryTheory.Abelian C → ℕ
class CategoryTheory.Abelian E3 #
(C : Type u) → [CategoryTheory.Category.{v, u} C] → Type (max u v)
A (preadditive) category C is called abelian if it has all finite products,
all kernels and cokernels, and if every monomorphism is the kernel of some morphism
and every epimorphism is the cokernel of some morphism.
(This definition implies the existence of zero objects: finite products give a terminal object, and in a preadditive category any terminal object is a zero object.)
instance CategoryTheory.Abelian.toPreadditive E0 #
{C : Type u} →
{inst : CategoryTheory.Category.{v, u} C} → [self : CategoryTheory.Abelian C] → CategoryTheory.Preadditive C
ctor CategoryTheory.Abelian.mk E0 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[toPreadditive : CategoryTheory.Preadditive C] →
[toIsNormalMonoCategory : CategoryTheory.IsNormalMonoCategory C] →
[toIsNormalEpiCategory : CategoryTheory.IsNormalEpiCategory C] →
[has_finite_products : CategoryTheory.Limits.HasFiniteProducts C] →
[has_kernels : CategoryTheory.Limits.HasKernels C] →
[has_cokernels : CategoryTheory.Limits.HasCokernels C] → CategoryTheory.Abelian C
instance CategoryTheory.Abelian.toIsNormalEpiCategory E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Abelian C],
CategoryTheory.IsNormalEpiCategory C
instance CategoryTheory.Abelian.toIsNormalMonoCategory E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Abelian C],
CategoryTheory.IsNormalMonoCategory C
instance CategoryTheory.Abelian.has_finite_products E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Abelian C],
CategoryTheory.Limits.HasFiniteProducts C
instance CategoryTheory.Abelian.has_kernels E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Abelian C],
CategoryTheory.Limits.HasKernels C
instance CategoryTheory.Abelian.has_cokernels E0 #
∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} [self : CategoryTheory.Abelian C],
CategoryTheory.Limits.HasCokernels C
def CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[CategoryTheory.Limits.HasKernels C] →
[CategoryTheory.Limits.HasCokernels C] → {X Y : C} → (f : X ⟶ Y) → CategoryTheory.Limits.MonoFactorisation f
The factorisation of a morphism through its abelian image.
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation_I E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).I = CategoryTheory.Abelian.image f
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation_m E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).m =
CategoryTheory.Limits.kernel.ι (CategoryTheory.Limits.cokernel.π f)
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation_e E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).e =
CategoryTheory.Limits.kernel.lift (CategoryTheory.Limits.cokernel.π f) f ⋯
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation_e' E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).e =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.cokernel.π (CategoryTheory.Limits.kernel.ι f))
(CategoryTheory.Abelian.coimageImageComparison f)
def CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageFactorisation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasKernels C] →
[inst_3 : CategoryTheory.Limits.HasCokernels C] →
{X Y : C} →
(f : X ⟶ Y) →
[CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)] →
CategoryTheory.Limits.ImageFactorisation f
If the coimage-image comparison morphism for a morphism f is an isomorphism,
we obtain an image factorisation of f.
instance CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.instIsIsoEImageMonoFactorisationOfHasZeroObjectOfMonoOfCoimageImageComparison E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C]
[CategoryTheory.Limits.HasZeroObject C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.Mono f]
[CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)],
CategoryTheory.IsIso (CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).e
instance CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.instIsIsoMImageMonoFactorisationOfHasZeroObjectOfEpi E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C]
[CategoryTheory.Limits.HasZeroObject C] {X Y : C} (f : X ⟶ Y) [CategoryTheory.Epi f],
CategoryTheory.IsIso (CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.imageMonoFactorisation f).m
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.hasImages E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C]
[∀ {X Y : C} (f : X ⟶ Y), CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)],
CategoryTheory.Limits.HasImages C
A category in which coimage-image comparisons are all isomorphisms has images.
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.isNormalMonoCategory E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C]
[∀ {X Y : C} (f : X ⟶ Y), CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)]
[CategoryTheory.Limits.HasFiniteProducts C], CategoryTheory.IsNormalMonoCategory C
A category with finite products in which coimage-image comparisons are all isomorphisms is a normal mono category.
theorem CategoryTheory.Abelian.OfCoimageImageComparisonIsIso.isNormalEpiCategory E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasKernels C] [inst_3 : CategoryTheory.Limits.HasCokernels C]
[∀ {X Y : C} (f : X ⟶ Y), CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)]
[CategoryTheory.Limits.HasFiniteProducts C], CategoryTheory.IsNormalEpiCategory C
A category with finite products in which coimage-image comparisons are all isomorphisms is a normal epi category.
def CategoryTheory.Abelian.ofCoimageImageComparisonIsIso E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[inst_2 : CategoryTheory.Limits.HasKernels C] →
[inst_3 : CategoryTheory.Limits.HasCokernels C] →
[∀ {X Y : C} (f : X ⟶ Y), CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)] →
[CategoryTheory.Limits.HasFiniteProducts C] → CategoryTheory.Abelian C
A preadditive category with kernels, cokernels, and finite products, in which the coimage-image comparison morphism is always an isomorphism, is an abelian category.
theorem CategoryTheory.Abelian.hasFiniteBiproducts E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C],
CategoryTheory.Limits.HasFiniteBiproducts C
An abelian category has finite biproducts.
instance CategoryTheory.Abelian.hasBinaryBiproducts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C],
CategoryTheory.Limits.HasBinaryBiproducts C
instance CategoryTheory.Abelian.hasZeroObject E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasZeroObject C
def CategoryTheory.Abelian.nonPreadditiveAbelian E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.Abelian C] → CategoryTheory.NonPreadditiveAbelian C
Every abelian category is, in particular, NonPreadditiveAbelian.
instance CategoryTheory.Abelian.instEpiFactorThruImage E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
CategoryTheory.Epi (CategoryTheory.Abelian.factorThruImage f)
The map p : P ⟶ image f is an epimorphism
instance CategoryTheory.Abelian.isIso_factorThruImage E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q)
[CategoryTheory.Mono f], CategoryTheory.IsIso (CategoryTheory.Abelian.factorThruImage f)
instance CategoryTheory.Abelian.instMonoFactorThruCoimage E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
CategoryTheory.Mono (CategoryTheory.Abelian.factorThruCoimage f)
The canonical morphism i : coimage f ⟶ Q is a monomorphism
instance CategoryTheory.Abelian.isIso_factorThruCoimage E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q)
[CategoryTheory.Epi f], CategoryTheory.IsIso (CategoryTheory.Abelian.factorThruCoimage f)
theorem CategoryTheory.Abelian.mono_of_kernel_ι_eq_zero E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
CategoryTheory.Limits.kernel.ι f = 0 → CategoryTheory.Mono f
theorem CategoryTheory.Abelian.epi_of_cokernel_π_eq_zero E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
CategoryTheory.Limits.cokernel.π f = 0 → CategoryTheory.Epi f
theorem CategoryTheory.Abelian.image_ι_comp_eq_zero E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} {f : P ⟶ Q}
{R : C} {g : Q ⟶ R},
CategoryTheory.CategoryStruct.comp f g = 0 →
CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.image.ι f) g = 0
theorem CategoryTheory.Abelian.comp_coimage_π_eq_zero E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} {f : P ⟶ Q}
{R : C} {g : Q ⟶ R},
CategoryTheory.CategoryStruct.comp f g = 0 →
CategoryTheory.CategoryStruct.comp f (CategoryTheory.Abelian.coimage.π g) = 0
def CategoryTheory.Abelian.imageStrongEpiMonoFactorisation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Abelian C] → {P Q : C} → (f : P ⟶ Q) → CategoryTheory.Limits.StrongEpiMonoFactorisation f
Factoring through the image is a strong epi-mono factorisation.
theorem CategoryTheory.Abelian.imageStrongEpiMonoFactorisation_e E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.imageStrongEpiMonoFactorisation f).e = CategoryTheory.Abelian.factorThruImage f
theorem CategoryTheory.Abelian.imageStrongEpiMonoFactorisation_m E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.imageStrongEpiMonoFactorisation f).m = CategoryTheory.Abelian.image.ι f
theorem CategoryTheory.Abelian.imageStrongEpiMonoFactorisation_I E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.imageStrongEpiMonoFactorisation f).I = CategoryTheory.Abelian.image f
def CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Abelian C] → {P Q : C} → (f : P ⟶ Q) → CategoryTheory.Limits.StrongEpiMonoFactorisation f
Factoring through the coimage is a strong epi-mono factorisation.
theorem CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation_e E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation f).e = CategoryTheory.Abelian.coimage.π f
theorem CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation_I E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation f).I = CategoryTheory.Abelian.coimage f
theorem CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation_m E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {P Q : C} (f : P ⟶ Q),
(CategoryTheory.Abelian.coimageStrongEpiMonoFactorisation f).m = CategoryTheory.Abelian.factorThruCoimage f
instance CategoryTheory.Abelian.instHasStrongEpiMonoFactorisations E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasStrongEpiMonoFactorisations C
An abelian category has strong epi-mono factorisations.
instance CategoryTheory.Abelian.instIsIsoCoimageImageComparison E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.IsIso (CategoryTheory.Abelian.coimageImageComparison f)
The coimage-image comparison morphism is always an isomorphism in an abelian category.
See CategoryTheory.Abelian.ofCoimageImageComparisonIsIso for the converse.
abbrev CategoryTheory.Abelian.coimageIsoImage E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} → (f : X ⟶ Y) → CategoryTheory.Abelian.coimage f ≅ CategoryTheory.Abelian.image f
There is a canonical isomorphism between the abelian coimage and the abelian image of a morphism.
abbrev CategoryTheory.Abelian.coimageIsoImage' E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} → (f : X ⟶ Y) → CategoryTheory.Abelian.coimage f ≅ CategoryTheory.Limits.image f
There is a canonical isomorphism between the abelian coimage and the categorical image of a morphism.
theorem CategoryTheory.Abelian.coimageIsoImage'_hom E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.coimageIsoImage' f).hom =
CategoryTheory.Limits.cokernel.desc (CategoryTheory.Limits.kernel.ι f) (CategoryTheory.Limits.factorThruImage f) ⋯
theorem CategoryTheory.Abelian.factorThruImage_comp_coimageIsoImage'_inv E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.factorThruImage f)
(CategoryTheory.Abelian.coimageIsoImage' f).inv =
CategoryTheory.Limits.cokernel.π (CategoryTheory.Limits.kernel.ι f)
theorem CategoryTheory.Abelian.image.ι_comp_eq_zero E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
{Z : C} (g : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.image.ι f) g = 0 ↔
CategoryTheory.CategoryStruct.comp f g = 0
theorem CategoryTheory.Abelian.coimage.comp_π_eq_zero E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
{Z : C} (g : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp f (CategoryTheory.Abelian.coimage.π g) = 0 ↔
CategoryTheory.CategoryStruct.comp f g = 0
def CategoryTheory.Abelian.im E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Abelian C] → CategoryTheory.Functor (CategoryTheory.Arrow C) C
Abelian.image as a functor from the arrow category.
theorem CategoryTheory.Abelian.im_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
{f g : CategoryTheory.Arrow C} (u : f ⟶ g),
CategoryTheory.Abelian.im.map u =
CategoryTheory.Limits.kernel.lift (CategoryTheory.Limits.cokernel.π g.hom)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.image.ι f.hom) (CategoryTheory.Arrow.Hom.right u)) ⋯
theorem CategoryTheory.Abelian.im_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
(f : CategoryTheory.Arrow C), CategoryTheory.Abelian.im.obj f = CategoryTheory.Abelian.image f.hom
def CategoryTheory.Abelian.coim E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Abelian C] → CategoryTheory.Functor (CategoryTheory.Arrow C) C
Abelian.coimage as a functor from the arrow category.
theorem CategoryTheory.Abelian.coim_map E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
{f g : CategoryTheory.Arrow C} (u : f ⟶ g),
CategoryTheory.Abelian.coim.map u =
CategoryTheory.Limits.cokernel.desc (CategoryTheory.Limits.kernel.ι f.hom)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Arrow.Hom.left u) (CategoryTheory.Abelian.coimage.π g.hom)) ⋯
theorem CategoryTheory.Abelian.coim_obj E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
(f : CategoryTheory.Arrow C), CategoryTheory.Abelian.coim.obj f = CategoryTheory.Abelian.coimage f.hom
def CategoryTheory.Abelian.coimIsoIm E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] → CategoryTheory.Abelian.coim ≅ CategoryTheory.Abelian.im
The image and coimage of an arrow are naturally isomorphic.
theorem CategoryTheory.Abelian.coimIsoIm_hom_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
(X : CategoryTheory.Arrow C),
CategoryTheory.Abelian.coimIsoIm.hom.app X = CategoryTheory.Abelian.coimageImageComparison X.hom
theorem CategoryTheory.Abelian.coimIsoIm_inv_app E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
(X : CategoryTheory.Arrow C),
CategoryTheory.Abelian.coimIsoIm.inv.app X = CategoryTheory.inv (CategoryTheory.Abelian.coimageImageComparison X.hom)
abbrev CategoryTheory.Abelian.imageIsoImage E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} → (f : X ⟶ Y) → CategoryTheory.Abelian.image f ≅ CategoryTheory.Limits.image f
There is a canonical isomorphism between the abelian image and the categorical image of a morphism.
theorem CategoryTheory.Abelian.imageIsoImage_hom_comp_image_ι E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.imageIsoImage f).hom (CategoryTheory.Limits.image.ι f) =
CategoryTheory.Limits.kernel.ι (CategoryTheory.Limits.cokernel.π f)
theorem CategoryTheory.Abelian.imageIsoImage_inv E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y),
(CategoryTheory.Abelian.imageIsoImage f).inv =
CategoryTheory.Limits.kernel.lift (CategoryTheory.Limits.cokernel.π f) (CategoryTheory.Limits.image.ι f) ⋯
def CategoryTheory.Abelian.epiIsCokernelOfKernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} →
{f : X ⟶ Y} →
[CategoryTheory.Epi f] →
(s : CategoryTheory.Limits.Fork f 0) →
CategoryTheory.Limits.IsLimit s →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ f ⋯)
In an abelian category, an epi is the cokernel of its kernel. More precisely:
If f is an epimorphism and s is some limit kernel cone on f, then f is a cokernel
of fork.ι s.
def CategoryTheory.Abelian.monoIsKernelOfCokernel E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} →
{f : X ⟶ Y} →
[CategoryTheory.Mono f] →
(s : CategoryTheory.Limits.Cofork f 0) →
CategoryTheory.Limits.IsColimit s →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι f ⋯)
In an abelian category, a mono is the kernel of its cokernel. More precisely:
If f is a monomorphism and s is some colimit cokernel cocone on f, then f is a kernel
of cofork.π s.
def CategoryTheory.Abelian.epiDesc E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} →
(f : X ⟶ Y) →
[CategoryTheory.Epi f] →
{T : C} →
(g : X ⟶ T) → CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι f) g = 0 → (Y ⟶ T)
In an abelian category, any morphism that turns to zero when precomposed with the kernel of an epimorphism factors through that epimorphism.
theorem CategoryTheory.Abelian.comp_epiDesc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
[inst_2 : CategoryTheory.Epi f] {T : C} (g : X ⟶ T)
(hg : CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι f) g = 0),
CategoryTheory.CategoryStruct.comp f (CategoryTheory.Abelian.epiDesc f g hg) = g
theorem CategoryTheory.Abelian.comp_epiDesc_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
[inst_2 : CategoryTheory.Epi f] {T : C} (g : X ⟶ T)
(hg : CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι f) g = 0) {Z : C} (h : T ⟶ Z),
CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.epiDesc f g hg) h) =
CategoryTheory.CategoryStruct.comp g h
def CategoryTheory.Abelian.monoLift E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{X Y : C} →
(f : X ⟶ Y) →
[CategoryTheory.Mono f] →
{T : C} →
(g : T ⟶ Y) → CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.cokernel.π f) = 0 → (T ⟶ X)
In an abelian category, any morphism that turns to zero when postcomposed with the cokernel of a monomorphism factors through that monomorphism.
theorem CategoryTheory.Abelian.monoLift_comp E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
[inst_2 : CategoryTheory.Mono f] {T : C} (g : T ⟶ Y)
(hg : CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.cokernel.π f) = 0),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.monoLift f g hg) f = g
theorem CategoryTheory.Abelian.monoLift_comp_assoc E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y : C} (f : X ⟶ Y)
[inst_2 : CategoryTheory.Mono f] {T : C} (g : T ⟶ Y)
(hg : CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.cokernel.π f) = 0) {Z : C} (h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Abelian.monoLift f g hg) (CategoryTheory.CategoryStruct.comp f h) =
CategoryTheory.CategoryStruct.comp g h
def CategoryTheory.Abelian.isLimitMapConeOfKernelForkOfι E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{D : Type u_1} →
[inst_2 : CategoryTheory.Category.{v_1, u_1} D] →
[inst_3 : CategoryTheory.Limits.HasZeroMorphisms D] →
{X Y : D} →
(i : X ⟶ Y) →
[inst_4 : CategoryTheory.Limits.HasCokernel i] →
(F : CategoryTheory.Functor D C) →
[F.PreservesZeroMorphisms] →
[CategoryTheory.Mono (F.map i)] →
[CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair i 0) F] →
CategoryTheory.Limits.IsLimit (F.mapCone (CategoryTheory.Limits.KernelFork.ofι i ⋯))
If F : D ⥤ C is a functor to an abelian category, i : X ⟶ Y is a morphism
admitting a cokernel such that F preserves this cokernel and F.map i is a mono,
then F.map X identifies to the kernel of F.map (cokernel.π i).
def CategoryTheory.Abelian.isColimitMapCoconeOfCokernelCoforkOfπ E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
{D : Type u_1} →
[inst_2 : CategoryTheory.Category.{v_1, u_1} D] →
[inst_3 : CategoryTheory.Limits.HasZeroMorphisms D] →
{X Y : D} →
(p : X ⟶ Y) →
[inst_4 : CategoryTheory.Limits.HasKernel p] →
(F : CategoryTheory.Functor D C) →
[F.PreservesZeroMorphisms] →
[CategoryTheory.Epi (F.map p)] →
[CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair p 0) F] →
CategoryTheory.Limits.IsColimit (F.mapCocone (CategoryTheory.Limits.CokernelCofork.ofπ p ⋯))
If F : D ⥤ C is a functor to an abelian category, p : X ⟶ Y is a morphism
admitting a kernel such that F preserves this kernel and F.map p is an epi,
then F.map Y identifies to the cokernel of F.map (kernel.ι p).
instance CategoryTheory.Abelian.hasEqualizers E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasEqualizers C
instance CategoryTheory.Abelian.hasPullbacks E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasPullbacks C
Any abelian category has pullbacks
instance CategoryTheory.Abelian.hasCoequalizers E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasCoequalizers C
instance CategoryTheory.Abelian.hasPushouts E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C], CategoryTheory.Limits.HasPushouts C
Any abelian category has pushouts
instance CategoryTheory.Abelian.hasFiniteLimits E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasFiniteLimits C
instance CategoryTheory.Abelian.hasFiniteColimits E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C],
CategoryTheory.Limits.HasFiniteColimits C
abbrev CategoryTheory.Abelian.PullbackToBiproductIsKernel.pullbackToBiproduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[inst_2 : CategoryTheory.Limits.HasPullbacks C] →
{X Y Z : C} → (f : X ⟶ Z) → (g : Y ⟶ Z) → CategoryTheory.Limits.pullback f g ⟶ X ⊞ Y
The canonical map pullback f g ⟶ X ⊞ Y
abbrev CategoryTheory.Abelian.PullbackToBiproductIsKernel.pullbackToBiproductFork E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[CategoryTheory.Limits.HasPullbacks C] →
{X Y Z : C} →
(f : X ⟶ Z) → (g : Y ⟶ Z) → CategoryTheory.Limits.KernelFork (CategoryTheory.Limits.biprod.desc f (-g))
The canonical map pullback f g ⟶ X ⊞ Y induces a kernel cone on the map
biproduct X Y ⟶ Z induced by f and g. A slightly more intuitive way to think of
this may be that it induces an equalizer fork on the maps induced by (f, 0) and
(0, g).
def CategoryTheory.Abelian.PullbackToBiproductIsKernel.isLimitPullbackToBiproduct E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[inst_2 : CategoryTheory.Limits.HasPullbacks C] →
{X Y Z : C} →
(f : X ⟶ Z) →
(g : Y ⟶ Z) →
CategoryTheory.Limits.IsLimit
(CategoryTheory.Abelian.PullbackToBiproductIsKernel.pullbackToBiproductFork f g)
The canonical map pullback f g ⟶ X ⊞ Y is a kernel of the map induced by
(f, -g).
abbrev CategoryTheory.Abelian.BiproductToPushoutIsCokernel.biproductToPushout E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[inst_2 : CategoryTheory.Limits.HasPushouts C] →
{X Y Z : C} → (f : X ⟶ Y) → (g : X ⟶ Z) → Y ⊞ Z ⟶ CategoryTheory.Limits.pushout f g
The canonical map Y ⊞ Z ⟶ pushout f g
abbrev CategoryTheory.Abelian.BiproductToPushoutIsCokernel.biproductToPushoutCofork E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[CategoryTheory.Limits.HasPushouts C] →
{X Y Z : C} →
(f : X ⟶ Y) → (g : X ⟶ Z) → CategoryTheory.Limits.CokernelCofork (CategoryTheory.Limits.biprod.lift f (-g))
The canonical map Y ⊞ Z ⟶ pushout f g induces a cokernel cofork on the map
X ⟶ Y ⊞ Z induced by f and -g.
def CategoryTheory.Abelian.BiproductToPushoutIsCokernel.isColimitBiproductToPushout E1 #
{C : Type u} →
[inst : CategoryTheory.Category.{v, u} C] →
[inst_1 : CategoryTheory.Abelian C] →
[inst_2 : CategoryTheory.Limits.HasPushouts C] →
{X Y Z : C} →
(f : X ⟶ Y) →
(g : X ⟶ Z) →
CategoryTheory.Limits.IsColimit
(CategoryTheory.Abelian.BiproductToPushoutIsCokernel.biproductToPushoutCofork f g)
The cofork induced by the canonical map Y ⊞ Z ⟶ pushout f g is in fact a colimit cokernel
cofork.
instance CategoryTheory.Abelian.epi_pullback_of_epi_f E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Z)
(g : Y ⟶ Z) [CategoryTheory.Epi f], CategoryTheory.Epi (CategoryTheory.Limits.pullback.snd f g)
In an abelian category, the pullback of an epimorphism is an epimorphism. Proof from [aluffi2016, IX.2.3], cf. [borceux-vol2, 1.7.6]
instance CategoryTheory.Abelian.epi_pullback_of_epi_g E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Z)
(g : Y ⟶ Z) [CategoryTheory.Epi g], CategoryTheory.Epi (CategoryTheory.Limits.pullback.fst f g)
In an abelian category, the pullback of an epimorphism is an epimorphism.
theorem CategoryTheory.Abelian.epi_snd_of_isLimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
[CategoryTheory.Epi f] {s : CategoryTheory.Limits.PullbackCone f g} (hs : CategoryTheory.Limits.IsLimit s),
CategoryTheory.Epi s.snd
theorem CategoryTheory.Abelian.epi_fst_of_isLimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z)
[CategoryTheory.Epi g] {s : CategoryTheory.Limits.PullbackCone f g} (hs : CategoryTheory.Limits.IsLimit s),
CategoryTheory.Epi s.fst
theorem CategoryTheory.Abelian.epi_fst_of_factor_thru_epi_mono_factorization E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {W X Y Z : C} (f : X ⟶ Z)
(g : Y ⟶ Z) (g₁ : Y ⟶ W) [CategoryTheory.Epi g₁] (g₂ : W ⟶ Z) [CategoryTheory.Mono g₂],
CategoryTheory.CategoryStruct.comp g₁ g₂ = g →
∀ (f' : X ⟶ W),
CategoryTheory.CategoryStruct.comp f' g₂ = f →
∀ (t : CategoryTheory.Limits.PullbackCone f g) (ht : CategoryTheory.Limits.IsLimit t), CategoryTheory.Epi t.fst
Suppose f and g are two morphisms with a common codomain and suppose we have written g as
an epimorphism followed by a monomorphism. If f factors through the mono part of this
factorization, then any pullback of g along f is an epimorphism.
instance CategoryTheory.Abelian.mono_pushout_of_mono_f E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
(g : X ⟶ Z) [CategoryTheory.Mono f], CategoryTheory.Mono (CategoryTheory.Limits.pushout.inr f g)
instance CategoryTheory.Abelian.mono_pushout_of_mono_g E0 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
(g : X ⟶ Z) [CategoryTheory.Mono g], CategoryTheory.Mono (CategoryTheory.Limits.pushout.inl f g)
theorem CategoryTheory.Abelian.mono_inr_of_isColimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y) (g : X ⟶ Z)
[CategoryTheory.Mono f] {s : CategoryTheory.Limits.PushoutCocone f g} (hs : CategoryTheory.Limits.IsColimit s),
CategoryTheory.Mono s.inr
theorem CategoryTheory.Abelian.mono_inl_of_isColimit E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y) (g : X ⟶ Z)
[CategoryTheory.Mono g] {s : CategoryTheory.Limits.PushoutCocone f g} (hs : CategoryTheory.Limits.IsColimit s),
CategoryTheory.Mono s.inl
theorem CategoryTheory.Abelian.mono_inl_of_factor_thru_epi_mono_factorization E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Abelian C] {W X Y Z : C} (f : X ⟶ Y)
(g : X ⟶ Z) (g₁ : X ⟶ W) [CategoryTheory.Epi g₁] (g₂ : W ⟶ Z) [CategoryTheory.Mono g₂],
CategoryTheory.CategoryStruct.comp g₁ g₂ = g →
∀ (f' : W ⟶ Y),
CategoryTheory.CategoryStruct.comp g₁ f' = f →
∀ (t : CategoryTheory.Limits.PushoutCocone f g) (ht : CategoryTheory.Limits.IsColimit t),
CategoryTheory.Mono t.inl
Suppose f and g are two morphisms with a common domain and suppose we have written g as
an epimorphism followed by a monomorphism. If f factors through the epi part of this
factorization, then any pushout of g along f is a monomorphism.
def CategoryTheory.NonPreadditiveAbelian.abelian E1 #
(C : Type u) →
[inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.NonPreadditiveAbelian C] → CategoryTheory.Abelian C
Every NonPreadditiveAbelian category can be promoted to an abelian category.
structure CategoryTheory.Abelian.AbelianStruct E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[CategoryTheory.Preadditive C] → {X Y : C} → (X ⟶ Y) → Type (max u_1 u_2)
A preadditive category C with finite products is abelian when this
structure is nonempty for any morphism f in C, see Abelian.mk'.
ctor CategoryTheory.Abelian.AbelianStruct.mk E0 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
(kernelFork : CategoryTheory.Limits.KernelFork f) →
CategoryTheory.Limits.IsLimit kernelFork →
(cokernelCofork : CategoryTheory.Limits.CokernelCofork f) →
CategoryTheory.Limits.IsColimit cokernelCofork →
(image : C) →
(imageπ : X ⟶ image) →
(ι_imageπ :
autoParam
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι kernelFork) imageπ = 0)
CategoryTheory.Abelian.AbelianStruct.ι_imageπ._autoParam) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ imageπ ι_imageπ) →
(imageι : image ⟶ Y) →
(imageι_π :
autoParam
(CategoryTheory.CategoryStruct.comp imageι
(CategoryTheory.Limits.Cofork.π cokernelCofork) =
0)
CategoryTheory.Abelian.AbelianStruct.imageι_π._autoParam) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι imageι imageι_π) →
autoParam (CategoryTheory.CategoryStruct.comp imageπ imageι = f)
CategoryTheory.Abelian.AbelianStruct.fac._autoParam →
CategoryTheory.Abelian.AbelianStruct f
abbrev CategoryTheory.Abelian.AbelianStruct.kernelFork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} → {f : X ⟶ Y} → CategoryTheory.Abelian.AbelianStruct f → CategoryTheory.Limits.KernelFork f
a limit kernel fork of f
abbrev CategoryTheory.Abelian.AbelianStruct.isLimitKernelFork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} → (self : CategoryTheory.Abelian.AbelianStruct f) → CategoryTheory.Limits.IsLimit self.kernelFork
the kernel fork is a limit
abbrev CategoryTheory.Abelian.AbelianStruct.cokernelCofork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} → {f : X ⟶ Y} → CategoryTheory.Abelian.AbelianStruct f → CategoryTheory.Limits.CokernelCofork f
a colimit cokernel cofork of f
abbrev CategoryTheory.Abelian.AbelianStruct.isColimitCokernelCofork E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
(self : CategoryTheory.Abelian.AbelianStruct f) → CategoryTheory.Limits.IsColimit self.cokernelCofork
the cokernel cofork is a a limit
abbrev CategoryTheory.Abelian.AbelianStruct.image E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] → {X Y : C} → {f : X ⟶ Y} → CategoryTheory.Abelian.AbelianStruct f → C
the image of f
abbrev CategoryTheory.Abelian.AbelianStruct.imageπ E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} → {f : X ⟶ Y} → (self : CategoryTheory.Abelian.AbelianStruct f) → X ⟶ self.image
the projection to the image
theorem CategoryTheory.Abelian.AbelianStruct.ι_imageπ E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι self.kernelFork) self.imageπ = 0
abbrev CategoryTheory.Abelian.AbelianStruct.imageIsCokernel E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
(self : CategoryTheory.Abelian.AbelianStruct f) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ self.imageπ ⋯)
the image is a cokernel
abbrev CategoryTheory.Abelian.AbelianStruct.imageι E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} → {f : X ⟶ Y} → (self : CategoryTheory.Abelian.AbelianStruct f) → self.image ⟶ Y
the inclusion of the image
theorem CategoryTheory.Abelian.AbelianStruct.imageι_π E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f),
CategoryTheory.CategoryStruct.comp self.imageι (CategoryTheory.Limits.Cofork.π self.cokernelCofork) = 0
abbrev CategoryTheory.Abelian.AbelianStruct.imageIsKernel E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
{X Y : C} →
{f : X ⟶ Y} →
(self : CategoryTheory.Abelian.AbelianStruct f) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι self.imageι ⋯)
the image is a kernel
theorem CategoryTheory.Abelian.AbelianStruct.fac E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f),
CategoryTheory.CategoryStruct.comp self.imageπ self.imageι = f
theorem CategoryTheory.Abelian.AbelianStruct.imageι_π_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f) {Z : C} (h : self.cokernelCofork.pt ⟶ Z),
CategoryTheory.CategoryStruct.comp self.imageι
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Cofork.π self.cokernelCofork) h) =
CategoryTheory.CategoryStruct.comp 0 h
theorem CategoryTheory.Abelian.AbelianStruct.ι_imageπ_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f) {Z : C} (h : self.image ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Fork.ι self.kernelFork)
(CategoryTheory.CategoryStruct.comp self.imageπ h) =
CategoryTheory.CategoryStruct.comp 0 h
theorem CategoryTheory.Abelian.AbelianStruct.fac_assoc E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{u_2, u_1} C] [inst_1 : CategoryTheory.Preadditive C] {X Y : C}
{f : X ⟶ Y} (self : CategoryTheory.Abelian.AbelianStruct f) {Z : C} (h : Y ⟶ Z),
CategoryTheory.CategoryStruct.comp self.imageπ (CategoryTheory.CategoryStruct.comp self.imageι h) =
CategoryTheory.CategoryStruct.comp f h
def CategoryTheory.Abelian.mk' E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{u_2, u_1} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[CategoryTheory.Limits.HasFiniteProducts C] →
(∀ ⦃X Y : C⦄ (f : X ⟶ Y), Nonempty (CategoryTheory.Abelian.AbelianStruct f)) → CategoryTheory.Abelian C
Constructor for abelian categories. We assume that the category C is
preadditive, has finite products, and that any morphism f : X ⟶ Y has
a kernel i : K ⟶ X, a cokernel p : Y ⟶ Q such that f factors as f = π ≫ ι
where π : X ⟶ I is a cokernel of i and ι : I ⟶ Y is a kernel of p.
This assumption is packaged in a structure AbelianStruct f.