/-
Copyright (c) 2022 Jujian Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam Topaz, Jujian Zhang
-/
module
public import Mathlib.CategoryTheory.Abelian.FunctorCategory
public import Mathlib.CategoryTheory.Abelian.Transfer
public import Mathlib.CategoryTheory.Sites.ConstantSheaf
/-!
# Category of sheaves is abelian
Let `C, D` be categories and `J` be a Grothendieck topology on `C`, when `D` is abelian and
sheafification is possible in `C`, `Sheaf J D` is abelian as well (`sheafIsAbelian`).
Hence, `presheafToSheaf` is an additive functor (`presheafToSheaf_additive`).
-/
public section
noncomputable section
namespace CategoryTheory
open CategoryTheory.Limits
section Abelian
universe w' w v u
variable {C : Type u} [Category.{v} C]
variable {D : Type w} [Category.{w'} D] [Abelian D]
variable {J : GrothendieckTopology C}
variable [HasSheafify J D]
instance sheafIsAbelian : Abelian (Sheaf J D) :=
let adj := sheafificationAdjunction J D
abelianOfAdjunction _ _ (asIso adj.counit) adj
attribute [local instance] preservesBinaryBiproducts_of_preservesBinaryProducts
instance presheafToSheaf_additive : (presheafToSheaf J D).Additive :=
(presheafToSheaf J D).additive_of_preservesBinaryBiproducts
instance : (Functor.const Cᵒᵖ : D ⥤ Cᵒᵖ ⥤ D).Additive where
instance : (constantSheaf J D).Additive :=
inferInstanceAs (Functor.const _ ⋙ presheafToSheaf _ _).Additive
end Abelian
end CategoryTheory
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland