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.Endofunctor.Algebra

159 declarations. Mathlib docs · Source

theorem CategoryTheory.Endofunctor.Coalgebra.isoMk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (h h_1 : V₀.V ≅ V₁.V) (e_h : h = h_1)
  (w : CategoryTheory.CategoryStruct.comp V₀.str (F.map h.hom) = CategoryTheory.CategoryStruct.comp h.hom V₁.str),
  CategoryTheory.Endofunctor.Coalgebra.isoMk h w = CategoryTheory.Endofunctor.Coalgebra.isoMk h_1 ⋯

def CategoryTheory.Endofunctor.Coalgebra.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Functor C C} → CategoryTheory.Endofunctor.Coalgebra F → ℕ

def CategoryTheory.Endofunctor.Algebra.Hom.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Functor C C} → {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} → A₀.Hom A₁ → ℕ

def CategoryTheory.Endofunctor.Algebra.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Functor C C} → CategoryTheory.Endofunctor.Algebra F → ℕ

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} {f : V₀.V ⟶ V₁.V}
  {h :
    autoParam (CategoryTheory.CategoryStruct.comp V₀.str (F.map f) = CategoryTheory.CategoryStruct.comp f V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.Hom.h._autoParam}
  {f_1 : V₀.V ⟶ V₁.V}
  {h_1 :
    autoParam (CategoryTheory.CategoryStruct.comp V₀.str (F.map f_1) = CategoryTheory.CategoryStruct.comp f_1 V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.Hom.h._autoParam},
  { f := f, h := h } = { f := f_1, h := h_1 } → f = f_1

theorem CategoryTheory.Endofunctor.Algebra.Hom.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} {f : A₀.a ⟶ A₁.a}
  {h :
    autoParam (CategoryTheory.CategoryStruct.comp (F.map f) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f)
      CategoryTheory.Endofunctor.Algebra.Hom.h._autoParam}
  {f_1 : A₀.a ⟶ A₁.a}
  {h_1 :
    autoParam (CategoryTheory.CategoryStruct.comp (F.map f_1) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f_1)
      CategoryTheory.Endofunctor.Algebra.Hom.h._autoParam},
  { f := f, h := h } = { f := f_1, h := h_1 } → f = f_1

def CategoryTheory.Endofunctor.Coalgebra.Hom.ctorIdx E1 #

{C : Type u} →
  {inst : CategoryTheory.Category.{v, u} C} →
    {F : CategoryTheory.Functor C C} → {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} → V₀.Hom V₁ → ℕ

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.mk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (f f_1 : V₀.V ⟶ V₁.V) (e_f : f = f_1)
  (h : CategoryTheory.CategoryStruct.comp V₀.str (F.map f) = CategoryTheory.CategoryStruct.comp f V₁.str),
  { f := f, h := h } = { f := f_1, h := ⋯ }

theorem CategoryTheory.Endofunctor.Coalgebra.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C} {V : C} {str : V ⟶ F.obj V}
  {V_1 : C} {str_1 : V_1 ⟶ F.obj V_1}, { V := V, str := str } = { V := V_1, str := str_1 } → V = V_1 ∧ str ≍ str_1

theorem CategoryTheory.Endofunctor.Algebra.Hom.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (f : A₀.a ⟶ A₁.a)
  (h :
    autoParam (CategoryTheory.CategoryStruct.comp (F.map f) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f)
      CategoryTheory.Endofunctor.Algebra.Hom.h._autoParam)
  (f_1 : A₀.a ⟶ A₁.a)
  (h_1 :
    autoParam (CategoryTheory.CategoryStruct.comp (F.map f_1) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f_1)
      CategoryTheory.Endofunctor.Algebra.Hom.h._autoParam),
  ({ f := f, h := h } = { f := f_1, h := h_1 }) = (f = f_1)

theorem CategoryTheory.Endofunctor.Coalgebra.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C} (V : C) (str : V ⟶ F.obj V)
  (V_1 : C) (str_1 : V_1 ⟶ F.obj V_1), ({ V := V, str := str } = { V := V_1, str := str_1 }) = (V = V_1 ∧ str ≍ str_1)

theorem CategoryTheory.Endofunctor.Algebra.mk.inj E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C} {a : C} {str : F.obj a ⟶ a}
  {a_1 : C} {str_1 : F.obj a_1 ⟶ a_1}, { a := a, str := str } = { a := a_1, str := str_1 } → a = a_1 ∧ str ≍ str_1

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β),
  CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq h =
    CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq h

theorem CategoryTheory.Endofunctor.Algebra.isoMk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (h h_1 : A₀.a ≅ A₁.a) (e_h : h = h_1)
  (w : CategoryTheory.CategoryStruct.comp (F.map h.hom) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str h.hom),
  CategoryTheory.Endofunctor.Algebra.isoMk h w = CategoryTheory.Endofunctor.Algebra.isoMk h_1 ⋯

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (f : V₀.V ⟶ V₁.V)
  (h :
    autoParam (CategoryTheory.CategoryStruct.comp V₀.str (F.map f) = CategoryTheory.CategoryStruct.comp f V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.Hom.h._autoParam)
  (f_1 : V₀.V ⟶ V₁.V)
  (h_1 :
    autoParam (CategoryTheory.CategoryStruct.comp V₀.str (F.map f_1) = CategoryTheory.CategoryStruct.comp f_1 V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.Hom.h._autoParam),
  ({ f := f, h := h } = { f := f_1, h := h_1 }) = (f = f_1)

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β),
  CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq h = CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq h

theorem CategoryTheory.Endofunctor.Algebra.Hom.mk.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (f f_1 : A₀.a ⟶ A₁.a) (e_f : f = f_1)
  (h : CategoryTheory.CategoryStruct.comp (F.map f) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f),
  { f := f, h := h } = { f := f_1, h := ⋯ }

theorem CategoryTheory.Endofunctor.Algebra.mk.injEq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C} (a : C) (str : F.obj a ⟶ a)
  (a_1 : C) (str_1 : F.obj a_1 ⟶ a_1), ({ a := a, str := str } = { a := a_1, str := str_1 }) = (a = a_1 ∧ str ≍ str_1)

structure CategoryTheory.Endofunctor.Algebra E1 #

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

An algebra of an endofunctor; str stands for "structure morphism"

ctor CategoryTheory.Endofunctor.Algebra.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (a : C) → (F.obj a ⟶ a) → CategoryTheory.Endofunctor.Algebra F

abbrev CategoryTheory.Endofunctor.Algebra.a E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → CategoryTheory.Endofunctor.Algebra F → C

carrier of the algebra

abbrev CategoryTheory.Endofunctor.Algebra.str E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (self : CategoryTheory.Endofunctor.Algebra F) → F.obj self.a ⟶ self.a

structure morphism of the algebra

instance CategoryTheory.Endofunctor.instInhabitedAlgebraId E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [Inhabited C] → Inhabited (CategoryTheory.Endofunctor.Algebra (CategoryTheory.Functor.id C))

structure CategoryTheory.Endofunctor.Algebra.Hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      CategoryTheory.Endofunctor.Algebra F → CategoryTheory.Endofunctor.Algebra F → Type v

A morphism between algebras of endofunctor F

theorem CategoryTheory.Endofunctor.Algebra.Hom.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} {x y : A₀.Hom A₁}, x = y ↔ x.f = y.f

theorem CategoryTheory.Endofunctor.Algebra.Hom.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} {x y : A₀.Hom A₁}, x.f = y.f → x = y

ctor CategoryTheory.Endofunctor.Algebra.Hom.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} →
        (f : A₀.a ⟶ A₁.a) →
          autoParam (CategoryTheory.CategoryStruct.comp (F.map f) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str f)
              CategoryTheory.Endofunctor.Algebra.Hom.h._autoParam →
            A₀.Hom A₁

abbrev CategoryTheory.Endofunctor.Algebra.Hom.f E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} → A₀.Hom A₁ → (A₀.a ⟶ A₁.a)

underlying morphism between the carriers

theorem CategoryTheory.Endofunctor.Algebra.Hom.h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (self : A₀.Hom A₁),
  CategoryTheory.CategoryStruct.comp (F.map self.f) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str self.f

compatibility condition

theorem CategoryTheory.Endofunctor.Algebra.Hom.h_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (self : A₀.Hom A₁) {Z : C} (h : A₁.a ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map self.f) (CategoryTheory.CategoryStruct.comp A₁.str h) =
    CategoryTheory.CategoryStruct.comp A₀.str (CategoryTheory.CategoryStruct.comp self.f h)

compatibility condition

def CategoryTheory.Endofunctor.Algebra.Hom.id E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (A : CategoryTheory.Endofunctor.Algebra F) → A.Hom A

The identity morphism of an algebra of endofunctor F

instance CategoryTheory.Endofunctor.Algebra.Hom.instInhabited E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (A : CategoryTheory.Endofunctor.Algebra F) → Inhabited (A.Hom A)

def CategoryTheory.Endofunctor.Algebra.Hom.comp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {A₀ A₁ A₂ : CategoryTheory.Endofunctor.Algebra F} → A₀.Hom A₁ → A₁.Hom A₂ → A₀.Hom A₂

The composition of morphisms between algebras of endofunctor F

instance CategoryTheory.Endofunctor.Algebra.instCategoryStruct E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) → CategoryTheory.CategoryStruct.{v, max u v} (CategoryTheory.Endofunctor.Algebra F)

theorem CategoryTheory.Endofunctor.Algebra.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A B : CategoryTheory.Endofunctor.Algebra F} {f g : A ⟶ B},
  autoParam (f.f = g.f) CategoryTheory.Endofunctor.Algebra.ext._auto_1 → f = g

theorem CategoryTheory.Endofunctor.Algebra.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A B : CategoryTheory.Endofunctor.Algebra F} {f g : A ⟶ B},
  f = g ↔ autoParam (f.f = g.f) CategoryTheory.Endofunctor.Algebra.ext._auto_1

theorem CategoryTheory.Endofunctor.Algebra.id_eq_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (A : CategoryTheory.Endofunctor.Algebra F),
  CategoryTheory.Endofunctor.Algebra.Hom.id A = CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.Endofunctor.Algebra.id_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (A : CategoryTheory.Endofunctor.Algebra F),
  (CategoryTheory.CategoryStruct.id A).f = CategoryTheory.CategoryStruct.id A.a

theorem CategoryTheory.Endofunctor.Algebra.comp_eq_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ A₂ : CategoryTheory.Endofunctor.Algebra F} (f : A₀ ⟶ A₁) (g : A₁ ⟶ A₂),
  CategoryTheory.Endofunctor.Algebra.Hom.comp f g = CategoryTheory.CategoryStruct.comp f g

theorem CategoryTheory.Endofunctor.Algebra.comp_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ A₂ : CategoryTheory.Endofunctor.Algebra F} (f : A₀ ⟶ A₁) (g : A₁ ⟶ A₂),
  (CategoryTheory.CategoryStruct.comp f g).f = CategoryTheory.CategoryStruct.comp f.f g.f

instance CategoryTheory.Endofunctor.Algebra.instCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) → CategoryTheory.Category.{v, max u v} (CategoryTheory.Endofunctor.Algebra F)

Algebras of an endofunctor F form a category

def CategoryTheory.Endofunctor.Algebra.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} →
        (h : A₀.a ≅ A₁.a) →
          autoParam
              (CategoryTheory.CategoryStruct.comp (F.map h.hom) A₁.str =
                CategoryTheory.CategoryStruct.comp A₀.str h.hom)
              CategoryTheory.Endofunctor.Algebra.isoMk._auto_1 →
            (A₀ ≅ A₁)

To construct an isomorphism of algebras, it suffices to give an isomorphism of the As which commutes with the structure morphisms.

theorem CategoryTheory.Endofunctor.Algebra.isoMk_inv_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (h : A₀.a ≅ A₁.a)
  (w :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map h.hom) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str h.hom)
      CategoryTheory.Endofunctor.Algebra.isoMk._auto_1),
  (CategoryTheory.Endofunctor.Algebra.isoMk h w).inv.f = h.inv

theorem CategoryTheory.Endofunctor.Algebra.isoMk_hom_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (h : A₀.a ≅ A₁.a)
  (w :
    autoParam
      (CategoryTheory.CategoryStruct.comp (F.map h.hom) A₁.str = CategoryTheory.CategoryStruct.comp A₀.str h.hom)
      CategoryTheory.Endofunctor.Algebra.isoMk._auto_1),
  (CategoryTheory.Endofunctor.Algebra.isoMk h w).hom.f = h.hom

def CategoryTheory.Endofunctor.Algebra.forget E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Algebra F) C

The forgetful functor from the category of algebras, forgetting the algebraic structure.

theorem CategoryTheory.Endofunctor.Algebra.forget_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C C)
  {X Y : CategoryTheory.Endofunctor.Algebra F} (self : X.Hom Y),
  (CategoryTheory.Endofunctor.Algebra.forget F).map self = self.f

theorem CategoryTheory.Endofunctor.Algebra.forget_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C C)
  (A : CategoryTheory.Endofunctor.Algebra F), (CategoryTheory.Endofunctor.Algebra.forget F).obj A = A.a

theorem CategoryTheory.Endofunctor.Algebra.iso_of_iso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A₀ A₁ : CategoryTheory.Endofunctor.Algebra F} (f : A₀ ⟶ A₁) [CategoryTheory.IsIso f.f], CategoryTheory.IsIso f

An algebra morphism with an underlying isomorphism hom in C is an algebra isomorphism.

instance CategoryTheory.Endofunctor.Algebra.forget_reflects_iso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C},
  (CategoryTheory.Endofunctor.Algebra.forget F).ReflectsIsomorphisms

instance CategoryTheory.Endofunctor.Algebra.forget_faithful E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C},
  (CategoryTheory.Endofunctor.Algebra.forget F).Faithful

theorem CategoryTheory.Endofunctor.Algebra.epi_of_epi E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {X Y : CategoryTheory.Endofunctor.Algebra F} (f : X ⟶ Y) [h : CategoryTheory.Epi f.f], CategoryTheory.Epi f

An algebra morphism with an underlying epimorphism hom in C is an algebra epimorphism.

theorem CategoryTheory.Endofunctor.Algebra.mono_of_mono E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {X Y : CategoryTheory.Endofunctor.Algebra F} (f : X ⟶ Y) [h : CategoryTheory.Mono f.f], CategoryTheory.Mono f

An algebra morphism with an underlying monomorphism hom in C is an algebra monomorphism.

def CategoryTheory.Endofunctor.Algebra.functorOfNatTrans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (G ⟶ F) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Algebra F) (CategoryTheory.Endofunctor.Algebra G)

From a natural transformation α : G → F we get a functor from algebras of F to algebras of G.

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTrans_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : G ⟶ F)
  {X Y : CategoryTheory.Endofunctor.Algebra F} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α).map f).f = f.f

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTrans_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : G ⟶ F)
  (A : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α).obj A).str =
    CategoryTheory.CategoryStruct.comp (α.app A.a) A.str

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTrans_obj_a E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : G ⟶ F)
  (A : CategoryTheory.Endofunctor.Algebra F), ((CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α).obj A).a = A.a

def CategoryTheory.Endofunctor.Algebra.functorOfNatTransId E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      CategoryTheory.Endofunctor.Algebra.functorOfNatTrans (CategoryTheory.CategoryStruct.id F) ≅
        CategoryTheory.Functor.id (CategoryTheory.Endofunctor.Algebra F)

The identity transformation induces the identity endofunctor on the category of algebras.

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransId_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (X : CategoryTheory.Endofunctor.Algebra F),
  (CategoryTheory.Endofunctor.Algebra.functorOfNatTransId.inv.app X).f = CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransId_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (X : CategoryTheory.Endofunctor.Algebra F),
  (CategoryTheory.Endofunctor.Algebra.functorOfNatTransId.hom.app X).f = CategoryTheory.CategoryStruct.id X.a

def CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F₀ F₁ F₂ : CategoryTheory.Functor C C} →
      (α : F₀ ⟶ F₁) →
        (β : F₁ ⟶ F₂) →
          CategoryTheory.Endofunctor.Algebra.functorOfNatTrans (CategoryTheory.CategoryStruct.comp α β) ≅
            (CategoryTheory.Endofunctor.Algebra.functorOfNatTrans β).comp
              (CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α)

A composition of natural transformations gives the composition of corresponding functors.

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F₀ F₁ F₂ : CategoryTheory.Functor C C} (α : F₀ ⟶ F₁)
  (β : F₁ ⟶ F₂) (X : CategoryTheory.Endofunctor.Algebra F₂),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp α β).hom.app X).f = CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F₀ F₁ F₂ : CategoryTheory.Functor C C} (α : F₀ ⟶ F₁)
  (β : F₁ ⟶ F₂) (X : CategoryTheory.Endofunctor.Algebra F₂),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp α β).inv.app X).f = CategoryTheory.CategoryStruct.id X.a

def CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      {α β : F ⟶ G} →
        α = β →
          (CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α ≅
            CategoryTheory.Endofunctor.Algebra.functorOfNatTrans β)

If α and β are two equal natural transformations, then the functors of algebras induced by them are isomorphic. We define it like this as opposed to using eq_to_iso so that the components are nicer to prove lemmas about.

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β)
  (X : CategoryTheory.Endofunctor.Algebra G),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq h).inv.app X).f = CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β)
  (X : CategoryTheory.Endofunctor.Algebra G),
  ((CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq h).hom.app X).f = CategoryTheory.CategoryStruct.id X.a

def CategoryTheory.Endofunctor.Algebra.equivOfNatIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ≅ G) → (CategoryTheory.Endofunctor.Algebra F ≌ CategoryTheory.Endofunctor.Algebra G)

Naturally isomorphic endofunctors give equivalent categories of algebras. Furthermore, they are equivalent as categories over C, that is, we have equiv_of_nat_iso h ⋙ forget = forget.

theorem CategoryTheory.Endofunctor.Algebra.equivOfNatIso_functor E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Algebra.equivOfNatIso α).functor =
    CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α.inv

theorem CategoryTheory.Endofunctor.Algebra.equivOfNatIso_inverse E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Algebra.equivOfNatIso α).inverse =
    CategoryTheory.Endofunctor.Algebra.functorOfNatTrans α.hom

theorem CategoryTheory.Endofunctor.Algebra.equivOfNatIso_counitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Algebra.equivOfNatIso α).counitIso =
    (CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp α.inv α.hom).symm ≪≫
      CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq ⋯ ≪≫ CategoryTheory.Endofunctor.Algebra.functorOfNatTransId

theorem CategoryTheory.Endofunctor.Algebra.equivOfNatIso_unitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Algebra.equivOfNatIso α).unitIso =
    CategoryTheory.Endofunctor.Algebra.functorOfNatTransId.symm ≪≫
      CategoryTheory.Endofunctor.Algebra.functorOfNatTransEq ⋯ ≪≫
        CategoryTheory.Endofunctor.Algebra.functorOfNatTransComp α.hom α.inv

def CategoryTheory.Endofunctor.Algebra.Initial.strInv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {A : CategoryTheory.Endofunctor.Algebra F} → CategoryTheory.Limits.IsInitial A → (A.a ⟶ F.obj A.a)

The inverse of the structure map of an initial algebra

theorem CategoryTheory.Endofunctor.Algebra.Initial.left_inv' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Algebra F} (h : CategoryTheory.Limits.IsInitial A),
  { f := CategoryTheory.CategoryStruct.comp (CategoryTheory.Endofunctor.Algebra.Initial.strInv h) A.str, h := ⋯ } =
    CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.Endofunctor.Algebra.Initial.left_inv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Algebra F} (h : CategoryTheory.Limits.IsInitial A),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Endofunctor.Algebra.Initial.strInv h) A.str =
    CategoryTheory.CategoryStruct.id A.a

theorem CategoryTheory.Endofunctor.Algebra.Initial.right_inv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Algebra F} (h : CategoryTheory.Limits.IsInitial A),
  CategoryTheory.CategoryStruct.comp A.str (CategoryTheory.Endofunctor.Algebra.Initial.strInv h) =
    CategoryTheory.CategoryStruct.id (F.obj A.a)

theorem CategoryTheory.Endofunctor.Algebra.Initial.str_isIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Algebra F} (h : CategoryTheory.Limits.IsInitial A), CategoryTheory.IsIso A.str

The structure map of the initial algebra is an isomorphism, hence endofunctors preserve their initial algebras

structure CategoryTheory.Endofunctor.Coalgebra E1 #

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

A coalgebra of an endofunctor; str stands for "structure morphism"

ctor CategoryTheory.Endofunctor.Coalgebra.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (V : C) → (V ⟶ F.obj V) → CategoryTheory.Endofunctor.Coalgebra F

abbrev CategoryTheory.Endofunctor.Coalgebra.V E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → CategoryTheory.Endofunctor.Coalgebra F → C

carrier of the coalgebra

abbrev CategoryTheory.Endofunctor.Coalgebra.str E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (self : CategoryTheory.Endofunctor.Coalgebra F) → self.V ⟶ F.obj self.V

structure morphism of the coalgebra

instance CategoryTheory.Endofunctor.instInhabitedCoalgebraId E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [Inhabited C] → Inhabited (CategoryTheory.Endofunctor.Coalgebra (CategoryTheory.Functor.id C))

structure CategoryTheory.Endofunctor.Coalgebra.Hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      CategoryTheory.Endofunctor.Coalgebra F → CategoryTheory.Endofunctor.Coalgebra F → Type v

A morphism between coalgebras of an endofunctor F

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.ext_iff E0 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} {x y : V₀.Hom V₁}, x = y ↔ x.f = y.f

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.ext E1 #

∀ {C : Type u} {inst : CategoryTheory.Category.{v, u} C} {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} {x y : V₀.Hom V₁}, x.f = y.f → x = y

ctor CategoryTheory.Endofunctor.Coalgebra.Hom.mk E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} →
        (f : V₀.V ⟶ V₁.V) →
          autoParam (CategoryTheory.CategoryStruct.comp V₀.str (F.map f) = CategoryTheory.CategoryStruct.comp f V₁.str)
              CategoryTheory.Endofunctor.Coalgebra.Hom.h._autoParam →
            V₀.Hom V₁

abbrev CategoryTheory.Endofunctor.Coalgebra.Hom.f E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} → V₀.Hom V₁ → (V₀.V ⟶ V₁.V)

underlying morphism between two carriers

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.h E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (self : V₀.Hom V₁),
  CategoryTheory.CategoryStruct.comp V₀.str (F.map self.f) = CategoryTheory.CategoryStruct.comp self.f V₁.str

compatibility condition

theorem CategoryTheory.Endofunctor.Coalgebra.Hom.h_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (self : V₀.Hom V₁) {Z : C} (h : F.obj V₁.V ⟶ Z),
  CategoryTheory.CategoryStruct.comp V₀.str (CategoryTheory.CategoryStruct.comp (F.map self.f) h) =
    CategoryTheory.CategoryStruct.comp self.f (CategoryTheory.CategoryStruct.comp V₁.str h)

compatibility condition

def CategoryTheory.Endofunctor.Coalgebra.Hom.id E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (V : CategoryTheory.Endofunctor.Coalgebra F) → V.Hom V

The identity morphism of an algebra of endofunctor F

instance CategoryTheory.Endofunctor.Coalgebra.Hom.instInhabited E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} → (V : CategoryTheory.Endofunctor.Coalgebra F) → Inhabited (V.Hom V)

def CategoryTheory.Endofunctor.Coalgebra.Hom.comp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {V₀ V₁ V₂ : CategoryTheory.Endofunctor.Coalgebra F} → V₀.Hom V₁ → V₁.Hom V₂ → V₀.Hom V₂

The composition of morphisms between algebras of endofunctor F

instance CategoryTheory.Endofunctor.Coalgebra.instCategoryStruct E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) →
      CategoryTheory.CategoryStruct.{v, max u v} (CategoryTheory.Endofunctor.Coalgebra F)

theorem CategoryTheory.Endofunctor.Coalgebra.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A B : CategoryTheory.Endofunctor.Coalgebra F} {f g : A ⟶ B},
  f = g ↔ autoParam (f.f = g.f) CategoryTheory.Endofunctor.Coalgebra.ext._auto_1

theorem CategoryTheory.Endofunctor.Coalgebra.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A B : CategoryTheory.Endofunctor.Coalgebra F} {f g : A ⟶ B},
  autoParam (f.f = g.f) CategoryTheory.Endofunctor.Coalgebra.ext._auto_1 → f = g

theorem CategoryTheory.Endofunctor.Coalgebra.id_eq_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (V : CategoryTheory.Endofunctor.Coalgebra F),
  CategoryTheory.Endofunctor.Coalgebra.Hom.id V = CategoryTheory.CategoryStruct.id V

theorem CategoryTheory.Endofunctor.Coalgebra.id_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (V : CategoryTheory.Endofunctor.Coalgebra F),
  (CategoryTheory.CategoryStruct.id V).f = CategoryTheory.CategoryStruct.id V.V

theorem CategoryTheory.Endofunctor.Coalgebra.comp_eq_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ V₂ : CategoryTheory.Endofunctor.Coalgebra F} (f : V₀ ⟶ V₁) (g : V₁ ⟶ V₂),
  CategoryTheory.Endofunctor.Coalgebra.Hom.comp f g = CategoryTheory.CategoryStruct.comp f g

theorem CategoryTheory.Endofunctor.Coalgebra.comp_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ V₂ : CategoryTheory.Endofunctor.Coalgebra F} (f : V₀ ⟶ V₁) (g : V₁ ⟶ V₂),
  (CategoryTheory.CategoryStruct.comp f g).f = CategoryTheory.CategoryStruct.comp f.f g.f

instance CategoryTheory.Endofunctor.Coalgebra.instCategory E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) → CategoryTheory.Category.{v, max u v} (CategoryTheory.Endofunctor.Coalgebra F)

Coalgebras of an endofunctor F form a category

def CategoryTheory.Endofunctor.Coalgebra.isoMk E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} →
        (h : V₀.V ≅ V₁.V) →
          autoParam
              (CategoryTheory.CategoryStruct.comp V₀.str (F.map h.hom) =
                CategoryTheory.CategoryStruct.comp h.hom V₁.str)
              CategoryTheory.Endofunctor.Coalgebra.isoMk._auto_1 →
            (V₀ ≅ V₁)

To construct an isomorphism of coalgebras, it suffices to give an isomorphism of the Vs which commutes with the structure morphisms.

theorem CategoryTheory.Endofunctor.Coalgebra.isoMk_hom_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (h : V₀.V ≅ V₁.V)
  (w :
    autoParam
      (CategoryTheory.CategoryStruct.comp V₀.str (F.map h.hom) = CategoryTheory.CategoryStruct.comp h.hom V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.isoMk._auto_1),
  (CategoryTheory.Endofunctor.Coalgebra.isoMk h w).hom.f = h.hom

theorem CategoryTheory.Endofunctor.Coalgebra.isoMk_inv_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (h : V₀.V ≅ V₁.V)
  (w :
    autoParam
      (CategoryTheory.CategoryStruct.comp V₀.str (F.map h.hom) = CategoryTheory.CategoryStruct.comp h.hom V₁.str)
      CategoryTheory.Endofunctor.Coalgebra.isoMk._auto_1),
  (CategoryTheory.Endofunctor.Coalgebra.isoMk h w).inv.f = h.inv

def CategoryTheory.Endofunctor.Coalgebra.forget E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (F : CategoryTheory.Functor C C) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Coalgebra F) C

The forgetful functor from the category of coalgebras, forgetting the coalgebraic structure.

theorem CategoryTheory.Endofunctor.Coalgebra.forget_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C C)
  {X Y : CategoryTheory.Endofunctor.Coalgebra F} (f : X ⟶ Y),
  (CategoryTheory.Endofunctor.Coalgebra.forget F).map f = f.f

theorem CategoryTheory.Endofunctor.Coalgebra.forget_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C C)
  (A : CategoryTheory.Endofunctor.Coalgebra F), (CategoryTheory.Endofunctor.Coalgebra.forget F).obj A = A.V

theorem CategoryTheory.Endofunctor.Coalgebra.iso_of_iso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {V₀ V₁ : CategoryTheory.Endofunctor.Coalgebra F} (f : V₀ ⟶ V₁) [CategoryTheory.IsIso f.f], CategoryTheory.IsIso f

A coalgebra morphism with an underlying isomorphism hom in C is a coalgebra isomorphism.

instance CategoryTheory.Endofunctor.Coalgebra.forget_reflects_iso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C},
  (CategoryTheory.Endofunctor.Coalgebra.forget F).ReflectsIsomorphisms

instance CategoryTheory.Endofunctor.Coalgebra.forget_faithful E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C},
  (CategoryTheory.Endofunctor.Coalgebra.forget F).Faithful

theorem CategoryTheory.Endofunctor.Coalgebra.epi_of_epi E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {X Y : CategoryTheory.Endofunctor.Coalgebra F} (f : X ⟶ Y) [h : CategoryTheory.Epi f.f], CategoryTheory.Epi f

An algebra morphism with an underlying epimorphism hom in C is an algebra epimorphism.

theorem CategoryTheory.Endofunctor.Coalgebra.mono_of_mono E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {X Y : CategoryTheory.Endofunctor.Coalgebra F} (f : X ⟶ Y) [h : CategoryTheory.Mono f.f], CategoryTheory.Mono f

An algebra morphism with an underlying monomorphism hom in C is an algebra monomorphism.

def CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ⟶ G) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Coalgebra F) (CategoryTheory.Endofunctor.Coalgebra G)

From a natural transformation α : F → G we get a functor from coalgebras of F to coalgebras of G.

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ⟶ G)
  (V : CategoryTheory.Endofunctor.Coalgebra F),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α).obj V).str =
    CategoryTheory.CategoryStruct.comp V.str (α.app V.V)

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans_obj_V E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ⟶ G)
  (V : CategoryTheory.Endofunctor.Coalgebra F),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α).obj V).V = V.V

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ⟶ G)
  {X Y : CategoryTheory.Endofunctor.Coalgebra F} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α).map f).f = f.f

def CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans (CategoryTheory.CategoryStruct.id F) ≅
        CategoryTheory.Functor.id (CategoryTheory.Endofunctor.Coalgebra F)

The identity transformation induces the identity endofunctor on the category of coalgebras.

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (X : CategoryTheory.Endofunctor.Coalgebra F),
  (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId.inv.app X).f = CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  (X : CategoryTheory.Endofunctor.Coalgebra F),
  (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId.hom.app X).f = CategoryTheory.CategoryStruct.id X.V

def CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F₀ F₁ F₂ : CategoryTheory.Functor C C} →
      (α : F₀ ⟶ F₁) →
        (β : F₁ ⟶ F₂) →
          CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans (CategoryTheory.CategoryStruct.comp α β) ≅
            (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α).comp
              (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans β)

A composition of natural transformations gives the composition of corresponding functors.

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F₀ F₁ F₂ : CategoryTheory.Functor C C} (α : F₀ ⟶ F₁)
  (β : F₁ ⟶ F₂) (X : CategoryTheory.Endofunctor.Coalgebra F₀),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp α β).inv.app X).f = CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F₀ F₁ F₂ : CategoryTheory.Functor C C} (α : F₀ ⟶ F₁)
  (β : F₁ ⟶ F₂) (X : CategoryTheory.Endofunctor.Coalgebra F₀),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp α β).hom.app X).f = CategoryTheory.CategoryStruct.id X.V

def CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      {α β : F ⟶ G} →
        α = β →
          (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α ≅
            CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans β)

If α and β are two equal natural transformations, then the functors of coalgebras induced by them are isomorphic. We define it like this as opposed to using eq_to_iso so that the components are nicer to prove lemmas about.

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β)
  (X : CategoryTheory.Endofunctor.Coalgebra F),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq h).hom.app X).f = CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} {α β : F ⟶ G} (h : α = β)
  (X : CategoryTheory.Endofunctor.Coalgebra F),
  ((CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq h).inv.app X).f = CategoryTheory.CategoryStruct.id X.V

def CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ≅ G) → (CategoryTheory.Endofunctor.Coalgebra F ≌ CategoryTheory.Endofunctor.Coalgebra G)

Naturally isomorphic endofunctors give equivalent categories of coalgebras. Furthermore, they are equivalent as categories over C, that is, we have equiv_of_nat_iso h ⋙ forget = forget.

theorem CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso_inverse E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso α).inverse =
    CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α.inv

theorem CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso_counitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso α).counitIso =
    (CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp α.inv α.hom).symm ≪≫
      CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq ⋯ ≪≫
        CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId

theorem CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso_unitIso E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso α).unitIso =
    CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransId.symm ≪≫
      CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransEq ⋯ ≪≫
        CategoryTheory.Endofunctor.Coalgebra.functorOfNatTransComp α.hom α.inv

theorem CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso_functor E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (α : F ≅ G),
  (CategoryTheory.Endofunctor.Coalgebra.equivOfNatIso α).functor =
    CategoryTheory.Endofunctor.Coalgebra.functorOfNatTrans α.hom

def CategoryTheory.Endofunctor.Coalgebra.Terminal.strInv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F : CategoryTheory.Functor C C} →
      {A : CategoryTheory.Endofunctor.Coalgebra F} → CategoryTheory.Limits.IsTerminal A → (F.obj A.V ⟶ A.V)

The inverse of the structure map of a terminal coalgebra

theorem CategoryTheory.Endofunctor.Coalgebra.Terminal.right_inv' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Coalgebra F} (h : CategoryTheory.Limits.IsTerminal A),
  { f := CategoryTheory.CategoryStruct.comp A.str (CategoryTheory.Endofunctor.Coalgebra.Terminal.strInv h), h := ⋯ } =
    CategoryTheory.CategoryStruct.id A

theorem CategoryTheory.Endofunctor.Coalgebra.Terminal.right_inv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Coalgebra F} (h : CategoryTheory.Limits.IsTerminal A),
  CategoryTheory.CategoryStruct.comp A.str (CategoryTheory.Endofunctor.Coalgebra.Terminal.strInv h) =
    CategoryTheory.CategoryStruct.id A.V

theorem CategoryTheory.Endofunctor.Coalgebra.Terminal.left_inv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Coalgebra F} (h : CategoryTheory.Limits.IsTerminal A),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Endofunctor.Coalgebra.Terminal.strInv h) A.str =
    CategoryTheory.CategoryStruct.id (F.obj A.V)

theorem CategoryTheory.Endofunctor.Coalgebra.Terminal.str_isIso E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F : CategoryTheory.Functor C C}
  {A : CategoryTheory.Endofunctor.Coalgebra F} (h : CategoryTheory.Limits.IsTerminal A), CategoryTheory.IsIso A.str

The structure map of the terminal coalgebra is an isomorphism, hence endofunctors preserve their terminal coalgebras

theorem CategoryTheory.Endofunctor.Adjunction.Algebra.homEquiv_naturality_str E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (A₁ A₂ : CategoryTheory.Endofunctor.Algebra F) (f : A₁ ⟶ A₂),
  CategoryTheory.CategoryStruct.comp ((adj.homEquiv A₁.a A₁.a) A₁.str) (G.map f.f) =
    CategoryTheory.CategoryStruct.comp f.f ((adj.homEquiv A₂.a A₂.a) A₂.str)

theorem CategoryTheory.Endofunctor.Adjunction.Coalgebra.homEquiv_naturality_str_symm E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (V₁ V₂ : CategoryTheory.Endofunctor.Coalgebra G) (f : V₁ ⟶ V₂),
  CategoryTheory.CategoryStruct.comp (F.map f.f) ((adj.homEquiv V₂.V V₂.V).symm V₂.str) =
    CategoryTheory.CategoryStruct.comp ((adj.homEquiv V₁.V V₁.V).symm V₁.str) f.f

def CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ⊣ G) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Algebra F) (CategoryTheory.Endofunctor.Coalgebra G)

Given an adjunction F ⊣ G, the functor that associates to an algebra over F a coalgebra over G defined via adjunction applied to the structure map.

theorem CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf_obj_V E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (A : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf adj).obj A).V = A.a

theorem CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  {X Y : CategoryTheory.Endofunctor.Algebra F} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf adj).map f).f = f.f

theorem CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (A : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf adj).obj A).str = (adj.homEquiv A.a A.a) A.str

def CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ⊣ G) → CategoryTheory.Functor (CategoryTheory.Endofunctor.Coalgebra G) (CategoryTheory.Endofunctor.Algebra F)

Given an adjunction F ⊣ G, the functor that associates to a coalgebra over G an algebra over F defined via adjunction applied to the structure map.

theorem CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf_obj_a E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (V : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf adj).obj V).a = V.V

theorem CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (V : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf adj).obj V).str = (adj.homEquiv V.V V.V).symm V.str

theorem CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  {X Y : CategoryTheory.Endofunctor.Coalgebra G} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf adj).map f).f = f.f

def CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.unitIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (adj : F ⊣ G) →
        CategoryTheory.Functor.id (CategoryTheory.Endofunctor.Algebra F) ≅
          (CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf adj).comp
            (CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf adj)

Given an adjunction, assigning to an algebra over the left adjoint a coalgebra over its right adjoint and going back is isomorphic to the identity functor.

theorem CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.unitIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.unitIso adj).inv.app X).f = CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.unitIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.unitIso adj).hom.app X).f = CategoryTheory.CategoryStruct.id X.a

def CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.counitIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (adj : F ⊣ G) →
        (CategoryTheory.Endofunctor.Adjunction.Coalgebra.toAlgebraOf adj).comp
            (CategoryTheory.Endofunctor.Adjunction.Algebra.toCoalgebraOf adj) ≅
          CategoryTheory.Functor.id (CategoryTheory.Endofunctor.Coalgebra G)

Given an adjunction, assigning to a coalgebra over the right adjoint an algebra over the left adjoint and going back is isomorphic to the identity functor.

theorem CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.counitIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.counitIso adj).inv.app X).f =
    CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.counitIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.AlgCoalgEquiv.counitIso adj).hom.app X).f =
    CategoryTheory.CategoryStruct.id X.V

def CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {F G : CategoryTheory.Functor C C} →
      (F ⊣ G) → (CategoryTheory.Endofunctor.Algebra F ≌ CategoryTheory.Endofunctor.Coalgebra G)

If F is left adjoint to G, then the category of algebras over F is equivalent to the category of coalgebras over G.

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_unitIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).unitIso.hom.app X).f =
    CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_inverse_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (V : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).inverse.obj V).str =
    (adj.homEquiv V.V V.V).symm V.str

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_inverse_obj_a E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (V : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).inverse.obj V).a = V.V

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_functor_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  {X Y : CategoryTheory.Endofunctor.Algebra F} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).functor.map f).f = f.f

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_counitIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).counitIso.inv.app X).f =
    CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_unitIso_inv_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).unitIso.inv.app X).f =
    CategoryTheory.CategoryStruct.id X.a

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_functor_obj_V E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (A : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).functor.obj A).V = A.a

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_counitIso_hom_app_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (X : CategoryTheory.Endofunctor.Coalgebra G),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).counitIso.hom.app X).f =
    CategoryTheory.CategoryStruct.id X.V

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_functor_obj_str E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  (A : CategoryTheory.Endofunctor.Algebra F),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).functor.obj A).str = (adj.homEquiv A.a A.a) A.str

theorem CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv_inverse_map_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {F G : CategoryTheory.Functor C C} (adj : F ⊣ G)
  {X Y : CategoryTheory.Endofunctor.Coalgebra G} (f : X ⟶ Y),
  ((CategoryTheory.Endofunctor.Adjunction.algebraCoalgebraEquiv adj).inverse.map f).f = f.f