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.Creates

123 declarations. Mathlib docs · Source

Creating (co)limits

We say that F creates limits of K if, given any limit cone c for K ⋙ F (i.e. below), we can lift it to a cone "above", and further that F reflects limits for K.

def CategoryTheory.LiftableCocone.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} → CategoryTheory.LiftableCocone K F c → ℕ

theorem CategoryTheory.LiftsToLimit.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cone (K.comp F)} {t : CategoryTheory.Limits.IsLimit c}
  {toLiftableCone : CategoryTheory.LiftableCone K F c}
  {makesLimit : CategoryTheory.Limits.IsLimit toLiftableCone.liftedCone}
  {toLiftableCone_1 : CategoryTheory.LiftableCone K F c}
  {makesLimit_1 : CategoryTheory.Limits.IsLimit toLiftableCone_1.liftedCone},
  { toLiftableCone := toLiftableCone, makesLimit := makesLimit } =
      { toLiftableCone := toLiftableCone_1, makesLimit := makesLimit_1 } →
    toLiftableCone = toLiftableCone_1 ∧ makesLimit ≍ makesLimit_1

theorem CategoryTheory.LiftableCocone.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cocone (K.comp F)}
  {liftedCocone : CategoryTheory.Limits.Cocone K} {validLift : F.mapCocone liftedCocone ≅ c}
  {liftedCocone_1 : CategoryTheory.Limits.Cocone K} {validLift_1 : F.mapCocone liftedCocone_1 ≅ c},
  { liftedCocone := liftedCocone, validLift := validLift } =
      { liftedCocone := liftedCocone_1, validLift := validLift_1 } →
    liftedCocone = liftedCocone_1 ∧ validLift ≍ validLift_1

theorem CategoryTheory.LiftsToColimit.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cocone (K.comp F)} {t : CategoryTheory.Limits.IsColimit c}
  (toLiftableCocone : CategoryTheory.LiftableCocone K F c)
  (makesColimit : CategoryTheory.Limits.IsColimit toLiftableCocone.liftedCocone)
  (toLiftableCocone_1 : CategoryTheory.LiftableCocone K F c)
  (makesColimit_1 : CategoryTheory.Limits.IsColimit toLiftableCocone_1.liftedCocone),
  ({ toLiftableCocone := toLiftableCocone, makesColimit := makesColimit } =
      { toLiftableCocone := toLiftableCocone_1, makesColimit := makesColimit_1 }) =
    (toLiftableCocone = toLiftableCocone_1 ∧ makesColimit ≍ makesColimit_1)

theorem CategoryTheory.LiftsToColimit.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cocone (K.comp F)} {t : CategoryTheory.Limits.IsColimit c}
  {toLiftableCocone : CategoryTheory.LiftableCocone K F c}
  {makesColimit : CategoryTheory.Limits.IsColimit toLiftableCocone.liftedCocone}
  {toLiftableCocone_1 : CategoryTheory.LiftableCocone K F c}
  {makesColimit_1 : CategoryTheory.Limits.IsColimit toLiftableCocone_1.liftedCocone},
  { toLiftableCocone := toLiftableCocone, makesColimit := makesColimit } =
      { toLiftableCocone := toLiftableCocone_1, makesColimit := makesColimit_1 } →
    toLiftableCocone = toLiftableCocone_1 ∧ makesColimit ≍ makesColimit_1

def CategoryTheory.LiftableCone.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} → CategoryTheory.LiftableCone K F c → ℕ

def CategoryTheory.CreatesLimitsOfShape.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesLimitsOfShape J F → ℕ

def CategoryTheory.CreatesColimit.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} → {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesColimit K F → ℕ

def CategoryTheory.CreatesColimitsOfSize.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesColimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F → ℕ

theorem CategoryTheory.LiftsToLimit.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cone (K.comp F)} {t : CategoryTheory.Limits.IsLimit c}
  (toLiftableCone : CategoryTheory.LiftableCone K F c)
  (makesLimit : CategoryTheory.Limits.IsLimit toLiftableCone.liftedCone)
  (toLiftableCone_1 : CategoryTheory.LiftableCone K F c)
  (makesLimit_1 : CategoryTheory.Limits.IsLimit toLiftableCone_1.liftedCone),
  ({ toLiftableCone := toLiftableCone, makesLimit := makesLimit } =
      { toLiftableCone := toLiftableCone_1, makesLimit := makesLimit_1 }) =
    (toLiftableCone = toLiftableCone_1 ∧ makesLimit ≍ makesLimit_1)

def CategoryTheory.CreatesLimitsOfSize.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesLimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F → ℕ

theorem CategoryTheory.LiftableCone.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cone (K.comp F)}
  (liftedCone : CategoryTheory.Limits.Cone K) (validLift : F.mapCone liftedCone ≅ c)
  (liftedCone_1 : CategoryTheory.Limits.Cone K) (validLift_1 : F.mapCone liftedCone_1 ≅ c),
  ({ liftedCone := liftedCone, validLift := validLift } = { liftedCone := liftedCone_1, validLift := validLift_1 }) =
    (liftedCone = liftedCone_1 ∧ validLift ≍ validLift_1)

def CategoryTheory.LiftsToColimit.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsColimit c} → CategoryTheory.LiftsToColimit K F c t → ℕ

def CategoryTheory.LiftsToLimit.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsLimit c} → CategoryTheory.LiftsToLimit K F c t → ℕ

def CategoryTheory.CreatesLimit.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} → {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesLimit K F → ℕ

theorem CategoryTheory.LiftableCocone.mk.injEq E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cocone (K.comp F)}
  (liftedCocone : CategoryTheory.Limits.Cocone K) (validLift : F.mapCocone liftedCocone ≅ c)
  (liftedCocone_1 : CategoryTheory.Limits.Cocone K) (validLift_1 : F.mapCocone liftedCocone_1 ≅ c),
  ({ liftedCocone := liftedCocone, validLift := validLift } =
      { liftedCocone := liftedCocone_1, validLift := validLift_1 }) =
    (liftedCocone = liftedCocone_1 ∧ validLift ≍ validLift_1)

theorem CategoryTheory.LiftableCone.mk.inj E1 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} {c : CategoryTheory.Limits.Cone (K.comp F)}
  {liftedCone : CategoryTheory.Limits.Cone K} {validLift : F.mapCone liftedCone ≅ c}
  {liftedCone_1 : CategoryTheory.Limits.Cone K} {validLift_1 : F.mapCone liftedCone_1 ≅ c},
  { liftedCone := liftedCone, validLift := validLift } = { liftedCone := liftedCone_1, validLift := validLift_1 } →
    liftedCone = liftedCone_1 ∧ validLift ≍ validLift_1

def CategoryTheory.CreatesColimitsOfShape.ctorIdx E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {F : CategoryTheory.Functor C D} → CategoryTheory.CreatesColimitsOfShape J F → ℕ

structure CategoryTheory.LiftableCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                CategoryTheory.Limits.Cone (K.comp F) → Type (max (max (max u₁ v₁) v₂) w)

Define the lift of a cone: For a cone c for K ⋙ F, give a cone for K which is a lift of c, i.e. the image of it under F is (iso) to c.

We will then use this as part of the definition of creation of limits: every limit cone has a lift.

Note this definition is really only useful when c is a limit already.

ctor CategoryTheory.LiftableCone.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  (liftedCone : CategoryTheory.Limits.Cone K) →
                    (F.mapCone liftedCone ≅ c) → CategoryTheory.LiftableCone K F c

abbrev CategoryTheory.LiftableCone.liftedCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  CategoryTheory.LiftableCone K F c → CategoryTheory.Limits.Cone K

a cone in the source category of the functor

abbrev CategoryTheory.LiftableCone.validLift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  (self : CategoryTheory.LiftableCone K F c) → F.mapCone self.liftedCone ≅ c

the isomorphism expressing that liftedCone lifts the given cone

structure CategoryTheory.LiftableCocone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                CategoryTheory.Limits.Cocone (K.comp F) → Type (max (max (max u₁ v₁) v₂) w)

Define the lift of a cocone: For a cocone c for K ⋙ F, give a cocone for K which is a lift of c, i.e. the image of it under F is (iso) to c.

We will then use this as part of the definition of creation of colimits: every limit cocone has a lift.

Note this definition is really only useful when c is a colimit already.

ctor CategoryTheory.LiftableCocone.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  (liftedCocone : CategoryTheory.Limits.Cocone K) →
                    (F.mapCocone liftedCocone ≅ c) → CategoryTheory.LiftableCocone K F c

abbrev CategoryTheory.LiftableCocone.liftedCocone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  CategoryTheory.LiftableCocone K F c → CategoryTheory.Limits.Cocone K

a cocone in the source category of the functor

abbrev CategoryTheory.LiftableCocone.validLift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  (self : CategoryTheory.LiftableCocone K F c) → F.mapCocone self.liftedCocone ≅ c

the isomorphism expressing that liftedCocone lifts the given cocone

class CategoryTheory.CreatesLimit E1 #

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

Definition 3.3.1 of [Riehl]. We say that F creates limits of K if, given any limit cone c for K ⋙ F (i.e. below) we can lift it to a cone "above", and further that F reflects limits for K.

If F reflects isomorphisms, it suffices to show only that the lifted cone is a limit - see createsLimitOfReflectsIso.

ctor CategoryTheory.CreatesLimit.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [toReflectsLimit : CategoryTheory.Limits.ReflectsLimit K F] →
                  ((c : CategoryTheory.Limits.Cone (K.comp F)) →
                      CategoryTheory.Limits.IsLimit c → CategoryTheory.LiftableCone K F c) →
                    CategoryTheory.CreatesLimit K F

instance CategoryTheory.CreatesLimit.toReflectsLimit E0 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.CreatesLimit K F], CategoryTheory.Limits.ReflectsLimit K F

abbrev CategoryTheory.CreatesLimit.lifts E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [self : CategoryTheory.CreatesLimit K F] →
                  (c : CategoryTheory.Limits.Cone (K.comp F)) →
                    CategoryTheory.Limits.IsLimit c → CategoryTheory.LiftableCone K F c

any limit cone can be lifted to a cone above

class CategoryTheory.CreatesLimitsOfShape E1 #

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

F creates limits of shape J if F creates the limit of any diagram K : J ⥤ C.

ctor CategoryTheory.CreatesLimitsOfShape.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {F : CategoryTheory.Functor C D} →
              autoParam ({K : CategoryTheory.Functor J C} → CategoryTheory.CreatesLimit K F)
                  CategoryTheory.CreatesLimitsOfShape.CreatesLimit._autoParam →
                CategoryTheory.CreatesLimitsOfShape J F

instance CategoryTheory.CreatesLimitsOfShape.CreatesLimit E0 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {F : CategoryTheory.Functor C D} →
              [self : CategoryTheory.CreatesLimitsOfShape J F] →
                {K : CategoryTheory.Functor J C} → CategoryTheory.CreatesLimit K F

class CategoryTheory.CreatesLimitsOfSize E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        CategoryTheory.Functor C D → Type (max (max (max (max (max u₁ u₂) v₁) v₂) (w + 1)) (w' + 1))

F creates limits if it creates limits of shape J for any J.

ctor CategoryTheory.CreatesLimitsOfSize.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          autoParam
              ({J : Type w} → [inst_2 : CategoryTheory.Category.{w', w} J] → CategoryTheory.CreatesLimitsOfShape J F)
              CategoryTheory.CreatesLimitsOfSize.CreatesLimitsOfShape._autoParam →
            CategoryTheory.CreatesLimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F

instance CategoryTheory.CreatesLimitsOfSize.CreatesLimitsOfShape E0 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {F : CategoryTheory.Functor C D} →
          [self : CategoryTheory.CreatesLimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F] →
            {J : Type w} → [inst_2 : CategoryTheory.Category.{w', w} J] → CategoryTheory.CreatesLimitsOfShape J F

abbrev CategoryTheory.CreatesLimits E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        CategoryTheory.Functor C D → Type (max (max (max (max u₁ u₂) v₁) v₂) (v₂ + 1))

F creates small limits if it creates limits of shape J for any small J.

class CategoryTheory.CreatesColimit E1 #

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

Dual of definition 3.3.1 of [Riehl]. We say that F creates colimits of K if, given any limit cocone c for K ⋙ F (i.e. below) we can lift it to a cocone "above", and further that F reflects limits for K.

If F reflects isomorphisms, it suffices to show only that the lifted cocone is a limit - see createsColimitOfReflectsIso.

ctor CategoryTheory.CreatesColimit.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [toReflectsColimit : CategoryTheory.Limits.ReflectsColimit K F] →
                  ((c : CategoryTheory.Limits.Cocone (K.comp F)) →
                      CategoryTheory.Limits.IsColimit c → CategoryTheory.LiftableCocone K F c) →
                    CategoryTheory.CreatesColimit K F

instance CategoryTheory.CreatesColimit.toReflectsColimit E0 #

∀ {C : Type u₁} {inst : CategoryTheory.Category.{v₁, u₁} C} {D : Type u₂} {inst_1 : CategoryTheory.Category.{v₂, u₂} D}
  {J : Type w} {inst_2 : CategoryTheory.Category.{w', w} J} {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.CreatesColimit K F], CategoryTheory.Limits.ReflectsColimit K F

abbrev CategoryTheory.CreatesColimit.lifts E1 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [self : CategoryTheory.CreatesColimit K F] →
                  (c : CategoryTheory.Limits.Cocone (K.comp F)) →
                    CategoryTheory.Limits.IsColimit c → CategoryTheory.LiftableCocone K F c

any limit cocone can be lifted to a cocone above

class CategoryTheory.CreatesColimitsOfShape E1 #

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

F creates colimits of shape J if F creates the colimit of any diagram K : J ⥤ C.

ctor CategoryTheory.CreatesColimitsOfShape.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {F : CategoryTheory.Functor C D} →
              autoParam ({K : CategoryTheory.Functor J C} → CategoryTheory.CreatesColimit K F)
                  CategoryTheory.CreatesColimitsOfShape.CreatesColimit._autoParam →
                CategoryTheory.CreatesColimitsOfShape J F

instance CategoryTheory.CreatesColimitsOfShape.CreatesColimit E0 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {J : Type w} →
          {inst_2 : CategoryTheory.Category.{w', w} J} →
            {F : CategoryTheory.Functor C D} →
              [self : CategoryTheory.CreatesColimitsOfShape J F] →
                {K : CategoryTheory.Functor J C} → CategoryTheory.CreatesColimit K F

class CategoryTheory.CreatesColimitsOfSize E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        CategoryTheory.Functor C D → Type (max (max (max (max (max u₁ u₂) v₁) v₂) (w + 1)) (w' + 1))

F creates colimits if it creates colimits of shape J for any small J.

ctor CategoryTheory.CreatesColimitsOfSize.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          autoParam
              ({J : Type w} → [inst_2 : CategoryTheory.Category.{w', w} J] → CategoryTheory.CreatesColimitsOfShape J F)
              CategoryTheory.CreatesColimitsOfSize.CreatesColimitsOfShape._autoParam →
            CategoryTheory.CreatesColimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F

instance CategoryTheory.CreatesColimitsOfSize.CreatesColimitsOfShape E0 #

{C : Type u₁} →
  {inst : CategoryTheory.Category.{v₁, u₁} C} →
    {D : Type u₂} →
      {inst_1 : CategoryTheory.Category.{v₂, u₂} D} →
        {F : CategoryTheory.Functor C D} →
          [self : CategoryTheory.CreatesColimitsOfSize.{w', w, v₁, v₂, u₁, u₂} F] →
            {J : Type w} → [inst_2 : CategoryTheory.Category.{w', w} J] → CategoryTheory.CreatesColimitsOfShape J F

abbrev CategoryTheory.CreatesColimits E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        CategoryTheory.Functor C D → Type (max (max (max (max u₁ u₂) v₁) v₂) (v₂ + 1))

F creates small colimits if it creates colimits of shape J for any small J.

def CategoryTheory.liftLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [CategoryTheory.CreatesLimit K F] →
                  {c : CategoryTheory.Limits.Cone (K.comp F)} →
                    CategoryTheory.Limits.IsLimit c → CategoryTheory.Limits.Cone K

liftLimit t is the cone for K given by lifting the limit t for K ⋙ F.

def CategoryTheory.liftedLimitMapsToOriginal E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [inst_3 : CategoryTheory.CreatesLimit K F] →
                  {c : CategoryTheory.Limits.Cone (K.comp F)} →
                    (t : CategoryTheory.Limits.IsLimit c) → F.mapCone (CategoryTheory.liftLimit t) ≅ c

The lifted cone has an image isomorphic to the original cone.

theorem CategoryTheory.liftedLimitMapsToOriginal_inv_map_π E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} [inst_3 : CategoryTheory.CreatesLimit K F]
  {c : CategoryTheory.Limits.Cone (K.comp F)} (t : CategoryTheory.Limits.IsLimit c) (j : J),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.liftedLimitMapsToOriginal t).inv.hom
      (F.map ((CategoryTheory.liftLimit t).π.app j)) =
    c.π.app j

theorem CategoryTheory.liftedLimitMapsToOriginal_hom_π E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C}
  {F : CategoryTheory.Functor C D} [inst_3 : CategoryTheory.CreatesLimit K F]
  {c : CategoryTheory.Limits.Cone (K.comp F)} (t : CategoryTheory.Limits.IsLimit c) (j : J),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.liftedLimitMapsToOriginal t).hom.hom (c.π.app j) =
    F.map ((CategoryTheory.liftLimit t).π.app j)

def CategoryTheory.liftedLimitIsLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [inst_3 : CategoryTheory.CreatesLimit K F] →
                  {c : CategoryTheory.Limits.Cone (K.comp F)} →
                    (t : CategoryTheory.Limits.IsLimit c) → CategoryTheory.Limits.IsLimit (CategoryTheory.liftLimit t)

The lifted cone is a limit.

theorem CategoryTheory.hasLimit_of_created E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J C)
  (F : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasLimit (K.comp F)] [CategoryTheory.CreatesLimit K F],
  CategoryTheory.Limits.HasLimit K

If F creates the limit of K and K ⋙ F has a limit, then K has a limit.

theorem CategoryTheory.hasLimitsOfShape_of_hasLimitsOfShape_createsLimitsOfShape E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.HasLimitsOfShape J D] [CategoryTheory.CreatesLimitsOfShape J F],
  CategoryTheory.Limits.HasLimitsOfShape J C

If F creates limits of shape J, and D has limits of shape J, then C has limits of shape J.

theorem CategoryTheory.hasLimits_of_hasLimits_createsLimits E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasLimitsOfSize.{w, w', v₂, u₂} D]
  [CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F],
  CategoryTheory.Limits.HasLimitsOfSize.{w, w', v₁, u₁} C

If F creates limits, and D has all limits, then C has all limits.

def CategoryTheory.liftColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [CategoryTheory.CreatesColimit K F] →
                  {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                    CategoryTheory.Limits.IsColimit c → CategoryTheory.Limits.Cocone K

liftColimit t is the cocone for K given by lifting the colimit t for K ⋙ F.

def CategoryTheory.liftedColimitMapsToOriginal E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [inst_3 : CategoryTheory.CreatesColimit K F] →
                  {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                    (t : CategoryTheory.Limits.IsColimit c) → F.mapCocone (CategoryTheory.liftColimit t) ≅ c

The lifted cocone has an image isomorphic to the original cocone.

def CategoryTheory.liftedColimitIsColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [inst_3 : CategoryTheory.CreatesColimit K F] →
                  {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                    (t : CategoryTheory.Limits.IsColimit c) →
                      CategoryTheory.Limits.IsColimit (CategoryTheory.liftColimit t)

The lifted cocone is a colimit.

theorem CategoryTheory.hasColimit_of_created E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J C)
  (F : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasColimit (K.comp F)] [CategoryTheory.CreatesColimit K F],
  CategoryTheory.Limits.HasColimit K

If F creates the limit of K and K ⋙ F has a limit, then K has a limit.

theorem CategoryTheory.hasColimitsOfShape_of_hasColimitsOfShape_createsColimitsOfShape E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.Limits.HasColimitsOfShape J D] [CategoryTheory.CreatesColimitsOfShape J F],
  CategoryTheory.Limits.HasColimitsOfShape J C

If F creates colimits of shape J, and D has colimits of shape J, then C has colimits of shape J.

theorem CategoryTheory.hasColimits_of_hasColimits_createsColimits E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.Limits.HasColimitsOfSize.{w, w', v₂, u₂} D]
  [CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F],
  CategoryTheory.Limits.HasColimitsOfSize.{w, w', v₁, u₁} C

If F creates colimits, and D has all colimits, then C has all colimits.

instance CategoryTheory.reflectsLimitsOfShapeOfCreatesLimitsOfShape E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.CreatesLimitsOfShape J F], CategoryTheory.Limits.ReflectsLimitsOfShape J F

instance CategoryTheory.reflectsLimitsOfCreatesLimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F],
  CategoryTheory.Limits.ReflectsLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F

instance CategoryTheory.reflectsColimitsOfShapeOfCreatesColimitsOfShape E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.CreatesColimitsOfShape J F], CategoryTheory.Limits.ReflectsColimitsOfShape J F

instance CategoryTheory.reflectsColimitsOfCreatesColimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F],
  CategoryTheory.Limits.ReflectsColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F

structure CategoryTheory.LiftsToLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                (c : CategoryTheory.Limits.Cone (K.comp F)) →
                  CategoryTheory.Limits.IsLimit c → Type (max (max (max u₁ v₁) v₂) w)

A helper to show a functor creates limits. In particular, if we can show that for any limit cone c for K ⋙ F, there is a lift of it which is a limit and F reflects isomorphisms, then F creates limits. Usually, F creating limits says that any lift of c is a limit, but here we only need to show that our particular lift of c is a limit.

ctor CategoryTheory.LiftsToLimit.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsLimit c} →
                    (toLiftableCone : CategoryTheory.LiftableCone K F c) →
                      CategoryTheory.Limits.IsLimit toLiftableCone.liftedCone → CategoryTheory.LiftsToLimit K F c t

abbrev CategoryTheory.LiftsToLimit.toLiftableCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsLimit c} →
                    CategoryTheory.LiftsToLimit K F c t → CategoryTheory.LiftableCone K F c

abbrev CategoryTheory.LiftsToLimit.makesLimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsLimit c} →
                    (self : CategoryTheory.LiftsToLimit K F c t) → CategoryTheory.Limits.IsLimit self.liftedCone

the lifted cone is limit

structure CategoryTheory.LiftsToColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                (c : CategoryTheory.Limits.Cocone (K.comp F)) →
                  CategoryTheory.Limits.IsColimit c → Type (max (max (max u₁ v₁) v₂) w)

A helper to show a functor creates colimits. In particular, if we can show that for any limit cocone c for K ⋙ F, there is a lift of it which is a limit and F reflects isomorphisms, then F creates colimits. Usually, F creating colimits says that any lift of c is a colimit, but here we only need to show that our particular lift of c is a colimit.

abbrev CategoryTheory.LiftsToColimit.toLiftableCocone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsColimit c} →
                    CategoryTheory.LiftsToColimit K F c t → CategoryTheory.LiftableCocone K F c

ctor CategoryTheory.LiftsToColimit.mk E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsColimit c} →
                    (toLiftableCocone : CategoryTheory.LiftableCocone K F c) →
                      CategoryTheory.Limits.IsColimit toLiftableCocone.liftedCocone →
                        CategoryTheory.LiftsToColimit K F c t

abbrev CategoryTheory.LiftsToColimit.makesColimit E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                  {t : CategoryTheory.Limits.IsColimit c} →
                    (self : CategoryTheory.LiftsToColimit K F c t) → CategoryTheory.Limits.IsColimit self.liftedCocone

the lifted cocone is colimit

def CategoryTheory.createsLimitOfReflectsIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  ((c : CategoryTheory.Limits.Cone (K.comp F)) →
                      (t : CategoryTheory.Limits.IsLimit c) → CategoryTheory.LiftsToLimit K F c t) →
                    CategoryTheory.CreatesLimit K F

If F reflects isomorphisms and we can lift any limit cone to a limit cone, then F creates limits. In particular here we don't need to assume that F reflects limits.

def CategoryTheory.createsLimitOfReflectsIso' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  {c : CategoryTheory.Limits.Cone (K.comp F)} →
                    (hc : CategoryTheory.Limits.IsLimit c) →
                      CategoryTheory.LiftsToLimit K F c hc → CategoryTheory.CreatesLimit K F

If F reflects isomorphisms and we can lift a single limit cone to a limit cone, then F creates limits. Note that unlike createsLimitOfReflectsIso, to apply this result it is necessary to know that K ⋙ F actually has a limit.

def CategoryTheory.createsLimitOfReflectsIsomorphismsOfPreserves E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  [CategoryTheory.Limits.HasLimit K] →
                    [CategoryTheory.Limits.PreservesLimit K F] → CategoryTheory.CreatesLimit K F

If F reflects isomorphisms, and we already know that the limit exists in the source and F preserves it, then F creates that limit.

def CategoryTheory.createsLimitOfFullyFaithfulOfLift' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    {l : CategoryTheory.Limits.Cone (K.comp F)} →
                      CategoryTheory.Limits.IsLimit l →
                        (c : CategoryTheory.Limits.Cone K) → (F.mapCone c ≅ l) → CategoryTheory.CreatesLimit K F

When F is fully faithful, to show that F creates the limit for K it suffices to exhibit a lift of a limit cone for K ⋙ F.

def CategoryTheory.createsLimitOfFullyFaithfulOfLift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    [inst_5 : CategoryTheory.Limits.HasLimit (K.comp F)] →
                      (c : CategoryTheory.Limits.Cone K) →
                        (F.mapCone c ≅ CategoryTheory.Limits.limit.cone (K.comp F)) → CategoryTheory.CreatesLimit K F

When F is fully faithful, and HasLimit (K ⋙ F), to show that F creates the limit for K it suffices to exhibit a lift of the chosen limit cone for K ⋙ F.

def CategoryTheory.createsLimitOfFullyFaithfulOfIso' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    {l : CategoryTheory.Limits.Cone (K.comp F)} →
                      CategoryTheory.Limits.IsLimit l → (X : C) → (F.obj X ≅ l.pt) → CategoryTheory.CreatesLimit K F

When F is fully faithful, to show that F creates the limit for K it suffices to show that a limit point is in the essential image of F.

def CategoryTheory.createsLimitOfFullyFaithfulOfIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    [inst_5 : CategoryTheory.Limits.HasLimit (K.comp F)] →
                      (X : C) → (F.obj X ≅ CategoryTheory.Limits.limit (K.comp F)) → CategoryTheory.CreatesLimit K F

When F is fully faithful, and HasLimit (K ⋙ F), to show that F creates the limit for K it suffices to show that the chosen limit point is in the essential image of F.

def CategoryTheory.createsLimitOfFullyFaithfulOfPreserves E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    [CategoryTheory.Limits.HasLimit K] →
                      [CategoryTheory.Limits.PreservesLimit K F] → CategoryTheory.CreatesLimit K F

A fully faithful functor that preserves a limit that exists also creates the limit.

instance CategoryTheory.preservesLimit_of_createsLimit_and_hasLimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J C)
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesLimit K F] [CategoryTheory.Limits.HasLimit (K.comp F)],
  CategoryTheory.Limits.PreservesLimit K F

F preserves the limit of K if it creates the limit and K ⋙ F has the limit.

instance CategoryTheory.preservesLimitOfShape_of_createsLimitsOfShape_and_hasLimitsOfShape E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.CreatesLimitsOfShape J F] [CategoryTheory.Limits.HasLimitsOfShape J D],
  CategoryTheory.Limits.PreservesLimitsOfShape J F

F preserves the limit of shape J if it creates these limits and D has them.

instance CategoryTheory.preservesLimits_of_createsLimits_and_hasLimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F]
  [CategoryTheory.Limits.HasLimitsOfSize.{w, w', v₂, u₂} D],
  CategoryTheory.Limits.PreservesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F

F preserves limits if it creates limits and D has limits.

def CategoryTheory.createsColimitOfReflectsIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  ((c : CategoryTheory.Limits.Cocone (K.comp F)) →
                      (t : CategoryTheory.Limits.IsColimit c) → CategoryTheory.LiftsToColimit K F c t) →
                    CategoryTheory.CreatesColimit K F

If F reflects isomorphisms and we can lift any colimit cocone to a colimit cocone, then F creates colimits. In particular here we don't need to assume that F reflects colimits.

def CategoryTheory.createsColimitOfReflectsIso' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  {c : CategoryTheory.Limits.Cocone (K.comp F)} →
                    (hc : CategoryTheory.Limits.IsColimit c) →
                      CategoryTheory.LiftsToColimit K F c hc → CategoryTheory.CreatesColimit K F

If F reflects isomorphisms and we can lift a single colimit cocone to a colimit cocone, then F creates limits. Note that unlike createsColimitOfReflectsIso, to apply this result it is necessary to know that K ⋙ F actually has a colimit.

def CategoryTheory.createsColimitOfReflectsIsomorphismsOfPreserves E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.ReflectsIsomorphisms] →
                  [CategoryTheory.Limits.HasColimit K] →
                    [CategoryTheory.Limits.PreservesColimit K F] → CategoryTheory.CreatesColimit K F

If F reflects isomorphisms, and we already know that the colimit exists in the source and F preserves it, then F creates that colimit.

def CategoryTheory.createsColimitOfFullyFaithfulOfLift' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    {l : CategoryTheory.Limits.Cocone (K.comp F)} →
                      CategoryTheory.Limits.IsColimit l →
                        (c : CategoryTheory.Limits.Cocone K) → (F.mapCocone c ≅ l) → CategoryTheory.CreatesColimit K F

When F is fully faithful, to show that F creates the colimit for K it suffices to exhibit a lift of a colimit cocone for K ⋙ F.

def CategoryTheory.createsColimitOfFullyFaithfulOfLift E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    [inst_5 : CategoryTheory.Limits.HasColimit (K.comp F)] →
                      (c : CategoryTheory.Limits.Cocone K) →
                        (F.mapCocone c ≅ CategoryTheory.Limits.colimit.cocone (K.comp F)) →
                          CategoryTheory.CreatesColimit K F

When F is fully faithful, and HasColimit (K ⋙ F), to show that F creates the colimit for K it suffices to exhibit a lift of the chosen colimit cocone for K ⋙ F.

def CategoryTheory.createsColimitOfFullyFaithfulOfIso' E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    {l : CategoryTheory.Limits.Cocone (K.comp F)} →
                      CategoryTheory.Limits.IsColimit l → (X : C) → (F.obj X ≅ l.pt) → CategoryTheory.CreatesColimit K F

When F is fully faithful, to show that F creates the colimit for K it suffices to show that a colimit point is in the essential image of F.

def CategoryTheory.createsColimitOfFullyFaithfulOfIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F : CategoryTheory.Functor C D} →
                [F.Full] →
                  [F.Faithful] →
                    [inst_5 : CategoryTheory.Limits.HasColimit (K.comp F)] →
                      (X : C) → (F.obj X ≅ CategoryTheory.Limits.colimit (K.comp F)) → CategoryTheory.CreatesColimit K F

When F is fully faithful, and HasColimit (K ⋙ F), to show that F creates the colimit for K it suffices to show that the chosen colimit point is in the essential image of F.

instance CategoryTheory.preservesColimit_of_createsColimit_and_hasColimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (K : CategoryTheory.Functor J C)
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesColimit K F] [CategoryTheory.Limits.HasColimit (K.comp F)],
  CategoryTheory.Limits.PreservesColimit K F

F preserves the colimit of K if it creates the colimit and K ⋙ F has the colimit.

instance CategoryTheory.preservesColimitOfShape_of_createsColimitsOfShape_and_hasColimitsOfShape E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] (F : CategoryTheory.Functor C D)
  [CategoryTheory.CreatesColimitsOfShape J F] [CategoryTheory.Limits.HasColimitsOfShape J D],
  CategoryTheory.Limits.PreservesColimitsOfShape J F

F preserves the colimit of shape J if it creates these colimits and D has them.

instance CategoryTheory.preservesColimits_of_createsColimits_and_hasColimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F]
  [CategoryTheory.Limits.HasColimitsOfSize.{w, w', v₂, u₂} D],
  CategoryTheory.Limits.PreservesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F

F preserves limits if it creates limits and D has limits.

def CategoryTheory.createsLimitOfIsoDiagram E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K₁ K₂ : CategoryTheory.Functor J C} →
              (F : CategoryTheory.Functor C D) →
                (K₁ ≅ K₂) → [CategoryTheory.CreatesLimit K₁ F] → CategoryTheory.CreatesLimit K₂ F

Transfer creation of limits along a natural isomorphism in the diagram.

def CategoryTheory.createsLimitOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F G : CategoryTheory.Functor C D} →
                (F ≅ G) → [CategoryTheory.CreatesLimit K F] → CategoryTheory.CreatesLimit K G

If F creates the limit of K and F ≅ G, then G creates the limit of K.

def CategoryTheory.createsLimitsOfShapeOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {F G : CategoryTheory.Functor C D} →
              (F ≅ G) → [CategoryTheory.CreatesLimitsOfShape J F] → CategoryTheory.CreatesLimitsOfShape J G

If F creates limits of shape J and F ≅ G, then G creates limits of shape J.

def CategoryTheory.createsLimitsOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {F G : CategoryTheory.Functor C D} →
          (F ≅ G) →
            [CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F] →
              CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} G

If F creates limits and F ≅ G, then G creates limits.

def CategoryTheory.createsLimitsOfShapeOfEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {J' : Type w₁} →
              [inst_3 : CategoryTheory.Category.{w'₁, w₁} J'] →
                (J ≌ J') →
                  (F : CategoryTheory.Functor C D) →
                    [CategoryTheory.CreatesLimitsOfShape J F] → CategoryTheory.CreatesLimitsOfShape J' F

If F creates limits of shape J and J ≌ J', then F creates limits of shape J'.

def CategoryTheory.createsColimitOfIsoDiagram E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K₁ K₂ : CategoryTheory.Functor J C} →
              (F : CategoryTheory.Functor C D) →
                (K₁ ≅ K₂) → [CategoryTheory.CreatesColimit K₁ F] → CategoryTheory.CreatesColimit K₂ F

Transfer creation of colimits along a natural isomorphism in the diagram.

def CategoryTheory.createsColimitOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {F G : CategoryTheory.Functor C D} →
                (F ≅ G) → [CategoryTheory.CreatesColimit K F] → CategoryTheory.CreatesColimit K G

If F creates the colimit of K and F ≅ G, then G creates the colimit of K.

def CategoryTheory.createsColimitsOfShapeOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {F G : CategoryTheory.Functor C D} →
              (F ≅ G) → [CategoryTheory.CreatesColimitsOfShape J F] → CategoryTheory.CreatesColimitsOfShape J G

If F creates colimits of shape J and F ≅ G, then G creates colimits of shape J.

def CategoryTheory.createsColimitsOfNatIso E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {F G : CategoryTheory.Functor C D} →
          (F ≅ G) →
            [CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F] →
              CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} G

If F creates colimits and F ≅ G, then G creates colimits.

def CategoryTheory.createsColimitsOfShapeOfEquiv E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {J' : Type w₁} →
              [inst_3 : CategoryTheory.Category.{w'₁, w₁} J'] →
                (J ≌ J') →
                  (F : CategoryTheory.Functor C D) →
                    [CategoryTheory.CreatesColimitsOfShape J F] → CategoryTheory.CreatesColimitsOfShape J' F

If F creates colimits of shape J and J ≌ J', then F creates colimits of shape J'.

def CategoryTheory.liftsToLimitOfCreates E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                [CategoryTheory.CreatesLimit K F] →
                  (c : CategoryTheory.Limits.Cone (K.comp F)) →
                    (t : CategoryTheory.Limits.IsLimit c) → CategoryTheory.LiftsToLimit K F c t

If F creates the limit of K, any cone lifts to a limit.

def CategoryTheory.liftsToColimitOfCreates E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                [CategoryTheory.CreatesColimit K F] →
                  (c : CategoryTheory.Limits.Cocone (K.comp F)) →
                    (t : CategoryTheory.Limits.IsColimit c) → CategoryTheory.LiftsToColimit K F c t

If F creates the colimit of K, any cocone lifts to a colimit.

def CategoryTheory.idLiftsCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{w', w} J] →
        {K : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Functor.id C))) →
            CategoryTheory.LiftableCone K (CategoryTheory.Functor.id C) c

Any cone lifts through the identity functor.

instance CategoryTheory.idCreatesLimits E0 #

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

The identity functor creates all limits.

def CategoryTheory.idLiftsCocone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{w', w} J] →
        {K : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Functor.id C))) →
            CategoryTheory.LiftableCocone K (CategoryTheory.Functor.id C) c

Any cocone lifts through the identity functor.

instance CategoryTheory.idCreatesColimits E0 #

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

The identity functor creates all colimits.

instance CategoryTheory.inhabitedLiftableCone E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{w', w} J] →
        {K : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Functor.id C))) →
            Inhabited (CategoryTheory.LiftableCone K (CategoryTheory.Functor.id C) c)

Satisfy the inhabited linter

instance CategoryTheory.inhabitedLiftableCocone E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{w', w} J] →
        {K : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Functor.id C))) →
            Inhabited (CategoryTheory.LiftableCocone K (CategoryTheory.Functor.id C) c)

instance CategoryTheory.inhabitedLiftsToLimit E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                [CategoryTheory.CreatesLimit K F] →
                  (c : CategoryTheory.Limits.Cone (K.comp F)) →
                    (t : CategoryTheory.Limits.IsLimit c) → Inhabited (CategoryTheory.LiftsToLimit K F c t)

Satisfy the inhabited linter

instance CategoryTheory.inhabitedLiftsToColimit E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            (K : CategoryTheory.Functor J C) →
              (F : CategoryTheory.Functor C D) →
                [CategoryTheory.CreatesColimit K F] →
                  (c : CategoryTheory.Limits.Cocone (K.comp F)) →
                    (t : CategoryTheory.Limits.IsColimit c) → Inhabited (CategoryTheory.LiftsToColimit K F c t)

instance CategoryTheory.compCreatesLimit E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {E : Type u₃} →
                [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
                  (F : CategoryTheory.Functor C D) →
                    (G : CategoryTheory.Functor D E) →
                      [CategoryTheory.CreatesLimit K F] →
                        [CategoryTheory.CreatesLimit (K.comp F) G] → CategoryTheory.CreatesLimit K (F.comp G)

instance CategoryTheory.compCreatesLimitsOfShape E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {E : Type u₃} →
              [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
                (F : CategoryTheory.Functor C D) →
                  (G : CategoryTheory.Functor D E) →
                    [CategoryTheory.CreatesLimitsOfShape J F] →
                      [CategoryTheory.CreatesLimitsOfShape J G] → CategoryTheory.CreatesLimitsOfShape J (F.comp G)

instance CategoryTheory.compCreatesLimits E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {E : Type u₃} →
          [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
            (F : CategoryTheory.Functor C D) →
              (G : CategoryTheory.Functor D E) →
                [CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F] →
                  [CategoryTheory.CreatesLimitsOfSize.{w, w', v₂, v₃, u₂, u₃} G] →
                    CategoryTheory.CreatesLimitsOfSize.{w, w', v₁, v₃, u₁, u₃} (F.comp G)

instance CategoryTheory.preservesLimit_comp_of_createsLimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C} {E : Type u₃}
  [ℰ : CategoryTheory.Category.{v₃, u₃} E] (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E)
  [CategoryTheory.CreatesLimit K F] [CategoryTheory.Limits.PreservesLimit K (F.comp G)],
  CategoryTheory.Limits.PreservesLimit (K.comp F) G

instance CategoryTheory.compCreatesColimit E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {K : CategoryTheory.Functor J C} →
              {E : Type u₃} →
                [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
                  (F : CategoryTheory.Functor C D) →
                    (G : CategoryTheory.Functor D E) →
                      [CategoryTheory.CreatesColimit K F] →
                        [CategoryTheory.CreatesColimit (K.comp F) G] → CategoryTheory.CreatesColimit K (F.comp G)

instance CategoryTheory.compCreatesColimitsOfShape E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {J : Type w} →
          [inst_2 : CategoryTheory.Category.{w', w} J] →
            {E : Type u₃} →
              [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
                (F : CategoryTheory.Functor C D) →
                  (G : CategoryTheory.Functor D E) →
                    [CategoryTheory.CreatesColimitsOfShape J F] →
                      [CategoryTheory.CreatesColimitsOfShape J G] → CategoryTheory.CreatesColimitsOfShape J (F.comp G)

instance CategoryTheory.compCreatesColimits E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {E : Type u₃} →
          [ℰ : CategoryTheory.Category.{v₃, u₃} E] →
            (F : CategoryTheory.Functor C D) →
              (G : CategoryTheory.Functor D E) →
                [CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₂, u₁, u₂} F] →
                  [CategoryTheory.CreatesColimitsOfSize.{w, w', v₂, v₃, u₂, u₃} G] →
                    CategoryTheory.CreatesColimitsOfSize.{w, w', v₁, v₃, u₁, u₃} (F.comp G)

instance CategoryTheory.preservesColimit_comp_of_createsColimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {J : Type w} [inst_2 : CategoryTheory.Category.{w', w} J] {K : CategoryTheory.Functor J C} {E : Type u₃}
  [ℰ : CategoryTheory.Category.{v₃, u₃} E] (F : CategoryTheory.Functor C D) (G : CategoryTheory.Functor D E)
  [CategoryTheory.CreatesColimit K F] [CategoryTheory.Limits.PreservesColimit K (F.comp G)],
  CategoryTheory.Limits.PreservesColimit (K.comp F) G