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 / V24. Category theory

Mathlib.CategoryTheory.Monoidal.Internal.Limits

19 declarations. Mathlib docs · Source

def CategoryTheory.Mon.limit E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) →
              CategoryTheory.Limits.IsLimit c → CategoryTheory.Mon C

We construct the limit object of a functor F : J ⥤ Mon C given a limit cone c of F ⋙ forget C.

theorem CategoryTheory.Mon.limit_mon_mul E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.MonObj.mul =
    hc.lift
      { pt := CategoryTheory.MonoidalCategoryStruct.tensorObj c.1 c.1,
        π :=
          {
            app := fun X ↦
              CategoryTheory.CategoryStruct.comp
                (CategoryTheory.MonoidalCategoryStruct.tensorHom (c.π.app X) (c.π.app X)) CategoryTheory.MonObj.mul,
            naturality := ⋯ } }

theorem CategoryTheory.Mon.limit_X E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Mon.limit F c hc).X = c.pt

theorem CategoryTheory.Mon.limit_mon_one E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  CategoryTheory.MonObj.one =
    hc.lift
      { pt := CategoryTheory.MonoidalCategoryStruct.tensorUnit C,
        π := { app := fun X ↦ CategoryTheory.MonObj.one, naturality := ⋯ } }

def CategoryTheory.Mon.limitCone E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) →
              CategoryTheory.Limits.IsLimit c → CategoryTheory.Limits.Cone F

Implementation of Mon.hasLimits: a limiting cone over a functor F : J ⥤ Mon C.

theorem CategoryTheory.Mon.limitCone_π_app_hom E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c)
  (j : J), ((CategoryTheory.Mon.limitCone F c hc).π.app j).hom = c.π.app j

theorem CategoryTheory.Mon.limitCone_pt E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Mon.limitCone F c hc).pt = CategoryTheory.Mon.limit F c hc

def CategoryTheory.Mon.forgetMapConeLimitConeIso E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) →
              (hc : CategoryTheory.Limits.IsLimit c) →
                (CategoryTheory.Mon.forget C).mapCone (CategoryTheory.Mon.limitCone F c hc) ≅ c

The image of the proposed limit cone for F : J ⥤ Mon C under the forgetful functor forget C : Mon C ⥤ C is isomorphic to the limit cone of F ⋙ forget C.

theorem CategoryTheory.Mon.forgetMapConeLimitConeIso_inv_hom E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Mon.forgetMapConeLimitConeIso F c hc).inv.hom = CategoryTheory.CategoryStruct.id c.pt

theorem CategoryTheory.Mon.forgetMapConeLimitConeIso_hom_hom E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Mon.forgetMapConeLimitConeIso F c hc).hom.hom = CategoryTheory.CategoryStruct.id c.pt

def CategoryTheory.Mon.limitConeIsLimit E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) →
              (hc : CategoryTheory.Limits.IsLimit c) →
                CategoryTheory.Limits.IsLimit (CategoryTheory.Mon.limitCone F c hc)

Implementation of Mon.hasLimitsOfShape: the proposed cone over a functor F : J ⥤ Mon C is a limit cone.

theorem CategoryTheory.Mon.limitConeIsLimit_lift_hom E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] (F : CategoryTheory.Functor J (CategoryTheory.Mon C))
  (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) (hc : CategoryTheory.Limits.IsLimit c)
  (s : CategoryTheory.Limits.Cone F),
  ((CategoryTheory.Mon.limitConeIsLimit F c hc).lift s).hom = hc.lift ((CategoryTheory.Mon.forget C).mapCone s)

def CategoryTheory.Mon.limitConeLiftsToLimit E1 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            (c : CategoryTheory.Limits.Cone (F.comp (CategoryTheory.Mon.forget C))) →
              (hc : CategoryTheory.Limits.IsLimit c) → CategoryTheory.LiftsToLimit F (CategoryTheory.Mon.forget C) c hc

A helper definition to show that the forgetful functor forget C : Mon C ⥤ C creates limits: given a limit cone c of F ⋙ forget C, we can lift it to a limit cone of F.

instance CategoryTheory.Mon.instCreatesLimitForget E0 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          (F : CategoryTheory.Functor J (CategoryTheory.Mon C)) →
            CategoryTheory.CreatesLimit F (CategoryTheory.Mon.forget C)

instance CategoryTheory.Mon.instCreatesLimitsOfShapeForget E0 #

{J : Type w} →
  [inst : CategoryTheory.Category.{v_1, w} J] →
    {C : Type u} →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.MonoidalCategory C] →
          CategoryTheory.CreatesLimitsOfShape J (CategoryTheory.Mon.forget C)

instance CategoryTheory.Mon.instCreatesLimitsOfSizeForget E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] →
      CategoryTheory.CreatesLimitsOfSize.{w, u_1, v, v, max u v, u} (CategoryTheory.Mon.forget C)

instance CategoryTheory.Mon.instCreatesLimitsForget E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.MonoidalCategory C] → CategoryTheory.CreatesLimits (CategoryTheory.Mon.forget C)

instance CategoryTheory.Mon.instHasLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] [CategoryTheory.Limits.HasLimitsOfShape J C],
  CategoryTheory.Limits.HasLimitsOfShape J (CategoryTheory.Mon C)

instance CategoryTheory.Mon.instPreservesLimitsOfShapeForgetOfHasLimitsOfShape E0 #

∀ {J : Type w} [inst : CategoryTheory.Category.{v_1, w} J] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.MonoidalCategory C] [CategoryTheory.Limits.HasLimitsOfShape J C],
  CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.Mon.forget C)