mathlib documentation


Additive Functors #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

A functor between two preadditive categories is called additive provided that the induced map on hom types is a morphism of abelian groups.

An additive functor between preadditive categories creates and preserves biproducts. Conversely, if F : C ⥤ D is a functor between preadditive categories, where C has binary biproducts, and if F preserves binary biproducts, then F is additive.

We also define the category of bundled additive functors.

Implementation details #

functor.additive is a Prop-valued class, defined by saying that for every two objects X and Y, the map : (X ⟶ Y) → (F.obj X ⟶ F.obj Y) is a morphism of abelian groups.


A functor F is additive provided is an additive homomorphism.

Instances of this typeclass
theorem category_theory.functor.map_add {C : Type u_1} {D : Type u_2} [category_theory.category C] [category_theory.category D] [category_theory.preadditive C] [category_theory.preadditive D] (F : C D) [F.additive] {X Y : C} {f g : X Y} : (f + g) = f + g

F.map_add_hom is an additive homomorphism whose underlying function is

theorem category_theory.functor.map_sub {C : Type u_1} {D : Type u_2} [category_theory.category C] [category_theory.category D] [category_theory.preadditive C] [category_theory.preadditive D] (F : C D) [F.additive] {X Y : C} {f g : X Y} : (f - g) = f - g
theorem category_theory.functor.map_sum {C : Type u_1} {D : Type u_2} [category_theory.category C] [category_theory.category D] [category_theory.preadditive C] [category_theory.preadditive D] (F : C D) [F.additive] {X Y : C} {α : Type u_5} (f : α (X Y)) (s : finset α) : (s.sum (λ (a : α), f a)) = s.sum (λ (a : α), (f a))

Bundled additive functors.

Instances for category_theory.AdditiveFunctor

Turn an additive functor into an object of the category AdditiveFunctor C D.