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.Monad.Comonadicity

51 declarations. Mathlib docs · Source

def CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair.ctorIdx E1 #

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

instance CategoryTheory.Comonad.ComonadicityInternal.main_pair_coreflexive E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (A : adj.toComonad.Coalgebra),
  CategoryTheory.IsCoreflexivePair (G.map A.a) (adj.unit.app (G.obj A.A))

The "main pair" for a coalgebra (A, α) is the pair of morphisms (G α, η_GA). It is always a coreflexive pair, and will be used to construct the left adjoint to the comparison functor and show it is an equivalence.

instance CategoryTheory.Comonad.ComonadicityInternal.main_pair_F_cosplit E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (A : adj.toComonad.Coalgebra),
  F.IsCosplitPair (G.map A.a) (adj.unit.app (G.obj A.A))

The "main pair" for a coalgebra (A, α) is the pair of morphisms (G α, η_GA). It is always a G-cosplit pair, and will be used to construct the right adjoint to the comparison functor and show it is an equivalence.

def CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointObj E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              (A : adj.toComonad.Coalgebra) →
                [CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.1 A.A))] → C

The object function for the right adjoint to the comparison functor.

def CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              (A : adj.toComonad.Coalgebra) →
                (B : C) →
                  [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] →
                    ((CategoryTheory.Comonad.comparison adj).obj B ⟶ A) ≃
                      (B ⟶ CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointObj adj A)

We have a bijection of homsets which will be used to construct the right adjoint to the comparison functor.

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv_symm_apply_f E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (A : adj.toComonad.Coalgebra) (B : C)
  [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))]
  (f : B ⟶ CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointObj adj A),
  ((CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv adj A B).symm f).f =
    (adj.homEquiv B A.A).symm
      (CategoryTheory.CategoryStruct.comp f (CategoryTheory.Limits.equalizer.ι (G.map A.a) (adj.unit.app (G.1 A.A))))

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv_apply E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (A : adj.toComonad.Coalgebra) (B : C)
  [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))]
  (f : (CategoryTheory.Comonad.comparison adj).obj B ⟶ A),
  (CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv adj A B) f =
    CategoryTheory.Limits.equalizer.lift ((adj.homEquiv B A.A) f.f) ⋯

def CategoryTheory.Comonad.ComonadicityInternal.rightAdjointComparison E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              [∀ (A : adj.toComonad.Coalgebra),
                    CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] →
                CategoryTheory.Functor adj.toComonad.Coalgebra C

Construct the adjunction to the comparison functor.

def CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              [inst_2 :
                  ∀ (A : adj.toComonad.Coalgebra),
                    CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] →
                CategoryTheory.Comonad.comparison adj ⊣
                  CategoryTheory.Comonad.ComonadicityInternal.rightAdjointComparison adj

Provided we have the appropriate equalizers, we have an adjunction to the comparison functor.

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction_counit E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [inst_2 : ∀ (A : adj.toComonad.Coalgebra), CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))],
  (CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction adj).counit =
    {
      app := fun Y ↦
        (CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointHomEquiv adj Y
              (CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointObj adj Y)).symm
          (CategoryTheory.CategoryStruct.id
            (CategoryTheory.Comonad.ComonadicityInternal.comparisonRightAdjointObj adj Y)),
      naturality := ⋯ }

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction_counit_f_aux E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} {adj : F ⊣ G}
  [inst_2 : ∀ (A : adj.toComonad.Coalgebra), CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))]
  (A : adj.toComonad.Coalgebra),
  ((CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction adj).counit.app A).f =
    (adj.homEquiv (CategoryTheory.Limits.equalizer (G.map A.a) (adj.unit.app (G.obj A.A))) A.A).symm
      (CategoryTheory.Limits.equalizer.ι (G.map A.a) (adj.unit.app (G.obj A.A)))

def CategoryTheory.Comonad.ComonadicityInternal.counitFork E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            {adj : F ⊣ G} →
              (A : adj.toComonad.Coalgebra) →
                [CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] →
                  CategoryTheory.Limits.Fork (F.map (G.map A.a)) (F.map (adj.unit.app (G.obj A.A)))

This is a fork which is helpful for establishing comonadicity: the morphism from this fork to the Beck equalizer is the counit for the adjunction on the comparison functor.

theorem CategoryTheory.Comonad.ComonadicityInternal.counitFork_pt E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} {adj : F ⊣ G} (A : adj.toComonad.Coalgebra)
  [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))],
  (CategoryTheory.Comonad.ComonadicityInternal.counitFork A).pt =
    F.obj (CategoryTheory.Limits.equalizer (G.map A.a) (adj.unit.app (G.obj A.A)))

theorem CategoryTheory.Comonad.ComonadicityInternal.unitFork_ι E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} {adj : F ⊣ G} (A : adj.toComonad.Coalgebra)
  [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))],
  (CategoryTheory.Comonad.ComonadicityInternal.counitFork A).ι =
    F.map (CategoryTheory.Limits.equalizer.ι (G.map A.a) (adj.unit.app (G.obj A.A)))

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction_counit_f E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} {adj : F ⊣ G}
  [inst_2 : ∀ (A : adj.toComonad.Coalgebra), CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))]
  (A : adj.toComonad.Coalgebra),
  ((CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction adj).counit.app A).f =
    (CategoryTheory.Comonad.beckEqualizer A).lift (CategoryTheory.Comonad.ComonadicityInternal.counitFork A)

def CategoryTheory.Comonad.ComonadicityInternal.unitFork E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              (B : C) → CategoryTheory.Limits.Fork (G.map (F.map (adj.unit.app B))) (adj.unit.app (G.obj (F.obj B)))

The fork which describes the unit of the adjunction: the morphism from this fork to the equalizer of this pair is the unit.

theorem CategoryTheory.Comonad.ComonadicityInternal.unitFork_π_app E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (B : C)
  (X : CategoryTheory.Limits.WalkingParallelPair),
  (CategoryTheory.Comonad.ComonadicityInternal.unitFork adj B).π.app X =
    CategoryTheory.Limits.WalkingParallelPair.rec (motive := fun t ↦
      X = t →
        (B ⟶
          (CategoryTheory.Limits.parallelPair (G.map (F.map (adj.unit.app B))) (adj.unit.app (G.obj (F.obj B)))).obj X))
      (fun h ↦ ⋯ ▸ adj.unit.app B)
      (fun h ↦ ⋯ ▸ CategoryTheory.CategoryStruct.comp (adj.unit.app B) (adj.unit.app (G.obj (F.obj B)))) X ⋯

theorem CategoryTheory.Comonad.ComonadicityInternal.unitFork_pt E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G) (B : C),
  (CategoryTheory.Comonad.ComonadicityInternal.unitFork adj B).pt = B

def CategoryTheory.Comonad.ComonadicityInternal.counitLimitOfPreservesEqualizer E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            {adj : F ⊣ G} →
              (A : adj.toComonad.Coalgebra) →
                [inst_2 : CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] →
                  [CategoryTheory.Limits.PreservesLimit
                        (CategoryTheory.Limits.parallelPair (G.map A.a) (adj.unit.app (G.obj A.A))) F] →
                    CategoryTheory.Limits.IsLimit (CategoryTheory.Comonad.ComonadicityInternal.counitFork A)

The counit fork is a limit provided F preserves it.

def CategoryTheory.Comonad.ComonadicityInternal.unitEqualizerOfCoreflectsEqualizer E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              (B : C) →
                [CategoryTheory.Limits.ReflectsLimit
                      (CategoryTheory.Limits.parallelPair (G.map (F.map (adj.unit.app B)))
                        (adj.unit.app (G.obj (F.obj B))))
                      F] →
                  CategoryTheory.Limits.IsLimit (CategoryTheory.Comonad.ComonadicityInternal.unitFork adj B)

The unit fork is a limit provided F coreflects it.

instance CategoryTheory.Comonad.ComonadicityInternal.instHasLimitWalkingParallelPairParallelPairMapAppUnitObjOfHasEqualizerAA E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [∀ (A : adj.toComonad.Coalgebra), CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))] (B : C),
  CategoryTheory.Limits.HasLimit
    (CategoryTheory.Limits.parallelPair (G.map (F.map (adj.unit.app B))) (adj.unit.app (G.obj (F.obj B))))

theorem CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction_unit_app E1 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [inst_2 : ∀ (A : adj.toComonad.Coalgebra), CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))]
  (B : C),
  (CategoryTheory.Comonad.ComonadicityInternal.comparisonAdjunction adj).unit.app B =
    CategoryTheory.Limits.limit.lift
      (CategoryTheory.Limits.parallelPair (G.map (F.map (adj.unit.app B))) (adj.unit.app (G.obj (F.obj B))))
      (CategoryTheory.Comonad.ComonadicityInternal.unitFork adj B)

def CategoryTheory.Comonad.createsFSplitEqualizersOfComonadic E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          [CategoryTheory.ComonadicLeftAdjoint F] →
            ⦃A B : C⦄ →
              (f g : A ⟶ B) →
                [F.IsCosplitPair f g] → CategoryTheory.CreatesLimit (CategoryTheory.Limits.parallelPair f g) F

If F is comonadic, it creates limits of F-cosplit pairs. This is the "boring" direction of Beck's comonadicity theorem, the converse is given in comonadicOfCreatesFSplitEqualizers.

class CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor C D → Prop

Dual to Monad.HasCoequalizerOfIsSplitPair.

ctor CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair.mk E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ {A B : C} (f g : A ⟶ B) [F.IsCosplitPair f g], CategoryTheory.Limits.HasEqualizer f g) →
    CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair F

theorem CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair.out E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
  (F : CategoryTheory.Functor C D) [self : CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair F] {A B : C} (f g : A ⟶ B)
  [F.IsCosplitPair f g], CategoryTheory.Limits.HasEqualizer f g

If f, g is an F-cosplit pair, then they have an equalizer.

instance CategoryTheory.Comonad.instHasEqualizerMapAAppUnitObjAOfHasEqualizerOfIsCosplitPair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair F] (A : adj.toComonad.Coalgebra),
  CategoryTheory.Limits.HasEqualizer (G.map A.a) (adj.unit.app (G.obj A.A))

class CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor C D → Prop

Dual to Monad.PreservesColimitOfIsSplitPair.

ctor CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair.mk E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ {A B : C} (f g : A ⟶ B) [F.IsCosplitPair f g],
      CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F) →
    CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F

theorem CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair.out E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F] {A B : C}
  (f g : A ⟶ B) [F.IsCosplitPair f g], CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F

If f, g is an F-cosplit pair, then F preserves limits of parallelPair f g.

instance CategoryTheory.Comonad.instPreservesLimitWalkingParallelPairParallelPairOfIsCosplitPairOfPreservesLimitOfIsCosplitPair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {A B : C} (f g : A ⟶ B) [F.IsCosplitPair f g]
  [CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F

instance CategoryTheory.Comonad.instPreservesLimitWalkingParallelPairParallelPairMapAAppUnitObjAOfPreservesLimitOfIsCosplitPair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F] (A : adj.toComonad.Coalgebra),
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair (G.map A.a) (adj.unit.app (G.obj A.A))) F

class CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor C D → Prop

Dual to Monad.ReflectsColimitOfIsSplitPair.

ctor CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair.mk E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ {A B : C} (f g : A ⟶ B) [F.IsCosplitPair f g],
      CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.parallelPair f g) F) →
    CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair F

theorem CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair.out E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair F] {A B : C}
  (f g : A ⟶ B) [F.IsCosplitPair f g], CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.parallelPair f g) F

If f, g is an F-cosplit pair, then F reflects limits for parallelPair f g.

instance CategoryTheory.Comonad.instReflectsLimitWalkingParallelPairParallelPairOfIsCosplitPairOfReflectsLimitOfIsCosplitPair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {A B : C} (f g : A ⟶ B) [F.IsCosplitPair f g]
  [CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair F],
  CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.parallelPair f g) F

instance CategoryTheory.Comonad.instReflectsLimitWalkingParallelPairParallelPairMapAAppUnitObjAOfReflectsLimitOfIsCosplitPair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair F] (A : adj.toComonad.Coalgebra),
  CategoryTheory.Limits.ReflectsLimit (CategoryTheory.Limits.parallelPair (G.map A.a) (adj.unit.app (G.obj A.A))) F

def CategoryTheory.Comonad.comonadicOfHasPreservesReflectsFSplitEqualizers E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              [CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair F] →
                [CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F] →
                  [CategoryTheory.Comonad.ReflectsLimitOfIsCosplitPair F] → CategoryTheory.ComonadicLeftAdjoint F

To show F is a comonadic left adjoint, we can show it preserves and reflects F-split equalizers, and C has them.

class CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair E1 #

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

Dual to Monad.CreatesColimitOfIsSplitPair.

ctor CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair.mk E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          ({A B : C} →
              (f g : A ⟶ B) →
                [F.IsCosplitPair f g] → CategoryTheory.CreatesLimit (CategoryTheory.Limits.parallelPair f g) F) →
            CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair F

abbrev CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair.out E1 #

{C : Type u₁} →
  {D : Type u₂} →
    {inst : CategoryTheory.Category.{v₁, u₁} C} →
      {inst_1 : CategoryTheory.Category.{v₁, u₂} D} →
        {F : CategoryTheory.Functor C D} →
          [self : CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair F] →
            {A B : C} →
              (f g : A ⟶ B) →
                [F.IsCosplitPair f g] → CategoryTheory.CreatesLimit (CategoryTheory.Limits.parallelPair f g) F

If f, g is an F-cosplit pair, then F creates limits of parallelPair f g.

instance CategoryTheory.Comonad.instCreatesLimitWalkingParallelPairParallelPairOfIsCosplitPairOfCreatesLimitOfIsCosplitPair E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {A B : C} →
            (f g : A ⟶ B) →
              [F.IsCosplitPair f g] →
                [CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair F] →
                  CategoryTheory.CreatesLimit (CategoryTheory.Limits.parallelPair f g) F

instance CategoryTheory.Comonad.instCreatesLimitWalkingParallelPairParallelPairMapAAppUnitObjAOfCreatesLimitOfIsCosplitPair E0 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (adj : F ⊣ G) →
              [CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair F] →
                (A : adj.toComonad.Coalgebra) →
                  CategoryTheory.CreatesLimit
                    (CategoryTheory.Limits.parallelPair (G.map A.a) (adj.unit.app (G.obj A.A))) F

def CategoryTheory.Comonad.comonadicOfCreatesFSplitEqualizers E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) → [CategoryTheory.Comonad.CreatesLimitOfIsCosplitPair F] → CategoryTheory.ComonadicLeftAdjoint F

Beck's comonadicity theorem. If F has a right adjoint and creates equalizers of F-cosplit pairs, then it is comonadic. This is the converse of createsFSplitEqualizersOfComonadic.

def CategoryTheory.Comonad.comonadicOfHasPreservesFSplitEqualizersOfReflectsIsomorphisms E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              [F.ReflectsIsomorphisms] →
                [CategoryTheory.Comonad.HasEqualizerOfIsCosplitPair F] →
                  [CategoryTheory.Comonad.PreservesLimitOfIsCosplitPair F] → CategoryTheory.ComonadicLeftAdjoint F

An alternate version of Beck's comonadicity theorem. If F reflects isomorphisms, preserves equalizers of F-cosplit pairs and C has equalizers of F-cosplit pairs, then it is comonadic.

class CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor C D → Prop

Dual to Monad.PreservesColimitOfIsReflexivePair.

ctor CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair.mk E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D},
  (∀ ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g],
      CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F) →
    CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair F

theorem CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair.out E1 #

∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
  {F : CategoryTheory.Functor C D} [self : CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair F] ⦃A B : C⦄
  (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F

f, g is a coreflexive pair, then F preserves limits of parallelPair f g.

instance CategoryTheory.Comonad.instPreservesLimitWalkingParallelPairParallelPairOfIsCoreflexivePairOfPreservesLimitOfIsCoreflexivePair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {A B : C} (f g : A ⟶ B) [CategoryTheory.IsCoreflexivePair f g]
  [CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair F],
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair f g) F

instance CategoryTheory.Comonad.instPreservesLimitWalkingParallelPairParallelPairMapAAppUnitObjAOfPreservesLimitOfIsCoreflexivePair E0 #

∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
  {F : CategoryTheory.Functor C D} {G : CategoryTheory.Functor D C} (adj : F ⊣ G)
  [CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair F] (X : adj.toComonad.Coalgebra),
  CategoryTheory.Limits.PreservesLimit (CategoryTheory.Limits.parallelPair (G.map X.a) (adj.unit.app (G.obj X.A))) F

def CategoryTheory.Comonad.comonadicOfHasPreservesCoreflexiveEqualizersOfReflectsIsomorphisms E1 #

{C : Type u₁} →
  {D : Type u₂} →
    [inst : CategoryTheory.Category.{v₁, u₁} C] →
      [inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
        {F : CategoryTheory.Functor C D} →
          {G : CategoryTheory.Functor D C} →
            (F ⊣ G) →
              [CategoryTheory.Limits.HasCoreflexiveEqualizers C] →
                [F.ReflectsIsomorphisms] →
                  [CategoryTheory.Comonad.PreservesLimitOfIsCoreflexivePair F] → CategoryTheory.ComonadicLeftAdjoint F

Coreflexive (crude) comonadicity theorem. If F has a right adjoint, C has and F preserves coreflexive equalizers and F reflects isomorphisms, then F is comonadic.