The areas / V25. Higher structures in categories
Mathlib.CategoryTheory.Abelian.Transfer
16 declarations. Mathlib docs · Source
Transferring "abelian-ness" across a functor
If C is an additive category, D is an abelian category,
we have F : C ⥤ D G : D ⥤ C (both preserving zero morphisms),
G is left exact (that is, preserves finite limits),
and further we have adj : G ⊣ F and i : F ⋙ G ≅ 𝟭 C,
then C is also abelian.
A particular example is the transfer of Abelian instances from a category C to ShrinkHoms C;
see ShrinkHoms.abelian. In this case, we also transfer the Preadditive structure.
See https://stacks.math.columbia.edu/tag/03A3
Implementation notes
The hypotheses, following the statement from the Stacks project,
may appear surprising: we don't ask that the counit of the adjunction is an isomorphism,
but just that we have some potentially unrelated isomorphism i : F ⋙ G ≅ 𝟭 C.
However Lemma A1.1.1 from [Elephant] shows that in this situation the counit itself
must be an isomorphism, and thus that C is a reflective subcategory of D.
Someone may like to formalize that lemma, and restate this theorem in terms of Reflective.
(That lemma has a nice string diagrammatic proof that holds in any bicategory.)
theorem CategoryTheory.AbelianOfAdjunction.hasKernels E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u₂}
[inst_2 : CategoryTheory.Category.{v₂, u₂} D] [inst_3 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D)
(G : CategoryTheory.Functor D C) [G.PreservesZeroMorphisms] [CategoryTheory.Limits.PreservesFiniteLimits G]
(i : F.comp G ≅ CategoryTheory.Functor.id C), CategoryTheory.Limits.HasKernels C
No point making this an instance, as it requires i.
theorem CategoryTheory.AbelianOfAdjunction.hasCokernels E1 #
∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u₂}
[inst_2 : CategoryTheory.Category.{v₂, u₂} D] [inst_3 : CategoryTheory.Abelian D] (F : CategoryTheory.Functor C D)
(G : CategoryTheory.Functor D C) [G.PreservesZeroMorphisms] (i : F.comp G ≅ CategoryTheory.Functor.id C)
(adj : G ⊣ F), CategoryTheory.Limits.HasCokernels C
No point making this an instance, as it requires i and adj.
def CategoryTheory.abelianOfAdjunction E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Preadditive C] →
[CategoryTheory.Limits.HasFiniteProducts C] →
{D : Type u₂} →
[inst_3 : CategoryTheory.Category.{v₂, u₂} D] →
[inst_4 : CategoryTheory.Abelian D] →
(F : CategoryTheory.Functor C D) →
(G : CategoryTheory.Functor D C) →
[G.PreservesZeroMorphisms] →
[CategoryTheory.Limits.PreservesFiniteLimits G] →
(F.comp G ≅ CategoryTheory.Functor.id C) → (G ⊣ F) → CategoryTheory.Abelian C
If C is an additive category, D is an abelian category,
we have F : C ⥤ D G : D ⥤ C (with G preserving zero morphisms),
G is left exact (that is, preserves finite limits),
and further we have adj : G ⊣ F and i : F ⋙ G ≅ 𝟭 C,
then C is also abelian.
def CategoryTheory.abelianOfEquivalence E1 #
{C : Type u₁} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[CategoryTheory.Preadditive C] →
[CategoryTheory.Limits.HasFiniteProducts C] →
{D : Type u₂} →
[inst_3 : CategoryTheory.Category.{v₂, u₂} D] →
[CategoryTheory.Abelian D] → (F : CategoryTheory.Functor C D) → [F.IsEquivalence] → CategoryTheory.Abelian C
If C is an additive category equivalent to an abelian category D
via a functor that preserves zero morphisms,
then C is also abelian.
instance CategoryTheory.ShrinkHoms.preadditive E0 #
(C : Type u_1) →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C] →
[CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.ShrinkHoms.{u_1} C)
instance CategoryTheory.ShrinkHoms.instAdditiveInverse E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C]
[inst_2 : CategoryTheory.Preadditive C], (CategoryTheory.ShrinkHoms.inverse C).Additive
instance CategoryTheory.ShrinkHoms.instAdditiveFunctor E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C]
[inst_2 : CategoryTheory.Preadditive C], (CategoryTheory.ShrinkHoms.functor C).Additive
instance CategoryTheory.ShrinkHoms.hasLimitsOfShape E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C]
(J : Type u_2) [inst_2 : CategoryTheory.Category.{v_2, u_2} J] [CategoryTheory.Limits.HasLimitsOfShape J C],
CategoryTheory.Limits.HasLimitsOfShape J (CategoryTheory.ShrinkHoms.{u_1} C)
instance CategoryTheory.ShrinkHoms.hasFiniteLimits E0 #
∀ (C : Type u_1) [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C]
[CategoryTheory.Limits.HasFiniteLimits C], CategoryTheory.Limits.HasFiniteLimits (CategoryTheory.ShrinkHoms.{u_1} C)
instance CategoryTheory.ShrinkHoms.abelian E0 #
(C : Type u_1) →
[inst : CategoryTheory.Category.{v_1, u_1} C] →
[inst_1 : CategoryTheory.LocallySmall.{w, v_1, u_1} C] →
[CategoryTheory.Abelian C] → CategoryTheory.Abelian (CategoryTheory.ShrinkHoms.{u_1} C)
instance CategoryTheory.AsSmall.preadditive E0 #
(C : Type u) →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Preadditive C] → CategoryTheory.Preadditive (CategoryTheory.AsSmall C)
instance CategoryTheory.AsSmall.instAdditiveDown E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
CategoryTheory.AsSmall.down.Additive
instance CategoryTheory.AsSmall.instAdditiveUp E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
CategoryTheory.AsSmall.up.Additive
instance CategoryTheory.AsSmall.hasLimitsOfShape E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] (J : Type u_1) [inst_1 : CategoryTheory.Category.{v_1, u_1} J]
[CategoryTheory.Limits.HasLimitsOfShape J C], CategoryTheory.Limits.HasLimitsOfShape J (CategoryTheory.AsSmall C)
instance CategoryTheory.AsSmall.hasFiniteLimits E0 #
∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.Limits.HasFiniteLimits C],
CategoryTheory.Limits.HasFiniteLimits (CategoryTheory.AsSmall C)
instance CategoryTheory.AsSmall.abelian E0 #
(C : Type u) →
[inst : CategoryTheory.Category.{v, u} C] →
[CategoryTheory.Abelian C] → CategoryTheory.Abelian (CategoryTheory.AsSmall C)