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.Localization.FiniteProducts

16 declarations. Mathlib docs · Source

The localized category has finite products

In this file, it is shown that if L : C ⥤ D is a localization functor for W : MorphismProperty C and that W is stable under finite products, then D has finite products, and L preserves finite products.

theorem CategoryTheory.Localization.HasProductsOfShapeAux.inverts E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W] (J : Type)
  [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] [W.IsStableUnderProductsOfShape J],
  (W.functorCategory (CategoryTheory.Discrete J)).IsInvertedBy (CategoryTheory.Limits.lim.comp L)

abbrev CategoryTheory.Localization.HasProductsOfShapeAux.limitFunctor E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (W : CategoryTheory.MorphismProperty C) →
            [L.IsLocalization W] →
              (J : Type) →
                [CategoryTheory.Limits.HasProductsOfShape J C] →
                  [W.IsStableUnderProductsOfShape J] →
                    [W.ContainsIdentities] →
                      [Finite J] → CategoryTheory.Functor (CategoryTheory.Functor (CategoryTheory.Discrete J) D) D

The (candidate) limit functor for the localized category. It is induced by lim ⋙ L : (Discrete J ⥤ C) ⥤ D.

def CategoryTheory.Localization.HasProductsOfShapeAux.compLimitFunctorIso E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (W : CategoryTheory.MorphismProperty C) →
            [inst_2 : L.IsLocalization W] →
              (J : Type) →
                [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] →
                  [inst_4 : W.IsStableUnderProductsOfShape J] →
                    [inst_5 : W.ContainsIdentities] →
                      [inst_6 : Finite J] →
                        ((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Discrete J) C D).obj L).comp
                            (CategoryTheory.Localization.HasProductsOfShapeAux.limitFunctor L W J) ≅
                          CategoryTheory.Limits.lim.comp L

The functor limitFunctor L W J is induced by lim ⋙ L.

instance CategoryTheory.Localization.HasProductsOfShapeAux.instCatCommSqFunctorDiscreteConstObjWhiskeringRight E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (J : Type) →
            CategoryTheory.CatCommSq (CategoryTheory.Functor.const (CategoryTheory.Discrete J)) L
              ((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Discrete J) C D).obj L)
              (CategoryTheory.Functor.const (CategoryTheory.Discrete J))

instance CategoryTheory.Localization.HasProductsOfShapeAux.instCatCommSqFunctorDiscreteLimObjWhiskeringRightLimitFunctor E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (W : CategoryTheory.MorphismProperty C) →
            [inst_2 : L.IsLocalization W] →
              (J : Type) →
                [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] →
                  [inst_4 : W.IsStableUnderProductsOfShape J] →
                    [inst_5 : W.ContainsIdentities] →
                      [inst_6 : Finite J] →
                        CategoryTheory.CatCommSq CategoryTheory.Limits.lim
                          ((CategoryTheory.Functor.whiskeringRight (CategoryTheory.Discrete J) C D).obj L) L
                          (CategoryTheory.Localization.HasProductsOfShapeAux.limitFunctor L W J)

def CategoryTheory.Localization.HasProductsOfShapeAux.adj E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (W : CategoryTheory.MorphismProperty C) →
            [inst_2 : L.IsLocalization W] →
              (J : Type) →
                [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] →
                  [inst_4 : W.IsStableUnderProductsOfShape J] →
                    [inst_5 : W.ContainsIdentities] →
                      [inst_6 : Finite J] →
                        CategoryTheory.Functor.const (CategoryTheory.Discrete J) ⊣
                          CategoryTheory.Localization.HasProductsOfShapeAux.limitFunctor L W J

The adjunction between the constant functor D ⥤ (Discrete J ⥤ D) and limitFunctor L W J.

theorem CategoryTheory.Localization.HasProductsOfShapeAux.adj_counit_app E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [inst_2 : L.IsLocalization W] (J : Type)
  [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] [inst_4 : W.IsStableUnderProductsOfShape J]
  [inst_5 : W.ContainsIdentities] [inst_6 : Finite J] (F : CategoryTheory.Functor (CategoryTheory.Discrete J) C),
  (CategoryTheory.Localization.HasProductsOfShapeAux.adj L W J).counit.app (F.comp L) =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Functor.const (CategoryTheory.Discrete J)).map
        ((CategoryTheory.Localization.HasProductsOfShapeAux.compLimitFunctorIso L W J).hom.app F))
      (CategoryTheory.CategoryStruct.comp
        ((CategoryTheory.Functor.compConstIso (CategoryTheory.Discrete J) L).hom.app (CategoryTheory.Limits.lim.obj F))
        (CategoryTheory.Functor.whiskerRight (CategoryTheory.Limits.constLimAdj.counit.app F) L))

def CategoryTheory.Localization.HasProductsOfShapeAux.isLimitMapCone E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (L : CategoryTheory.Functor C D) →
          (W : CategoryTheory.MorphismProperty C) →
            [L.IsLocalization W] →
              (J : Type) →
                [inst_3 : CategoryTheory.Limits.HasProductsOfShape J C] →
                  [W.IsStableUnderProductsOfShape J] →
                    [W.ContainsIdentities] →
                      [Finite J] →
                        (F : CategoryTheory.Functor (CategoryTheory.Discrete J) C) →
                          CategoryTheory.Limits.IsLimit (L.mapCone (CategoryTheory.Limits.limit.cone F))

Auxiliary definition for Localization.preservesProductsOfShape.

theorem CategoryTheory.Localization.hasProductsOfShape E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W] [W.ContainsIdentities]
  (J : Type) [Finite J] [CategoryTheory.Limits.HasProductsOfShape J C] [W.IsStableUnderProductsOfShape J],
  CategoryTheory.Limits.HasProductsOfShape J D

theorem CategoryTheory.Localization.preservesProductsOfShape E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W] [W.ContainsIdentities]
  (J : Type) [Finite J] [CategoryTheory.Limits.HasProductsOfShape J C] [W.IsStableUnderProductsOfShape J],
  CategoryTheory.Limits.PreservesLimitsOfShape (CategoryTheory.Discrete J) L

When C has finite products indexed by J, W : MorphismProperty C contains identities and is stable under products indexed by J, then any localization functor for W preserves finite products indexed by J.

theorem CategoryTheory.Localization.hasFiniteProducts E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W] [W.ContainsIdentities]
  [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts], CategoryTheory.Limits.HasFiniteProducts D

theorem CategoryTheory.Localization.preservesFiniteProducts E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor C D) (W : CategoryTheory.MorphismProperty C) [L.IsLocalization W] [W.ContainsIdentities]
  [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts],
  CategoryTheory.Limits.PreservesFiniteProducts L

When C has finite products and W : MorphismProperty C contains identities and is stable under finite products, then any localization functor for W preserves finite products.

instance CategoryTheory.Localization.instHasFiniteProductsLocalization E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (W : CategoryTheory.MorphismProperty C)
  [W.ContainsIdentities] [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts],
  CategoryTheory.Limits.HasFiniteProducts W.Localization

instance CategoryTheory.Localization.instPreservesFiniteProductsLocalizationQ E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (W : CategoryTheory.MorphismProperty C)
  [W.ContainsIdentities] [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts],
  CategoryTheory.Limits.PreservesFiniteProducts W.Q

instance CategoryTheory.Localization.instHasFiniteProductsLocalization' E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (W : CategoryTheory.MorphismProperty C)
  [W.ContainsIdentities] [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts]
  [inst_4 : W.HasLocalization], CategoryTheory.Limits.HasFiniteProducts W.Localization'

instance CategoryTheory.Localization.instPreservesFiniteProductsLocalization'Q' E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (W : CategoryTheory.MorphismProperty C)
  [W.ContainsIdentities] [CategoryTheory.Limits.HasFiniteProducts C] [W.IsStableUnderFiniteProducts]
  [inst_4 : W.HasLocalization], CategoryTheory.Limits.PreservesFiniteProducts W.Q'