The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V25. Higher structures in categories

Mathlib.CategoryTheory.Linear.LinearFunctor

21 declarations. Mathlib docs · Source

Linear Functors

An additive functor between two R-linear categories is called linear if the induced map on hom types is a morphism of R-modules.

Implementation notes

Functor.Linear 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 R-modules.

theorem CategoryTheory.Functor.objPreimage.congr_simp E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F F_1 : CategoryTheory.Functor C D) (e_F : F = F_1) [inst_2 : F.EssSurj] (Y Y_1 : D),
  Y = Y_1 → F.objPreimage Y = F_1.objPreimage Y_1

class CategoryTheory.Functor.Linear E1 #

(R : Type u_1) →
  [inst : Semiring R] →
    {C : Type u_2} →
      {D : Type u_3} →
        [inst_1 : CategoryTheory.Category.{v_1, u_2} C] →
          [inst_2 : CategoryTheory.Category.{v_2, u_3} D] →
            [inst_3 : CategoryTheory.Preadditive C] →
              [inst_4 : CategoryTheory.Preadditive D] →
                [CategoryTheory.Linear R C] → [CategoryTheory.Linear R D] → CategoryTheory.Functor C D → Prop

An additive functor F is R-linear provided F.map is an R-module morphism.

ctor CategoryTheory.Functor.Linear.mk E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  {F : CategoryTheory.Functor C D},
  autoParam (∀ {X Y : C} (f : X ⟶ Y) (r : R), F.map (r • f) = r • F.map f)
      CategoryTheory.Functor.Linear.map_smul._autoParam →
    CategoryTheory.Functor.Linear R F

theorem CategoryTheory.Functor.Linear.map_smul E0 #

∀ {R : Type u_1} {inst : Semiring R} {C : Type u_2} {D : Type u_3} {inst_1 : CategoryTheory.Category.{v_1, u_2} C}
  {inst_2 : CategoryTheory.Category.{v_2, u_3} D} {inst_3 : CategoryTheory.Preadditive C}
  {inst_4 : CategoryTheory.Preadditive D} {inst_5 : CategoryTheory.Linear R C} {inst_6 : CategoryTheory.Linear R D}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.Functor.Linear R F] {X Y : C} (f : X ⟶ Y) (r : R),
  F.map (r • f) = r • F.map f

the functor induces a linear map on morphisms

theorem CategoryTheory.Functor.linear_iff E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D),
  CategoryTheory.Functor.Linear R F ↔
    ∀ (X : C) (r : R), F.map (r • CategoryTheory.CategoryStruct.id X) = r • CategoryTheory.CategoryStruct.id (F.obj X)

theorem CategoryTheory.Functor.map_smul E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Functor.Linear R F] {X Y : C} (r : R) (f : X ⟶ Y),
  F.map (r • f) = r • F.map f

theorem CategoryTheory.Functor.map_units_smul E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Functor.Linear R F] {X Y : C} (r : Rˣ) (f : X ⟶ Y),
  F.map (r • f) = r • F.map f

instance CategoryTheory.Functor.instLinearId E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  CategoryTheory.Functor.Linear R (CategoryTheory.Functor.id C)

instance CategoryTheory.Functor.instLinearComp E0 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Functor.Linear R F] {E : Type u_4}
  [inst_8 : CategoryTheory.Category.{v_3, u_4} E] [inst_9 : CategoryTheory.Preadditive E]
  [inst_10 : CategoryTheory.Linear R E] (G : CategoryTheory.Functor D E) [CategoryTheory.Functor.Linear R G],
  CategoryTheory.Functor.Linear R (F.comp G)

theorem CategoryTheory.Functor.linear_of_full_essSurj_comp E1 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Functor.Linear R F] {E : Type u_4}
  [inst_8 : CategoryTheory.Category.{v_3, u_4} E] [inst_9 : CategoryTheory.Preadditive E]
  [inst_10 : CategoryTheory.Linear R E] (G : CategoryTheory.Functor D E) [F.Full] [F.EssSurj]
  [CategoryTheory.Functor.Linear R (F.comp G)], CategoryTheory.Functor.Linear R G

theorem CategoryTheory.Functor.linear_comp_iff_of_full_of_essSurj E1 #

∀ {R : Type u_1} [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Functor.Linear R F] {E : Type u_4}
  [inst_8 : CategoryTheory.Category.{v_3, u_4} E] [inst_9 : CategoryTheory.Preadditive E]
  [inst_10 : CategoryTheory.Linear R E] (G : CategoryTheory.Functor D E) [F.Full] [F.EssSurj],
  CategoryTheory.Functor.Linear R (F.comp G) ↔ CategoryTheory.Functor.Linear R G

def CategoryTheory.Functor.mapLinearMap E1 #

(R : Type u_1) →
  [inst : Semiring R] →
    {C : Type u_2} →
      {D : Type u_3} →
        [inst_1 : CategoryTheory.Category.{v_1, u_2} C] →
          [inst_2 : CategoryTheory.Category.{v_2, u_3} D] →
            [inst_3 : CategoryTheory.Preadditive C] →
              [inst_4 : CategoryTheory.Preadditive D] →
                [inst_5 : CategoryTheory.Linear R C] →
                  [inst_6 : CategoryTheory.Linear R D] →
                    (F : CategoryTheory.Functor C D) →
                      [CategoryTheory.Functor.Linear R F] → [F.Additive] → {X Y : C} → (X ⟶ Y) →ₗ[R] F.obj X ⟶ F.obj Y

F.mapLinearMap is an R-linear map whose underlying function is F.map.

theorem CategoryTheory.Functor.mapLinearMap_apply E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [inst_7 : CategoryTheory.Functor.Linear R F] [inst_8 : F.Additive] {X Y : C}
  (a : X ⟶ Y), (CategoryTheory.Functor.mapLinearMap R F) a = (↑F.mapAddHom).toFun a

theorem CategoryTheory.Functor.coe_mapLinearMap E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (F : CategoryTheory.Functor C D) [inst_7 : CategoryTheory.Functor.Linear R F] [inst_8 : F.Additive] {X Y : C},
  ⇑(CategoryTheory.Functor.mapLinearMap R F) = F.map

theorem CategoryTheory.Functor.linear_of_iso E1 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  {F G : CategoryTheory.Functor C D} (e : F ≅ G) [CategoryTheory.Functor.Linear R F], CategoryTheory.Functor.Linear R G

instance CategoryTheory.Functor.inducedFunctorLinear E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_2, u_3} D]
  [inst_2 : CategoryTheory.Preadditive D] [inst_3 : CategoryTheory.Linear R D] (F : C → D),
  CategoryTheory.Functor.Linear R (CategoryTheory.inducedFunctor F)

instance CategoryTheory.Functor.fullSubcategoryInclusionLinear E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_4} [inst_1 : CategoryTheory.Category.{v_3, u_4} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (Z : CategoryTheory.ObjectProperty C),
  CategoryTheory.Functor.Linear R Z.ι

instance CategoryTheory.Functor.natLinear E0 #

∀ {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_3} D] [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D) [F.Additive],
  CategoryTheory.Functor.Linear ℕ F

instance CategoryTheory.Functor.intLinear E0 #

∀ {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_3} D] [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D) [F.Additive],
  CategoryTheory.Functor.Linear ℤ F

instance CategoryTheory.Functor.ratLinear E0 #

∀ {C : Type u_2} {D : Type u_3} [inst : CategoryTheory.Category.{v_1, u_2} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_3} D] [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D) [F.Additive]
  [inst_5 : CategoryTheory.Linear ℚ C] [inst_6 : CategoryTheory.Linear ℚ D], CategoryTheory.Functor.Linear ℚ F

instance CategoryTheory.Equivalence.inverseLinear E0 #

∀ (R : Type u_1) [inst : Semiring R] {C : Type u_2} {D : Type u_3} [inst_1 : CategoryTheory.Category.{v_1, u_2} C]
  [inst_2 : CategoryTheory.Category.{v_2, u_3} D] [inst_3 : CategoryTheory.Preadditive C]
  [inst_4 : CategoryTheory.Preadditive D] [inst_5 : CategoryTheory.Linear R C] [inst_6 : CategoryTheory.Linear R D]
  (e : C ≌ D) [CategoryTheory.Functor.Linear R e.functor], CategoryTheory.Functor.Linear R e.inverse