The areas / V24. Category theory
Mathlib.CategoryTheory.Monad.Monadicity
53 declarations. Mathlib docs · Source
def CategoryTheory.Monad.CreatesColimitOfIsSplitPair.ctorIdx E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₁, u₂} D} →
{G : CategoryTheory.Functor D C} → CategoryTheory.Monad.CreatesColimitOfIsSplitPair G → ℕ
theorem CategoryTheory.Limits.coequalizer.congr_simp E1 #
∀ {C : Type u} {X Y : C} [inst : CategoryTheory.Category.{v, u} C] (f f_1 : Y ⟶ X) (e_f : f = f_1) (g g_1 : Y ⟶ X)
(e_g : g = g_1) [inst_1 : CategoryTheory.Limits.HasCoequalizer f g],
CategoryTheory.Limits.coequalizer f g = CategoryTheory.Limits.coequalizer f_1 g_1
theorem CategoryTheory.Limits.Cofork.IsColimit.desc'.congr_simp E1 #
∀ {C : Type u} {X Y : C} [inst : CategoryTheory.Category.{v, u} C] {f g : Y ⟶ X} {s : CategoryTheory.Limits.Cofork f g}
(hs hs_1 : CategoryTheory.Limits.IsColimit s),
hs = hs_1 →
∀ {W : C} (k : X ⟶ W) (h : CategoryTheory.CategoryStruct.comp f k = CategoryTheory.CategoryStruct.comp g k),
CategoryTheory.Limits.Cofork.IsColimit.desc' hs k h = CategoryTheory.Limits.Cofork.IsColimit.desc' hs_1 k h
instance CategoryTheory.Monad.MonadicityInternal.main_pair_reflexive E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (A : adj.toMonad.Algebra),
CategoryTheory.IsReflexivePair (F.map A.a) (adj.counit.app (F.obj A.A))
The "main pair" for an algebra (A, α) is the pair of morphisms (F α, ε_FA). It is always a
reflexive pair, and will be used to construct the left adjoint to the comparison functor and show it
is an equivalence.
instance CategoryTheory.Monad.MonadicityInternal.main_pair_G_split E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (A : adj.toMonad.Algebra),
G.IsSplitPair (F.map A.a) (adj.counit.app (F.obj A.A))
The "main pair" for an algebra (A, α) is the pair of morphisms (F α, ε_FA). It is always a
G-split pair, and will be used to construct the left adjoint to the comparison functor and show it
is an equivalence.
def CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointObj E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
(A : adj.toMonad.Algebra) →
[CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] → D
The object function for the left adjoint to the comparison functor.
def CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointHomEquiv E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
(A : adj.toMonad.Algebra) →
(B : D) →
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] →
(CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointObj adj A ⟶ B) ≃
(A ⟶ (CategoryTheory.Monad.comparison adj).obj B)
We have a bijection of homsets which will be used to construct the left adjoint to the comparison functor.
theorem CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointHomEquiv_apply_f E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (A : adj.toMonad.Algebra) (B : D)
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))]
(a : CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointObj adj A ⟶ B),
((CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointHomEquiv adj A B) a).f =
↑(((CategoryTheory.Limits.Cofork.IsColimit.homIso
(CategoryTheory.Limits.colimit.isColimit
(CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))))
B).trans
((adj.homEquiv A.A B).subtypeEquiv ⋯))
a)
theorem CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointHomEquiv_symm_apply E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (A : adj.toMonad.Algebra) (B : D)
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))]
(a : A ⟶ (CategoryTheory.Monad.comparison adj).obj B),
(CategoryTheory.Monad.MonadicityInternal.comparisonLeftAdjointHomEquiv adj A B).symm a =
(((adj.homEquiv A.A B).symm.subtypeEquiv ⋯).trans
(CategoryTheory.Limits.Cofork.IsColimit.homIso
(CategoryTheory.Limits.colimit.isColimit
(CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))))
B).symm)
({ toFun := fun f ↦ ⟨f.f, ⋯⟩, invFun := fun g ↦ { f := ↑g, h := ⋯ }, left_inv := ⋯, right_inv := ⋯ } a)
def CategoryTheory.Monad.MonadicityInternal.leftAdjointComparison E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
[∀ (A : adj.toMonad.Algebra),
CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] →
CategoryTheory.Functor adj.toMonad.Algebra D
Construct the adjunction to the comparison functor.
def CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
[inst_2 :
∀ (A : adj.toMonad.Algebra),
CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] →
CategoryTheory.Monad.MonadicityInternal.leftAdjointComparison adj ⊣ CategoryTheory.Monad.comparison adj
Provided we have the appropriate coequalizers, we have an adjunction to the comparison functor.
theorem CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction_counit E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[inst_2 : ∀ (A : adj.toMonad.Algebra), CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))],
(CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction adj).counit =
{
app := fun Y ↦
(((adj.homEquiv (G.obj Y) Y).symm.subtypeEquiv ⋯).trans
(CategoryTheory.Limits.Cofork.IsColimit.homIso
(CategoryTheory.Limits.colimit.isColimit
(CategoryTheory.Limits.parallelPair (F.map (G.map (adj.counit.app Y)))
(adj.counit.app (F.obj (G.obj Y)))))
Y).symm)
({ toFun := fun f ↦ ⟨f.f, ⋯⟩, invFun := fun g ↦ { f := ↑g, h := ⋯ }, left_inv := ⋯, right_inv := ⋯ }
(CategoryTheory.CategoryStruct.id ((CategoryTheory.Monad.comparison adj).obj Y))),
naturality := ⋯ }
theorem CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction_unit_f_aux E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} {adj : F ⊣ G}
[inst_2 : ∀ (A : adj.toMonad.Algebra), CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))]
(A : adj.toMonad.Algebra),
((CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction adj).unit.app A).f =
(adj.homEquiv A.A (CategoryTheory.Limits.coequalizer (F.map A.a) (adj.counit.app (F.obj A.A))))
(CategoryTheory.Limits.coequalizer.π (F.map A.a) (adj.counit.app (F.obj A.A)))
def CategoryTheory.Monad.MonadicityInternal.unitCofork E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
{adj : F ⊣ G} →
(A : adj.toMonad.Algebra) →
[CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] →
CategoryTheory.Limits.Cofork (G.map (F.map A.a)) (G.map (adj.counit.app (F.obj A.A)))
This is a cofork which is helpful for establishing monadicity: the morphism from the Beck coequalizer to this cofork is the unit for the adjunction on the comparison functor.
theorem CategoryTheory.Monad.MonadicityInternal.unitCofork_pt E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} {adj : F ⊣ G} (A : adj.toMonad.Algebra)
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))],
(CategoryTheory.Monad.MonadicityInternal.unitCofork A).pt =
G.obj (CategoryTheory.Limits.coequalizer (F.map A.a) (adj.counit.app (F.obj A.A)))
theorem CategoryTheory.Monad.MonadicityInternal.unitCofork_π E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} {adj : F ⊣ G} (A : adj.toMonad.Algebra)
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))],
(CategoryTheory.Monad.MonadicityInternal.unitCofork A).π =
G.map (CategoryTheory.Limits.coequalizer.π (F.map A.a) (adj.counit.app (F.obj A.A)))
theorem CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction_unit_f E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} {adj : F ⊣ G}
[inst_2 : ∀ (A : adj.toMonad.Algebra), CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))]
(A : adj.toMonad.Algebra),
((CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction adj).unit.app A).f =
(CategoryTheory.Monad.beckCoequalizer A).desc (CategoryTheory.Monad.MonadicityInternal.unitCofork A)
def CategoryTheory.Monad.MonadicityInternal.counitCofork E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
(B : D) →
CategoryTheory.Limits.Cofork (F.map (G.map (adj.counit.app B))) (adj.counit.app (F.obj (G.obj B)))
The cofork which describes the counit of the adjunction: the morphism from the coequalizer of this pair to this morphism is the counit.
theorem CategoryTheory.Monad.MonadicityInternal.counitCofork_pt E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (B : D),
(CategoryTheory.Monad.MonadicityInternal.counitCofork adj B).pt = B
theorem CategoryTheory.Monad.MonadicityInternal.counitCofork_ι_app E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G) (B : D)
(X : CategoryTheory.Limits.WalkingParallelPair),
(CategoryTheory.Monad.MonadicityInternal.counitCofork adj B).ι.app X =
CategoryTheory.Limits.WalkingParallelPair.rec (motive := fun t ↦
X = t →
((CategoryTheory.Limits.parallelPair (F.map (G.map (adj.counit.app B))) (adj.counit.app (F.obj (G.obj B)))).obj
X ⟶
B))
(fun h ↦ ⋯ ▸ CategoryTheory.CategoryStruct.comp (adj.counit.app (F.obj (G.obj B))) (adj.counit.app B))
(fun h ↦ ⋯ ▸ adj.counit.app B) X ⋯
def CategoryTheory.Monad.MonadicityInternal.unitColimitOfPreservesCoequalizer E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
{adj : F ⊣ G} →
(A : adj.toMonad.Algebra) →
[inst_2 : CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] →
[CategoryTheory.Limits.PreservesColimit
(CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))) G] →
CategoryTheory.Limits.IsColimit (CategoryTheory.Monad.MonadicityInternal.unitCofork A)
The unit cofork is a colimit provided G preserves it.
def CategoryTheory.Monad.MonadicityInternal.counitCoequalizerOfReflectsCoequalizer E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
(B : D) →
[CategoryTheory.Limits.ReflectsColimit
(CategoryTheory.Limits.parallelPair (F.map (G.map (adj.counit.app B)))
(adj.counit.app (F.obj (G.obj B))))
G] →
CategoryTheory.Limits.IsColimit (CategoryTheory.Monad.MonadicityInternal.counitCofork adj B)
The counit cofork is a colimit provided G reflects it.
instance CategoryTheory.Monad.MonadicityInternal.instHasColimitWalkingParallelPairParallelPairMapAppCounitObjOfHasCoequalizerAA E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[∀ (A : adj.toMonad.Algebra), CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))] (B : D),
CategoryTheory.Limits.HasColimit
(CategoryTheory.Limits.parallelPair (F.map (G.map (adj.counit.app B))) (adj.counit.app (F.obj (G.obj B))))
theorem CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction_counit_app E1 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[inst_2 : ∀ (A : adj.toMonad.Algebra), CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))]
(B : D),
(CategoryTheory.Monad.MonadicityInternal.comparisonAdjunction adj).counit.app B =
CategoryTheory.Limits.colimit.desc
(CategoryTheory.Limits.parallelPair (F.map (G.map (adj.counit.app B))) (adj.counit.app (F.obj (G.obj B))))
(CategoryTheory.Monad.MonadicityInternal.counitCofork adj B)
def CategoryTheory.Monad.createsGSplitCoequalizersOfMonadic E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
(G : CategoryTheory.Functor D C) →
[CategoryTheory.MonadicRightAdjoint G] →
⦃A B : D⦄ →
(f g : A ⟶ B) →
[G.IsSplitPair f g] → CategoryTheory.CreatesColimit (CategoryTheory.Limits.parallelPair f g) G
If G is monadic, it creates colimits of G-split pairs. This is the "boring" direction of Beck's
monadicity theorem, the converse is given in monadicOfCreatesGSplitCoequalizers.
class CategoryTheory.Monad.HasCoequalizerOfIsSplitPair E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor D C → Prop
Typeclass expressing that for all G-split pairs f,g, f and g have a coequalizer.
ctor CategoryTheory.Monad.HasCoequalizerOfIsSplitPair.mk E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C},
(∀ {A B : D} (f g : A ⟶ B) [G.IsSplitPair f g], CategoryTheory.Limits.HasCoequalizer f g) →
CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G
theorem CategoryTheory.Monad.HasCoequalizerOfIsSplitPair.out E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
(G : CategoryTheory.Functor D C) [self : CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G] {A B : D} (f g : A ⟶ B)
[G.IsSplitPair f g], CategoryTheory.Limits.HasCoequalizer f g
instance CategoryTheory.Monad.instHasCoequalizerMapAAppCounitObjAOfHasCoequalizerOfIsSplitPair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G] (A : adj.toMonad.Algebra),
CategoryTheory.Limits.HasCoequalizer (F.map A.a) (adj.counit.app (F.obj A.A))
class CategoryTheory.Monad.PreservesColimitOfIsSplitPair E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor D C → Prop
Typeclass expressing that for all G-split pairs f,g, G preserves colimits of
parallelPair f g.
ctor CategoryTheory.Monad.PreservesColimitOfIsSplitPair.mk E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C},
(∀ {A B : D} (f g : A ⟶ B) [G.IsSplitPair f g],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G) →
CategoryTheory.Monad.PreservesColimitOfIsSplitPair G
theorem CategoryTheory.Monad.PreservesColimitOfIsSplitPair.out E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
{G : CategoryTheory.Functor D C} [self : CategoryTheory.Monad.PreservesColimitOfIsSplitPair G] {A B : D} (f g : A ⟶ B)
[G.IsSplitPair f g], CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instPreservesColimitWalkingParallelPairParallelPairOfIsSplitPairOfPreservesColimitOfIsSplitPair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {A B : D} (f g : A ⟶ B) [G.IsSplitPair f g]
[CategoryTheory.Monad.PreservesColimitOfIsSplitPair G],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instPreservesColimitWalkingParallelPairParallelPairMapAAppCounitObjAOfPreservesColimitOfIsSplitPair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[CategoryTheory.Monad.PreservesColimitOfIsSplitPair G] (A : adj.toMonad.Algebra),
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))) G
class CategoryTheory.Monad.ReflectsColimitOfIsSplitPair E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor D C → Prop
Typeclass expressing that for all G-split pairs f,g, G reflects colimits for
parallelPair f g.
ctor CategoryTheory.Monad.ReflectsColimitOfIsSplitPair.mk E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C},
(∀ {A B : D} (f g : A ⟶ B) [G.IsSplitPair f g],
CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.parallelPair f g) G) →
CategoryTheory.Monad.ReflectsColimitOfIsSplitPair G
theorem CategoryTheory.Monad.ReflectsColimitOfIsSplitPair.out E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
{G : CategoryTheory.Functor D C} [self : CategoryTheory.Monad.ReflectsColimitOfIsSplitPair G] {A B : D} (f g : A ⟶ B)
[G.IsSplitPair f g], CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instReflectsColimitWalkingParallelPairParallelPairOfIsSplitPairOfReflectsColimitOfIsSplitPair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {A B : D} (f g : A ⟶ B) [G.IsSplitPair f g]
[CategoryTheory.Monad.ReflectsColimitOfIsSplitPair G],
CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instReflectsColimitWalkingParallelPairParallelPairMapAAppCounitObjAOfReflectsColimitOfIsSplitPair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[CategoryTheory.Monad.ReflectsColimitOfIsSplitPair G] (A : adj.toMonad.Algebra),
CategoryTheory.Limits.ReflectsColimit (CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))) G
def CategoryTheory.Monad.monadicOfHasPreservesReflectsGSplitCoequalizers E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(F ⊣ G) →
[CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G] →
[CategoryTheory.Monad.PreservesColimitOfIsSplitPair G] →
[CategoryTheory.Monad.ReflectsColimitOfIsSplitPair G] → CategoryTheory.MonadicRightAdjoint G
To show G is a monadic right adjoint, we can show it preserves and reflects G-split
coequalizers, and D has them.
class CategoryTheory.Monad.CreatesColimitOfIsSplitPair E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] → CategoryTheory.Functor D C → Type (max (max u₁ u₂) v₁)
Typeclass expressing that for all G-split pairs f,g, G creates colimits of
parallelPair f g.
ctor CategoryTheory.Monad.CreatesColimitOfIsSplitPair.mk E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
({A B : D} →
(f g : A ⟶ B) →
[G.IsSplitPair f g] → CategoryTheory.CreatesColimit (CategoryTheory.Limits.parallelPair f g) G) →
CategoryTheory.Monad.CreatesColimitOfIsSplitPair G
abbrev CategoryTheory.Monad.CreatesColimitOfIsSplitPair.out E1 #
{C : Type u₁} →
{D : Type u₂} →
{inst : CategoryTheory.Category.{v₁, u₁} C} →
{inst_1 : CategoryTheory.Category.{v₁, u₂} D} →
{G : CategoryTheory.Functor D C} →
[self : CategoryTheory.Monad.CreatesColimitOfIsSplitPair G] →
{A B : D} →
(f g : A ⟶ B) →
[G.IsSplitPair f g] → CategoryTheory.CreatesColimit (CategoryTheory.Limits.parallelPair f g) G
For all G-split pairs f,g, G creates colimits of parallelPair f g.
instance CategoryTheory.Monad.instCreatesColimitWalkingParallelPairParallelPairOfIsSplitPairOfCreatesColimitOfIsSplitPair E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{A B : D} →
(f g : A ⟶ B) →
[G.IsSplitPair f g] →
[CategoryTheory.Monad.CreatesColimitOfIsSplitPair G] →
CategoryTheory.CreatesColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instCreatesColimitWalkingParallelPairParallelPairMapAAppCounitObjAOfCreatesColimitOfIsSplitPair E0 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(adj : F ⊣ G) →
[CategoryTheory.Monad.CreatesColimitOfIsSplitPair G] →
(A : adj.toMonad.Algebra) →
CategoryTheory.CreatesColimit
(CategoryTheory.Limits.parallelPair (F.map A.a) (adj.counit.app (F.obj A.A))) G
def CategoryTheory.Monad.monadicOfCreatesGSplitCoequalizers E3 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(F ⊣ G) → [CategoryTheory.Monad.CreatesColimitOfIsSplitPair G] → CategoryTheory.MonadicRightAdjoint G
Beck's monadicity theorem: if G has a left adjoint and creates coequalizers of G-split
pairs, then it is monadic.
This is the converse of createsGSplitCoequalizersOfMonadic.
def CategoryTheory.Monad.monadicOfHasPreservesGSplitCoequalizersOfReflectsIsomorphisms E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(F ⊣ G) →
[G.ReflectsIsomorphisms] →
[CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G] →
[CategoryTheory.Monad.PreservesColimitOfIsSplitPair G] → CategoryTheory.MonadicRightAdjoint G
An alternate version of Beck's monadicity theorem: if G reflects isomorphisms, preserves
coequalizers of G-split pairs and C has coequalizers of G-split pairs, then it is monadic.
class CategoryTheory.Monad.PreservesColimitOfIsReflexivePair 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
Typeclass expressing that for all reflexive pairs f,g, G preserves colimits of
parallelPair f g.
ctor CategoryTheory.Monad.PreservesColimitOfIsReflexivePair.mk E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor C D},
(∀ ⦃A B : C⦄ (f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G) →
CategoryTheory.Monad.PreservesColimitOfIsReflexivePair G
theorem CategoryTheory.Monad.PreservesColimitOfIsReflexivePair.out E1 #
∀ {C : Type u₁} {D : Type u₂} {inst : CategoryTheory.Category.{v₁, u₁} C} {inst_1 : CategoryTheory.Category.{v₁, u₂} D}
{G : CategoryTheory.Functor C D} [self : CategoryTheory.Monad.PreservesColimitOfIsReflexivePair G] ⦃A B : C⦄
(f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instPreservesColimitWalkingParallelPairParallelPairOfIsReflexivePairOfPreservesColimitOfIsReflexivePair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {A B : D} (f g : A ⟶ B) [CategoryTheory.IsReflexivePair f g]
[CategoryTheory.Monad.PreservesColimitOfIsReflexivePair G],
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair f g) G
instance CategoryTheory.Monad.instPreservesColimitWalkingParallelPairParallelPairMapAAppCounitObjAOfPreservesColimitOfIsReflexivePair E0 #
∀ {C : Type u₁} {D : Type u₂} [inst : CategoryTheory.Category.{v₁, u₁} C] [inst_1 : CategoryTheory.Category.{v₁, u₂} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : F ⊣ G)
[CategoryTheory.Monad.PreservesColimitOfIsReflexivePair G] (X : adj.toMonad.Algebra),
CategoryTheory.Limits.PreservesColimit (CategoryTheory.Limits.parallelPair (F.map X.a) (adj.counit.app (F.obj X.A))) G
def CategoryTheory.Monad.monadicOfHasPreservesReflexiveCoequalizersOfReflectsIsomorphisms E1 #
{C : Type u₁} →
{D : Type u₂} →
[inst : CategoryTheory.Category.{v₁, u₁} C] →
[inst_1 : CategoryTheory.Category.{v₁, u₂} D] →
{G : CategoryTheory.Functor D C} →
{F : CategoryTheory.Functor C D} →
(F ⊣ G) →
[CategoryTheory.Limits.HasReflexiveCoequalizers D] →
[G.ReflectsIsomorphisms] →
[CategoryTheory.Monad.PreservesColimitOfIsReflexivePair G] → CategoryTheory.MonadicRightAdjoint G
Reflexive (crude) monadicity theorem. If G has a right adjoint, D has and G preserves
reflexive coequalizers and G reflects isomorphisms, then G is monadic.