Documentation

Mathlib.CategoryTheory.Preadditive.AdditiveFunctor

Additive Functors #

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 F.map : (X ⟶ Y) → (F.obj X ⟶ F.obj Y) is a morphism of abelian groups.

A functor F is additive provided F.map is an additive homomorphism.

  • map_add {X Y : C} {f g : X Y} : F.map (f + g) = F.map f + F.map g

    the addition of two morphisms is mapped to the sum of their images

Instances
    @[simp]
    theorem CategoryTheory.Functor.map_add {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {f g : X Y} :
    F.map (f + g) = F.map f + F.map g
    def CategoryTheory.Functor.mapAddHom {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} :
    (X Y) →+ (F.obj X F.obj Y)

    F.mapAddHom is an additive homomorphism whose underlying function is F.map.

    Equations
      Instances For
        @[simp]
        theorem CategoryTheory.Functor.mapAddHom_apply {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} (f : X Y) :
        F.mapAddHom f = F.map f
        @[simp]
        theorem CategoryTheory.Functor.map_neg {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {f : X Y} :
        F.map (-f) = -F.map f
        @[simp]
        theorem CategoryTheory.Functor.map_sub {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {f g : X Y} :
        F.map (f - g) = F.map f - F.map g
        theorem CategoryTheory.Functor.map_nsmul {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {f : X Y} {n : } :
        F.map (n f) = n F.map f
        theorem CategoryTheory.Functor.map_zsmul {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {f : X Y} {r : } :
        F.map (r f) = r F.map f
        @[simp]
        theorem CategoryTheory.Functor.map_sum {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F : Functor C D) [F.Additive] {X Y : C} {α : Type u_4} (f : α → (X Y)) (s : Finset α) :
        F.map (∑ as, f a) = as, F.map (f a)

        The additiveness of a functor, as a property of objects in C ⥤ D.

        Equations
          Instances For
            @[reducible, inline]
            abbrev CategoryTheory.AdditiveFunctor (C : Type u_1) (D : Type u_2) [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] :
            Type (max (max (max u_1 u_2) v_1) v_2)

            Bundled additive functors.

            Equations
              Instances For

                the category of additive functors is denoted C ⥤+ D

                Equations
                  Instances For
                    @[reducible, inline]

                    An additive functor is in particular a functor.

                    Equations
                      Instances For

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

                        Equations
                          Instances For
                            @[simp]
                            theorem CategoryTheory.AdditiveFunctor.forget_map {C : Type u_1} {D : Type u_2} [Category.{v_1, u_1} C] [Category.{v_2, u_2} D] [Preadditive C] [Preadditive D] (F G : C ⥤+ D) (α : F G) :
                            (forget C D).map α = α.hom
                            @[reducible, inline]

                            Turn a left exact functor into an additive functor.

                            Equations
                              Instances For
                                @[reducible, inline]

                                Turn a right exact functor into an additive functor.

                                Equations
                                  Instances For
                                    @[reducible, inline]

                                    Turn an exact functor into an additive functor.

                                    Equations
                                      Instances For
                                        @[deprecated CategoryTheory.AdditiveFunctor.ofLeftExact_map_hom (since := "2025-12-18")]

                                        Alias of CategoryTheory.AdditiveFunctor.ofLeftExact_map_hom.

                                        @[deprecated CategoryTheory.AdditiveFunctor.ofRightExact_map_hom (since := "2025-12-18")]

                                        Alias of CategoryTheory.AdditiveFunctor.ofRightExact_map_hom.

                                        @[deprecated CategoryTheory.AdditiveFunctor.ofExact_map_hom (since := "2025-12-18")]

                                        Alias of CategoryTheory.AdditiveFunctor.ofExact_map_hom.