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.Limits.Weighted.HasWeightedLimit

69 declarations. Mathlib docs · Source

theorem CategoryTheory.Limits.WeightedCone.IsLimit.lift.congr_simp E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc hc_1 : c.IsLimit),
  hc = hc_1 →
    ∀ {Z : C} (π π_1 : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j)) (e_π : π = π_1)
      (hπ :
        ∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
          CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)),
      hc.lift π hπ = hc_1.lift π_1 ⋯

abbrev CategoryTheory.Limits.WeightedCone E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        CategoryTheory.Functor J (Type w) → CategoryTheory.Functor J C → Type (max (max (max u w) u') v')

Given W : J ⥤ Type w and F : J ⥤ C, this is the type of cones for the functor CategoryOfElements.π W ⋙ F : W.Elements ⥤ C.

abbrev CategoryTheory.Limits.HasWeightedLimit E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        CategoryTheory.Functor J (Type w) → CategoryTheory.Functor J C → Prop

Given a weight W : J ⥤ Type w and F : J ⥤ C, we say that the W-weighted limit of F exists if the functor CategoryOfElements.π W ⋙ F : W.Elements ⥤ C has a limit.

abbrev CategoryTheory.Limits.WeightedCone.π E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} →
            (c : CategoryTheory.Limits.WeightedCone W F) → {j : J} → W.obj j → (c.pt ⟶ F.obj j)

The projection c.pt ⟶ F.obj j for c : WeightedCone W F and x : W.obj j.

theorem CategoryTheory.Limits.WeightedCone.w E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.WeightedCone W F)
  {i j : J} (x : W.obj i) (f : i ⟶ j),
  CategoryTheory.CategoryStruct.comp (c.π x) (F.map f) = c.π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)

theorem CategoryTheory.Limits.WeightedCone.w_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.WeightedCone W F)
  {i j : J} (x : W.obj i) (f : i ⟶ j) {Z : C} (h : F.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (c.π x) (CategoryTheory.CategoryStruct.comp (F.map f) h) =
    CategoryTheory.CategoryStruct.comp (c.π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)) h

def CategoryTheory.Limits.WeightedCone.mk E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} →
            (pt : C) →
              (π : ⦃j : J⦄ → W.obj j → (pt ⟶ F.obj j)) →
                autoParam
                    (∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
                      CategoryTheory.CategoryStruct.comp (π x) (F.map f) =
                        π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
                    CategoryTheory.Limits.WeightedCone.mk._auto_1 →
                  CategoryTheory.Limits.WeightedCone W F

Constructor for weighted cones.

theorem CategoryTheory.Limits.WeightedCone.mk_pt E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} (pt : C)
  (π : ⦃j : J⦄ → W.obj j → (pt ⟶ F.obj j))
  (hπ :
    autoParam
      (∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
        CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
      CategoryTheory.Limits.WeightedCone.mk._auto_1),
  (CategoryTheory.Limits.WeightedCone.mk pt π hπ).pt = pt

theorem CategoryTheory.Limits.WeightedCone.mk_π E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} (pt : C)
  (π : ⦃j : J⦄ → W.obj j → (pt ⟶ F.obj j))
  (hπ :
    autoParam
      (∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
        CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
      CategoryTheory.Limits.WeightedCone.mk_π._auto_1)
  {j : J} (x : W.obj j), (CategoryTheory.Limits.WeightedCone.mk pt π hπ).π x = π x

abbrev CategoryTheory.Limits.WeightedCone.IsLimit E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} → CategoryTheory.Limits.WeightedCone W F → Type (max (max (max u w) u') v')

A weighted cone c : WeightedCone W F is a limit if it is so as a cone of CategoryOfElements.π W ⋙ F : W.Elements ⥤ C.

theorem CategoryTheory.Limits.WeightedCone.IsLimit.hasWeightedLimit E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit), CategoryTheory.Limits.HasWeightedLimit W F

def CategoryTheory.Limits.WeightedCone.IsLimit.lift E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} →
            {c : CategoryTheory.Limits.WeightedCone W F} →
              c.IsLimit →
                {Z : C} →
                  (π : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j)) →
                    (∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
                        CategoryTheory.CategoryStruct.comp (π x) (F.map f) =
                          π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)) →
                      (Z ⟶ c.pt)

Constructor for morphisms from the point of a limit weighted cone.

theorem CategoryTheory.Limits.WeightedCone.IsLimit.fac E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) {Z : C} (π : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j))
  (hπ :
    ∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
      CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
  {j : J} (x : W.obj j), CategoryTheory.CategoryStruct.comp (hc.lift π hπ) (c.π x) = π x

theorem CategoryTheory.Limits.WeightedCone.IsLimit.fac_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) {Z : C} (π : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j))
  (hπ :
    ∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
      CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
  {j : J} (x : W.obj j) {Z_1 : C} (h : F.obj j ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (hc.lift π hπ) (CategoryTheory.CategoryStruct.comp (c.π x) h) =
    CategoryTheory.CategoryStruct.comp (π x) h

theorem CategoryTheory.Limits.WeightedCone.IsLimit.hom_ext E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) {Z : C} {f g : Z ⟶ c.pt},
  (∀ {j : J} (x : W.obj j),
      CategoryTheory.CategoryStruct.comp f (c.π x) = CategoryTheory.CategoryStruct.comp g (c.π x)) →
    f = g

def CategoryTheory.Limits.WeightedCone.IsLimit.mk E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} →
            {c : CategoryTheory.Limits.WeightedCone W F} →
              (lift : (s : CategoryTheory.Limits.WeightedCone W F) → s.pt ⟶ c.pt) →
                (∀ (s : CategoryTheory.Limits.WeightedCone W F) ⦃j : J⦄ (x : W.obj j),
                    CategoryTheory.CategoryStruct.comp (lift s) (c.π x) = s.π x) →
                  (∀ (s : CategoryTheory.Limits.WeightedCone W F) (m : s.pt ⟶ c.pt),
                      (∀ ⦃j : J⦄ (x : W.obj j), CategoryTheory.CategoryStruct.comp m (c.π x) = s.π x) → m = lift s) →
                    CategoryTheory.Limits.IsLimit c

Helper definition in order to show that a weighted cone is a limit.

abbrev CategoryTheory.Limits.WeightedCone.coyoneda E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) →
          (j : J) → CategoryTheory.Limits.WeightedCone (CategoryTheory.coyoneda.obj (Opposite.op j)) F

If the weight is coyoneda.obj (op j) : J ⥤ Type _, this is the limit weighted cone for F : J ⥤ C with point F.obj j.

def CategoryTheory.Limits.WeightedCone.isLimitCoyoneda E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) → (j : J) → (CategoryTheory.Limits.WeightedCone.coyoneda F j).IsLimit

The weighted limit of F for the weight coyoneda.obj (op j) is F.obj j.

def CategoryTheory.Functor.weightedLimObjObj E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (W : CategoryTheory.Functor J (Type w)) →
          (F : CategoryTheory.Functor J C) → [CategoryTheory.Limits.HasWeightedLimit W F] → C

Given a weight W : J ⥤ Type w and F : J ⥤ C, this is the W-weighted limit of F.

def CategoryTheory.Functor.weightedLimObjObjπ E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (W : CategoryTheory.Functor J (Type w)) →
          (F : CategoryTheory.Functor J C) →
            [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] →
              ⦃j : J⦄ → W.obj j → (W.weightedLimObjObj F ⟶ F.obj j)

The projections from the weighted limit.

theorem CategoryTheory.Functor.weightedLimObjObj_w_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂) {Z : C}
  (h : F.obj j₂ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) (CategoryTheory.CategoryStruct.comp (F.map f) h) =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)) h

theorem CategoryTheory.Functor.weightedLimObjObj_w E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
  CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) (F.map f) =
    W.weightedLimObjObjπ F ((CategoryTheory.ConcreteCategory.hom (W.map f)) x)

abbrev CategoryTheory.Functor.weightedLimCone E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (W : CategoryTheory.Functor J (Type w)) →
          (F : CategoryTheory.Functor J C) →
            [CategoryTheory.Limits.HasWeightedLimit W F] → CategoryTheory.Limits.WeightedCone W F

A choice of limit weighted cone.

def CategoryTheory.Functor.isLimitWeightedLimCone E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (W : CategoryTheory.Functor J (Type w)) →
          (F : CategoryTheory.Functor J C) →
            [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] → (W.weightedLimCone F).IsLimit

The weighted cone W.weightedLimCone F is a limit.

theorem CategoryTheory.Functor.isLimitWeightedLimCone_fac E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {Z : C} (π : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j))
  (hπ :
    ∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
      CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
  ⦃j : J⦄ (x : W.obj j),
  CategoryTheory.CategoryStruct.comp ((W.isLimitWeightedLimCone F).lift π hπ) (W.weightedLimObjObjπ F x) = π x

theorem CategoryTheory.Functor.isLimitWeightedLimCone_fac_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {Z : C} (π : ⦃j : J⦄ → W.obj j → (Z ⟶ F.obj j))
  (hπ :
    ∀ ⦃j₁ j₂ : J⦄ (x : W.obj j₁) (f : j₁ ⟶ j₂),
      CategoryTheory.CategoryStruct.comp (π x) (F.map f) = π ((CategoryTheory.ConcreteCategory.hom (W.map f)) x))
  ⦃j : J⦄ (x : W.obj j) {Z_1 : C} (h : F.obj j ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp ((W.isLimitWeightedLimCone F).lift π hπ)
      (CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) h) =
    CategoryTheory.CategoryStruct.comp (π x) h

theorem CategoryTheory.Functor.weightedLimObjObj.hom_ext_iff E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {Z : C} {f g : Z ⟶ W.weightedLimObjObj F},
  f = g ↔
    ∀ {j : J} (x : W.obj j),
      CategoryTheory.CategoryStruct.comp f (W.weightedLimObjObjπ F x) =
        CategoryTheory.CategoryStruct.comp g (W.weightedLimObjObjπ F x)

theorem CategoryTheory.Functor.weightedLimObjObj.hom_ext E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {Z : C} {f g : Z ⟶ W.weightedLimObjObj F},
  (∀ {j : J} (x : W.obj j),
      CategoryTheory.CategoryStruct.comp f (W.weightedLimObjObjπ F x) =
        CategoryTheory.CategoryStruct.comp g (W.weightedLimObjObjπ F x)) →
    f = g

def CategoryTheory.Functor.weightedLimObjMap E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (W : CategoryTheory.Functor J (Type w)) →
          {F₁ F₂ : CategoryTheory.Functor J C} →
            [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F₁] →
              [inst_3 : CategoryTheory.Limits.HasWeightedLimit W F₂] →
                (F₁ ⟶ F₂) → (W.weightedLimObjObj F₁ ⟶ W.weightedLimObjObj F₂)

Functoriality of the weighted limits with fixed weight W : J ⥤ Type w with respect to the functor in J ⥤ C.

theorem CategoryTheory.Functor.weightedLimObjMap_π_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) {F₁ F₂ : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F₁] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W F₂]
  (f : F₁ ⟶ F₂) ⦃j : J⦄ (x : W.obj j) {Z : C} (h : F₂.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap f)
      (CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F₂ x) h) =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F₁ x) (CategoryTheory.CategoryStruct.comp (f.app j) h)

theorem CategoryTheory.Functor.weightedLimObjMap_π E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) {F₁ F₂ : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F₁] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W F₂]
  (f : F₁ ⟶ F₂) ⦃j : J⦄ (x : W.obj j),
  CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap f) (W.weightedLimObjObjπ F₂ x) =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F₁ x) (f.app j)

theorem CategoryTheory.Functor.weightedLimObjMap_id E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F],
  W.weightedLimObjMap (CategoryTheory.CategoryStruct.id F) = CategoryTheory.CategoryStruct.id (W.weightedLimObjObj F)

theorem CategoryTheory.Functor.weightedLimObjMap_comp E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) {F₁ F₂ F₃ : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F₁] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W F₂]
  [inst_4 : CategoryTheory.Limits.HasWeightedLimit W F₃] (f : F₁ ⟶ F₂) (g : F₂ ⟶ F₃),
  W.weightedLimObjMap (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap f) (W.weightedLimObjMap g)

theorem CategoryTheory.Functor.weightedLimObjMap_comp_assoc E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (W : CategoryTheory.Functor J (Type w)) {F₁ F₂ F₃ : CategoryTheory.Functor J C}
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F₁] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W F₂]
  [inst_4 : CategoryTheory.Limits.HasWeightedLimit W F₃] (f : F₁ ⟶ F₂) (g : F₂ ⟶ F₃) {Z : C}
  (h : W.weightedLimObjObj F₃ ⟶ Z),
  CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap (CategoryTheory.CategoryStruct.comp f g)) h =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap f)
      (CategoryTheory.CategoryStruct.comp (W.weightedLimObjMap g) h)

def CategoryTheory.Functor.weightedLimFlipObjMap E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W W' : CategoryTheory.Functor J (Type w)} →
          (W ⟶ W') →
            (F : CategoryTheory.Functor J C) →
              [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] →
                [inst_3 : CategoryTheory.Limits.HasWeightedLimit W' F] → W'.weightedLimObjObj F ⟶ W.weightedLimObjObj F

The (contravariant) functoriality of weighted limits with respect to the weight.

theorem CategoryTheory.Functor.weightedLimObjObjMap_π_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W W' : CategoryTheory.Functor J (Type w)} (g : W ⟶ W') (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W' F] ⦃j : J⦄
  (x : W.obj j) {Z : C} (h : F.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.weightedLimFlipObjMap g F)
      (CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) h) =
    CategoryTheory.CategoryStruct.comp (W'.weightedLimObjObjπ F ((CategoryTheory.ConcreteCategory.hom (g.app j)) x)) h

theorem CategoryTheory.Functor.weightedLimObjObjMap_π E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W W' : CategoryTheory.Functor J (Type w)} (g : W ⟶ W') (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W' F] ⦃j : J⦄
  (x : W.obj j),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.weightedLimFlipObjMap g F) (W.weightedLimObjObjπ F x) =
    W'.weightedLimObjObjπ F ((CategoryTheory.ConcreteCategory.hom (g.app j)) x)

theorem CategoryTheory.Functor.weightedLimFlipObjMap_id E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F],
  CategoryTheory.Functor.weightedLimFlipObjMap (CategoryTheory.CategoryStruct.id W) F =
    CategoryTheory.CategoryStruct.id (W.weightedLimObjObj F)

theorem CategoryTheory.Functor.weightedLimFlipObjMap_comp E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W W' W'' : CategoryTheory.Functor J (Type w)} (g : W ⟶ W') (g' : W' ⟶ W'') (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W' F]
  [inst_4 : CategoryTheory.Limits.HasWeightedLimit W'' F],
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.weightedLimFlipObjMap g' F)
      (CategoryTheory.Functor.weightedLimFlipObjMap g F) =
    CategoryTheory.Functor.weightedLimFlipObjMap (CategoryTheory.CategoryStruct.comp g g') F

theorem CategoryTheory.Functor.weightedLimFlipObjMap_comp_assoc E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W W' W'' : CategoryTheory.Functor J (Type w)} (g : W ⟶ W') (g' : W' ⟶ W'') (F : CategoryTheory.Functor J C)
  [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] [inst_3 : CategoryTheory.Limits.HasWeightedLimit W' F]
  [inst_4 : CategoryTheory.Limits.HasWeightedLimit W'' F] {Z : C} (h : W.weightedLimObjObj F ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.weightedLimFlipObjMap g' F)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.weightedLimFlipObjMap g F) h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Functor.weightedLimFlipObjMap (CategoryTheory.CategoryStruct.comp g g') F) h

abbrev CategoryTheory.Functor.HasWeightedLimObj E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    CategoryTheory.Functor J (Type w) → (C : Type u') → [CategoryTheory.Category.{v', u'} C] → Prop

Given a weight W : J ⥤ Type w, this is the property that all W-weighted limits exist for functors F : J ⥤ C. Under this condition, we define a weighted limit functor W.weightedLimObj : (J ⥤ C) ⥤ C. (See also HasWeightedLimFlipObj for the "flipped" property for F : J ⥤ C.)

def CategoryTheory.Functor.weightedLimObj E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    (W : CategoryTheory.Functor J (Type w)) →
      {C : Type u'} →
        [inst_1 : CategoryTheory.Category.{v', u'} C] →
          [W.HasWeightedLimObj C] → CategoryTheory.Functor (CategoryTheory.Functor J C) C

Weighted limits for a fixed weight W : J ⥤p Type w, as a functor (J ⥤ C) ⥤ C.

theorem CategoryTheory.Functor.weightedLimObj_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (W : CategoryTheory.Functor J (Type w)) {C : Type u'}
  [inst_1 : CategoryTheory.Category.{v', u'} C] [inst_2 : W.HasWeightedLimObj C] (F : CategoryTheory.Functor J C),
  W.weightedLimObj.obj F = W.weightedLimObjObj F

theorem CategoryTheory.Functor.weightedLimObj_map E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] (W : CategoryTheory.Functor J (Type w)) {C : Type u'}
  [inst_1 : CategoryTheory.Category.{v', u'} C] [inst_2 : W.HasWeightedLimObj C] {X Y : CategoryTheory.Functor J C}
  (f : X ⟶ Y), W.weightedLimObj.map f = W.weightedLimObjMap f

instance CategoryTheory.Functor.instHasWeightedLimObjObjOppositeTypeCoyoneda E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (j : Jᵒᵖ), (CategoryTheory.coyoneda.obj j).HasWeightedLimObj C

abbrev CategoryTheory.Functor.hasWeightedLimit E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        CategoryTheory.Functor J C → CategoryTheory.ObjectProperty (CategoryTheory.Functor J (Type w))

Given a functor F : J ⥤ C, this is the property satisfied by weights W : J ⥤ Type w such that the W-weighted limit of F exists.

instance CategoryTheory.Functor.instHasWeightedLimitObjTypeHasWeightedLimit E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) (W : F.hasWeightedLimit.FullSubcategory),
  CategoryTheory.Limits.HasWeightedLimit W.obj F

def CategoryTheory.Functor.weightedLimFlipObj' E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) → CategoryTheory.Functor F.hasWeightedLimit.FullSubcategoryᵒᵖ C

Given a functor F : J ⥤ C, this is the functor which sends a weight W : J ⥤ Type w to the W-weighted limit of F. This is defined on the full subcategory of J ⥤ Type w where this weighted limit exists.

theorem CategoryTheory.Functor.weightedLimFlipObj'_map E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) {X Y : F.hasWeightedLimit.FullSubcategoryᵒᵖ} (g : X ⟶ Y),
  F.weightedLimFlipObj'.map g = CategoryTheory.Functor.weightedLimFlipObjMap g.unop.hom F

theorem CategoryTheory.Functor.weightedLimFlipObj'_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) (W : F.hasWeightedLimit.FullSubcategoryᵒᵖ),
  F.weightedLimFlipObj'.obj W = (Opposite.unop W).obj.weightedLimObjObj F

abbrev CategoryTheory.Functor.HasWeightedLimFlipObj E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} → [inst_1 : CategoryTheory.Category.{v', u'} C] → CategoryTheory.Functor J C → Prop

Given F : J ⥤ C, this is the property that weighted limits of F exist for all weights W : J ⥤ Type w. Under this condition, we define a weighted limit functor F.weightedLimFlipObj : (J ⥤ Type w)ᵒᵖ ⥤ C. (See also HasWeightedLimObj for the "flipped" property for W : J ⥤ Type w.)

theorem CategoryTheory.Functor.hasWeightedLimit_eq_top E1 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) [F.HasWeightedLimFlipObj], F.hasWeightedLimit = ⊤

def CategoryTheory.Functor.weightedLimFlipObj E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) →
          [F.HasWeightedLimFlipObj] → CategoryTheory.Functor (CategoryTheory.Functor J (Type w))ᵒᵖ C

Given a functor F : J ⥤ C, this is the functor (J ⥤ Type w)ᵒᵖ ⥤ C which sends a weight W : J ⥤ Type w to the W-weighted limit of F. Here, we assume that all such weighted limits exist.

theorem CategoryTheory.Functor.weightedLimFlipObj_map E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) [inst_2 : F.HasWeightedLimFlipObj] {X Y : (CategoryTheory.Functor J (Type w))ᵒᵖ}
  (g : X ⟶ Y), F.weightedLimFlipObj.map g = CategoryTheory.Functor.weightedLimFlipObjMap g.unop F

theorem CategoryTheory.Functor.weightedLimFlipObj_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) [inst_2 : F.HasWeightedLimFlipObj] (W : (CategoryTheory.Functor J (Type w))ᵒᵖ),
  F.weightedLimFlipObj.obj W = (Opposite.unop W).weightedLimObjObj F

def CategoryTheory.Functor.weightedLimFlipObjIso' E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) →
          [inst_2 : F.HasWeightedLimFlipObj] → F.hasWeightedLimit.ι.op.comp F.weightedLimFlipObj ≅ F.weightedLimFlipObj'

When HasWeightedLimFlipObj.{w} F holds, the composition of the equivalence F.hasWeightedLimit.ι.op with weightedLimFlipObj.{w} F identifies to weightedLimFlipObj'.{w} F.

instance CategoryTheory.Functor.instIsEquivalenceFullSubcategoryTypeHasWeightedLimitι E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (F : CategoryTheory.Functor J C) [F.HasWeightedLimFlipObj], F.hasWeightedLimit.ι.IsEquivalence

def CategoryTheory.Functor.weightedLimFlipObjIso E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (F : CategoryTheory.Functor J C) →
          [inst_2 : F.HasWeightedLimFlipObj] →
            F.hasWeightedLimit.ι.inv.op.comp F.weightedLimFlipObj' ≅ F.weightedLimFlipObj

When HasWeightedLimFlipObj.{w} F holds, the composition of the inverse of the equivalence F.hasWeightedLimit.ι.op with weightedLimFlipObj'.{w} F identifies to weightedLimFlipObj.{w} F.

def CategoryTheory.Limits.weightedLim E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        [∀ (W : CategoryTheory.Functor J (Type w)), W.HasWeightedLimObj C] →
          CategoryTheory.Functor (CategoryTheory.Functor J (Type w))ᵒᵖ
            (CategoryTheory.Functor (CategoryTheory.Functor J C) C)

When all weighted limits exists, this is the weighted limit bifunctor (J ⥤ Type w)ᵒᵖ ⥤ (J ⥤ C) ⥤ C.

theorem CategoryTheory.Limits.weightedLim_map_app E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  [inst_2 : ∀ (W : CategoryTheory.Functor J (Type w)), W.HasWeightedLimObj C]
  {X Y : (CategoryTheory.Functor J (Type w))ᵒᵖ} (g : X ⟶ Y) (F : CategoryTheory.Functor J C),
  (CategoryTheory.Limits.weightedLim.map g).app F = CategoryTheory.Functor.weightedLimFlipObjMap g.unop F

theorem CategoryTheory.Limits.weightedLim_obj E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  [inst_2 : ∀ (W : CategoryTheory.Functor J (Type w)), W.HasWeightedLimObj C]
  (W : (CategoryTheory.Functor J (Type w))ᵒᵖ),
  CategoryTheory.Limits.weightedLim.obj W = (Opposite.unop W).weightedLimObj

def CategoryTheory.Limits.WeightedCone.IsLimit.iso E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        {W : CategoryTheory.Functor J (Type w)} →
          {F : CategoryTheory.Functor J C} →
            {c : CategoryTheory.Limits.WeightedCone W F} →
              c.IsLimit → [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] → W.weightedLimObjObj F ≅ c.pt

The isomorphism weightedLimObjObj W F ≅ c.pt when c : WeightedCone W F is a limit.

theorem CategoryTheory.Limits.WeightedCone.IsLimit.iso_hom_π_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {j : J} (x : W.obj j) {Z : C}
  (h : F.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp hc.iso.hom (CategoryTheory.CategoryStruct.comp (c.π x) h) =
    CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) h

theorem CategoryTheory.Limits.WeightedCone.IsLimit.iso_hom_π E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {j : J} (x : W.obj j),
  CategoryTheory.CategoryStruct.comp hc.iso.hom (c.π x) = W.weightedLimObjObjπ F x

theorem CategoryTheory.Limits.WeightedCone.IsLimit.iso_inv_π_assoc E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {j : J} (x : W.obj j) {Z : C}
  (h : F.obj j ⟶ Z),
  CategoryTheory.CategoryStruct.comp hc.iso.inv (CategoryTheory.CategoryStruct.comp (W.weightedLimObjObjπ F x) h) =
    CategoryTheory.CategoryStruct.comp (c.π x) h

theorem CategoryTheory.Limits.WeightedCone.IsLimit.iso_inv_π E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  {W : CategoryTheory.Functor J (Type w)} {F : CategoryTheory.Functor J C} {c : CategoryTheory.Limits.WeightedCone W F}
  (hc : c.IsLimit) [inst_2 : CategoryTheory.Limits.HasWeightedLimit W F] {j : J} (x : W.obj j),
  CategoryTheory.CategoryStruct.comp hc.iso.inv (W.weightedLimObjObjπ F x) = c.π x

def CategoryTheory.Limits.weightedLimObjCoyonedaObjIso E1 #

{J : Type u} →
  [inst : CategoryTheory.Category.{v, u} J] →
    {C : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} C] →
        (j : J) → (CategoryTheory.coyoneda.obj (Opposite.op j)).weightedLimObj ≅ (CategoryTheory.evaluation J C).obj j

Let j : J, the weighted limit functor with weight coyoneda.obj (op j) : J ⥤ Type _ identifies to the evaluation functor (J ⥤ C) ⥤ C at j.

theorem CategoryTheory.Limits.weightedLimObjCoyonedaObjIso_hom_app E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (j : J) (X : CategoryTheory.Functor J C),
  (CategoryTheory.Limits.weightedLimObjCoyonedaObjIso j).hom.app X =
    (CategoryTheory.Limits.WeightedCone.isLimitCoyoneda X j).iso.hom

theorem CategoryTheory.Limits.weightedLimObjCoyonedaObjIso_inv_app E0 #

∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J] {C : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} C]
  (j : J) (X : CategoryTheory.Functor J C),
  (CategoryTheory.Limits.weightedLimObjCoyonedaObjIso j).inv.app X =
    (CategoryTheory.Limits.WeightedCone.isLimitCoyoneda X j).iso.inv