/-
Copyright (c) 2022 Jakob von Raumer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jakob von Raumer
-/
module
public import Mathlib.Algebra.Homology.ShortComplex.ExactFunctor
public import Mathlib.CategoryTheory.Preadditive.Yoneda.Limits
public import Mathlib.CategoryTheory.Preadditive.Yoneda.Projective
/-!
# Projective objects in abelian categories
In an abelian category, an object `P` is projective iff the functor
`preadditiveCoyonedaObj P` preserves finite colimits.
-/
public section
universe v u
namespace CategoryTheory
open Limits Projective Opposite
variable {C : Type u} [Category.{v} C] [Abelian C]
/-- The preadditive co-Yoneda functor on `P` preserves homology if `P` is projective. -/
noncomputable instance preservesHomology_preadditiveCoyonedaObj_of_projective
(P : C) [hP : Projective P] :
(preadditiveCoyonedaObj P).PreservesHomology := by
have := (projective_iff_preservesEpimorphisms_preadditiveCoyonedaObj P).mp hP
apply Functor.preservesHomology_of_preservesEpis_and_kernels
/-- The preadditive co-Yoneda functor on `P` preserves finite colimits if `P` is projective. -/
noncomputable instance preservesFiniteColimits_preadditiveCoyonedaObj_of_projective
(P : C) [hP : Projective P] :
PreservesFiniteColimits (preadditiveCoyonedaObj P) := by
apply Functor.preservesFiniteColimits_of_preservesHomology
/-- An object is projective if its preadditive co-Yoneda functor preserves finite colimits. -/
theorem projective_of_preservesFiniteColimits_preadditiveCoyonedaObj (P : C)
[hP : PreservesFiniteColimits (preadditiveCoyonedaObj P)] : Projective P := by
rw [projective_iff_preservesEpimorphisms_preadditiveCoyonedaObj]
have := Functor.preservesHomologyOfExact (preadditiveCoyonedaObj P)
infer_instance
end CategoryTheory
¤ Dauer der Verarbeitung: 0.2 Sekunden
¤
*© Formatika GbR, Deutschland