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.Comma.Over.Basic

410 declarations. Mathlib docs · Source

Over and under categories

Over (and under) categories are special cases of comma categories.

  • If L is the identity functor and R is a constant functor, then Comma L R is the "slice" or "over" category over the object R maps to.
  • Conversely, if L is a constant functor and R is the identity functor, then Comma L R is the "coslice" or "under" category under the object L maps to.

Tags

Comma, Slice, Coslice, Over, Under

This section proves various equalities between functors that demonstrate, for instance, that over categories assemble into a functor mapFunctor : T ⥤ Cat.

These equalities between functors are then converted to natural isomorphisms using eqToIso. Such natural isomorphisms could be obtained directly using Iso.refl but this method will have better computational properties, when used, for instance, in developing the theory of Beck-Chevalley transformations.

This section proves various equalities between functors that demonstrate, for instance, that under categories assemble into a functor mapFunctor : Tᵒᵖ ⥤ Cat.

theorem CategoryTheory.Over.homMk.congr_simp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X}
  (f f_1 : U.left ⟶ V.left) (e_f : f = f_1) (w : CategoryTheory.CategoryStruct.comp f V.hom = U.hom),
  CategoryTheory.Over.homMk f w = CategoryTheory.Over.homMk f_1 ⋯

theorem CategoryTheory.Over.isoMk.congr_simp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X}
  (hl hl_1 : f.left ≅ g.left) (e_hl : hl = hl_1) (hw : CategoryTheory.CategoryStruct.comp hl.hom g.hom = f.hom),
  CategoryTheory.Over.isoMk hl hw = CategoryTheory.Over.isoMk hl_1 ⋯

theorem CategoryTheory.Under.isoMk.congr_simp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X}
  (hr hr_1 : f.right ≅ g.right) (e_hr : hr = hr_1) (hw : CategoryTheory.CategoryStruct.comp f.hom hr.hom = g.hom),
  CategoryTheory.Under.isoMk hr hw = CategoryTheory.Under.isoMk hr_1 ⋯

theorem CategoryTheory.Under.homMk.congr_simp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X}
  (f f_1 : U.right ⟶ V.right) (e_f : f = f_1) (w : CategoryTheory.CategoryStruct.comp U.hom f = V.hom),
  CategoryTheory.Under.homMk f w = CategoryTheory.Under.homMk f_1 ⋯

def CategoryTheory.Over E1 #

{T : Type u₁} → [CategoryTheory.Category.{v₁, u₁} T] → T → Type (max u₁ v₁)

The over category has as objects arrows in T with codomain X and as morphisms commutative triangles.

def CategoryTheory.Over.Hom E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Over X → CategoryTheory.Over X → Type (max v₁ 0)

The type of morphisms in the category Over.

instance CategoryTheory.instCategoryOver E0 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Category.{v₁, max u₁ v₁} (CategoryTheory.Over X)

instance CategoryTheory.Over.inhabited E0 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → [inst_1 : Inhabited T] → Inhabited (CategoryTheory.Over default)

abbrev CategoryTheory.Over.left E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → CategoryTheory.Over X → T

The underlying object of an object in Over X.

abbrev CategoryTheory.Over.hom E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → (f : CategoryTheory.Over X) → f.left ⟶ X

The morphism that is part of an object in Over X.

abbrev CategoryTheory.Over.Hom.left E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → {f g : CategoryTheory.Over X} → (f ⟶ g) → (f.left ⟶ g.left)

The morphism that is part of a morphism in Over X.

theorem CategoryTheory.Over.w E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (φ : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left φ) g.hom = f.hom

theorem CategoryTheory.Over.w_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (φ : f ⟶ g) {Z : T}
  (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left φ) (CategoryTheory.CategoryStruct.comp g.hom h) =
    CategoryTheory.CategoryStruct.comp f.hom h

theorem CategoryTheory.Over.Hom.w_assoc E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (φ : f ⟶ g) {Z : T}
  (h : X ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left φ) (CategoryTheory.CategoryStruct.comp g.hom h) =
    CategoryTheory.CategoryStruct.comp f.hom h

theorem CategoryTheory.Over.Hom.w E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (φ : f ⟶ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left φ) g.hom = f.hom

theorem CategoryTheory.Over.OverMorphism.ext E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} {f g : U ⟶ V},
  CategoryTheory.Over.Hom.left f = CategoryTheory.Over.Hom.left g → f = g

theorem CategoryTheory.Over.OverMorphism.ext_iff E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} {f g : U ⟶ V},
  f = g ↔ CategoryTheory.Over.Hom.left f = CategoryTheory.Over.Hom.left g

theorem CategoryTheory.Over.over_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (U : CategoryTheory.Over X),
  U.right = { as := PUnit.unit }

theorem CategoryTheory.Over.id_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (U : CategoryTheory.Over X),
  CategoryTheory.Over.Hom.left (CategoryTheory.CategoryStruct.id U) = CategoryTheory.CategoryStruct.id U.left

theorem CategoryTheory.Over.comp_left_assoc E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (a b c : CategoryTheory.Over X) (f : a ⟶ b)
  (g : b ⟶ c) {Z : T} (h : c.left ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left (CategoryTheory.CategoryStruct.comp f g)) h =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left g) h)

theorem CategoryTheory.Over.comp_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (a b c : CategoryTheory.Over X) (f : a ⟶ b)
  (g : b ⟶ c),
  CategoryTheory.Over.Hom.left (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left f) (CategoryTheory.Over.Hom.left g)

def CategoryTheory.Over.mk E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X Y : T} → (Y ⟶ X) → CategoryTheory.Over X

To give an object in the over category, it suffices to give a morphism with codomain X.

theorem CategoryTheory.Over.mk_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : Y ⟶ X), (CategoryTheory.Over.mk f).left = Y

theorem CategoryTheory.Over.mk_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : Y ⟶ X), (CategoryTheory.Over.mk f).hom = f

def CategoryTheory.Over.coeFromHom E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X Y : T} → CoeOut (Y ⟶ X) (CategoryTheory.Over X)

We can set up a coercion from arrows with codomain X to over X. This most likely should not be a global instance, but it is sometimes useful.

theorem CategoryTheory.Over.coe_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : Y ⟶ X), (CategoryTheory.Over.mk f).hom = f

def CategoryTheory.Over.homMk E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {U V : CategoryTheory.Over X} →
        (f : U.left ⟶ V.left) →
          autoParam (CategoryTheory.CategoryStruct.comp f V.hom = U.hom) CategoryTheory.Over.homMk._auto_1 → (U ⟶ V)

To give a morphism in the over category, it suffices to give an arrow fitting in a commutative triangle.

theorem CategoryTheory.Over.homMk_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} (f : U.left ⟶ V.left)
  (w : autoParam (CategoryTheory.CategoryStruct.comp f V.hom = U.hom) CategoryTheory.Over.homMk._auto_1),
  (CategoryTheory.Over.homMk f w).left = f

theorem CategoryTheory.Over.homMk_eta E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} (f : U ⟶ V)
  (h : CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left f) V.hom = U.hom),
  CategoryTheory.Over.homMk (CategoryTheory.Over.Hom.left f) h = f

theorem CategoryTheory.Over.homMk_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V W : CategoryTheory.Over X}
  (f : U.left ⟶ V.left) (g : V.left ⟶ W.left) (w_f : CategoryTheory.CategoryStruct.comp f V.hom = U.hom)
  (w_g : CategoryTheory.CategoryStruct.comp g W.hom = V.hom),
  CategoryTheory.Over.homMk (CategoryTheory.CategoryStruct.comp f g) ⋯ =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.homMk f w_f) (CategoryTheory.Over.homMk g w_g)

This is useful when homMk (· ≫ ·) appears under Functor.map or a natural equivalence.

def CategoryTheory.Over.isoMk E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {f g : CategoryTheory.Over X} →
        (hl : f.left ≅ g.left) →
          autoParam (CategoryTheory.CategoryStruct.comp hl.hom g.hom = f.hom) CategoryTheory.Over.isoMk._auto_1 →
            (f ≅ g)

Construct an isomorphism in the over category given isomorphisms of the objects whose forward direction gives a commutative triangle.

theorem CategoryTheory.Over.isoMk_inv_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (hl : f.left ≅ g.left)
  (hw : autoParam (CategoryTheory.CategoryStruct.comp hl.hom g.hom = f.hom) CategoryTheory.Over.isoMk._auto_1),
  (CategoryTheory.Over.isoMk hl hw).inv.left = hl.inv

theorem CategoryTheory.Over.isoMk_hom_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (hl : f.left ≅ g.left)
  (hw : autoParam (CategoryTheory.CategoryStruct.comp hl.hom g.hom = f.hom) CategoryTheory.Over.isoMk._auto_1),
  (CategoryTheory.Over.isoMk hl hw).hom.left = hl.hom

theorem CategoryTheory.Over.eqToHom_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (h : f = g),
  CategoryTheory.Over.Hom.left (CategoryTheory.eqToHom h) = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Over.hom_left_inv_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (e : f ≅ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.hom) (CategoryTheory.Over.Hom.left e.inv) =
    CategoryTheory.CategoryStruct.id f.left

theorem CategoryTheory.Over.hom_left_inv_left_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (e : f ≅ g) {Z : T}
  (h : f.left ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.inv) h) =
    h

theorem CategoryTheory.Over.inv_left_hom_left_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (e : f ≅ g) {Z : T}
  (h : g.left ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.inv)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.hom) h) =
    h

theorem CategoryTheory.Over.inv_left_hom_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (e : f ≅ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Over.Hom.left e.inv) (CategoryTheory.Over.Hom.left e.hom) =
    CategoryTheory.CategoryStruct.id g.left

theorem CategoryTheory.Over.forall_iff E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (P : CategoryTheory.Over X → Prop),
  (∀ (Y : CategoryTheory.Over X), P Y) ↔ ∀ (Y : T) (f : Y ⟶ X), P (CategoryTheory.Over.mk f)

theorem CategoryTheory.Over.mk_surjective E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : T} (X : CategoryTheory.Over S),
  ∃ Y f, CategoryTheory.Over.mk f = X

theorem CategoryTheory.Over.homMk_surjective E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : T} {X Y : CategoryTheory.Over S} (f : X ⟶ Y),
  ∃ g, ∃ (hg : CategoryTheory.CategoryStruct.comp g Y.hom = X.hom), f = CategoryTheory.Over.homMk g ⋯

def CategoryTheory.Over.forget E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → (X : T) → CategoryTheory.Functor (CategoryTheory.Over X) T

The forgetful functor mapping an arrow to its domain.

theorem CategoryTheory.Over.forget_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U : CategoryTheory.Over X},
  (CategoryTheory.Over.forget X).obj U = U.left

theorem CategoryTheory.Over.forget_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} {f : U ⟶ V},
  (CategoryTheory.Over.forget X).map f = CategoryTheory.Over.Hom.left f

def CategoryTheory.Over.forgetCocone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → (X : T) → CategoryTheory.Limits.Cocone (CategoryTheory.Over.forget X)

The natural cocone over the forgetful functor Over X ⥤ T with cocone point X.

theorem CategoryTheory.Over.forgetCocone_pt E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T), (CategoryTheory.Over.forgetCocone X).pt = X

theorem CategoryTheory.Over.forgetCocone_ι_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T)
  (self : CategoryTheory.Comma (CategoryTheory.Functor.id T) (CategoryTheory.Functor.fromPUnit X)),
  (CategoryTheory.Over.forgetCocone X).ι.app self = self.hom

def CategoryTheory.Over.map E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} → (X ⟶ Y) → CategoryTheory.Functor (CategoryTheory.Over X) (CategoryTheory.Over Y)

A morphism f : X ⟶ Y induces a functor Over X ⥤ Over Y in the obvious way.

theorem CategoryTheory.Over.map_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U : CategoryTheory.Over X},
  ((CategoryTheory.Over.map f).obj U).left = U.left

theorem CategoryTheory.Over.map_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U : CategoryTheory.Over X},
  ((CategoryTheory.Over.map f).obj U).hom = CategoryTheory.CategoryStruct.comp U.hom f

theorem CategoryTheory.Over.map_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U V : CategoryTheory.Over X}
  {g : U ⟶ V}, CategoryTheory.Over.Hom.left ((CategoryTheory.Over.map f).map g) = CategoryTheory.Over.Hom.left g

def CategoryTheory.Over.mapIso E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → {X Y : T} → (X ≅ Y) → (CategoryTheory.Over X ≌ CategoryTheory.Over Y)

If f is an isomorphism, map f is an equivalence of categories.

theorem CategoryTheory.Over.mapIso_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ≅ Y),
  (CategoryTheory.Over.mapIso f).functor = CategoryTheory.Over.map f.hom

theorem CategoryTheory.Over.mapIso_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ≅ Y),
  (CategoryTheory.Over.mapIso f).inverse = CategoryTheory.Over.map f.inv

instance CategoryTheory.Over.instIsEquivalenceMapOfIsIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} [CategoryTheory.IsIso f],
  (CategoryTheory.Over.map f).IsEquivalence

def CategoryTheory.Over.mapId E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (Y : T) →
      CategoryTheory.Over.map (CategoryTheory.CategoryStruct.id Y) ≅ CategoryTheory.Functor.id (CategoryTheory.Over Y)

The natural isomorphism arising from mapForget_eq.

theorem CategoryTheory.Over.mapId_inv_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T) (X : CategoryTheory.Over Y),
  ((CategoryTheory.Over.mapId Y).inv.app X).left = CategoryTheory.CategoryStruct.id X.left

theorem CategoryTheory.Over.mapId_hom_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T) (X : CategoryTheory.Over Y),
  ((CategoryTheory.Over.mapId Y).hom.app X).left = CategoryTheory.CategoryStruct.id X.left

theorem CategoryTheory.Over.mapId_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T),
  CategoryTheory.Over.map (CategoryTheory.CategoryStruct.id Y) = CategoryTheory.Functor.id (CategoryTheory.Over Y)

Mapping by the identity morphism is just the identity functor.

theorem CategoryTheory.Over.mapForget_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y),
  (CategoryTheory.Over.map f).comp (CategoryTheory.Over.forget Y) = CategoryTheory.Over.forget X

Mapping by f and then forgetting is the same as forgetting.

def CategoryTheory.Over.mapForget E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} →
      (f : X ⟶ Y) → (CategoryTheory.Over.map f).comp (CategoryTheory.Over.forget Y) ≅ CategoryTheory.Over.forget X

The natural isomorphism arising from mapForget_eq.

def CategoryTheory.Over.mapComp E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y Z : T} →
      (f : X ⟶ Y) →
        (g : Y ⟶ Z) →
          CategoryTheory.Over.map (CategoryTheory.CategoryStruct.comp f g) ≅
            (CategoryTheory.Over.map f).comp (CategoryTheory.Over.map g)

The natural isomorphism arising from mapComp_eq.

theorem CategoryTheory.Over.mapComp_hom_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z)
  (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.mapComp f g).hom.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.Over.mapComp_inv_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z)
  (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.mapComp f g).inv.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.Over.mapComp_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z),
  CategoryTheory.Over.map (CategoryTheory.CategoryStruct.comp f g) =
    (CategoryTheory.Over.map f).comp (CategoryTheory.Over.map g)

Mapping by the composite morphism f ≫ g is the same as mapping by f then by g.

def CategoryTheory.Over.mapCongr E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} → (f g : X ⟶ Y) → f = g → (CategoryTheory.Over.map f ≅ CategoryTheory.Over.map g)

If f = g, then map f is naturally isomorphic to map g.

theorem CategoryTheory.Over.mapCongr_inv_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f g : X ⟶ Y) (h : f = g)
  (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.mapCongr f g h).inv.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.Over.mapCongr_hom_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f g : X ⟶ Y) (h : f = g)
  (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.mapCongr f g h).hom.app X_1).left = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.Over.mapCongr_rfl E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y),
  CategoryTheory.Over.mapCongr f f ⋯ = CategoryTheory.Iso.refl (CategoryTheory.Over.map f)

def CategoryTheory.Over.mapFunctor E1 #

(T : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} T] → CategoryTheory.Functor T CategoryTheory.Cat

The functor defined by the over categories

theorem CategoryTheory.Over.mapFunctor_obj E0 #

∀ (T : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T),
  (CategoryTheory.Over.mapFunctor T).obj X = ↧(CategoryTheory.Over X)

theorem CategoryTheory.Over.mapFunctor_map E0 #

∀ (T : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y),
  (CategoryTheory.Over.mapFunctor T).map f = (CategoryTheory.Over.map f).toCatHom

instance CategoryTheory.Over.forget_reflects_iso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T}, (CategoryTheory.Over.forget X).ReflectsIsomorphisms

def CategoryTheory.Over.mkIdTerminal E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Limits.IsTerminal (CategoryTheory.Over.mk (CategoryTheory.CategoryStruct.id X))

The identity over X is terminal.

theorem CategoryTheory.Over.mkIdTerminal_from_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (Y : CategoryTheory.Over X),
  CategoryTheory.Over.Hom.left (CategoryTheory.Over.mkIdTerminal.from Y) = Y.hom

instance CategoryTheory.Over.forget_faithful E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T}, (CategoryTheory.Over.forget X).Faithful

theorem CategoryTheory.Over.epi_of_epi_left E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (k : f ⟶ g)
  [hk : CategoryTheory.Epi (CategoryTheory.Over.Hom.left k)], CategoryTheory.Epi k

If k.left is an epimorphism, then k is an epimorphism. In other words, Over.forget X reflects epimorphisms. The converse does not hold without additional assumptions on the underlying category, see CategoryTheory.Over.epi_left_of_epi.

instance CategoryTheory.Over.epi_homMk E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} {f : U.left ⟶ V.left}
  [CategoryTheory.Epi f] (w : CategoryTheory.CategoryStruct.comp f V.hom = U.hom),
  CategoryTheory.Epi (CategoryTheory.Over.homMk f w)

theorem CategoryTheory.Over.mono_of_mono_left E2 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (k : f ⟶ g)
  [hk : CategoryTheory.Mono (CategoryTheory.Over.Hom.left k)], CategoryTheory.Mono k

If k.left is a monomorphism, then k is a monomorphism. In other words, Over.forget X reflects monomorphisms. The converse of CategoryTheory.Over.mono_left_of_mono.

This lemma is not an instance, to avoid loops in type class inference.

instance CategoryTheory.Over.mono_homMk E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Over X} {f : U.left ⟶ V.left}
  [CategoryTheory.Mono f] (w : CategoryTheory.CategoryStruct.comp f V.hom = U.hom),
  CategoryTheory.Mono (CategoryTheory.Over.homMk f w)

instance CategoryTheory.Over.mono_left_of_mono E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (k : f ⟶ g)
  [CategoryTheory.Mono k], CategoryTheory.Mono (CategoryTheory.Over.Hom.left k)

If k is a monomorphism, then k.left is a monomorphism. In other words, Over.forget X preserves monomorphisms. The converse of CategoryTheory.Over.mono_of_mono_left.

def CategoryTheory.Over.iteratedSliceForward E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → (f : CategoryTheory.Over X) → CategoryTheory.Functor (CategoryTheory.Over f) (CategoryTheory.Over f.left)

Given f : Y ⟶ X, this is the obvious functor from (T/X)/f to T/Y

theorem CategoryTheory.Over.iteratedSliceForward_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X)
  {X_1 Y : CategoryTheory.Over f} (κ : X_1 ⟶ Y),
  f.iteratedSliceForward.map κ =
    CategoryTheory.Over.homMk (CategoryTheory.Over.Hom.left (CategoryTheory.Over.Hom.left κ)) ⋯

theorem CategoryTheory.Over.iteratedSliceForward_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X)
  (α : CategoryTheory.Over f),
  f.iteratedSliceForward.obj α = CategoryTheory.Over.mk (CategoryTheory.Over.Hom.left α.hom)

def CategoryTheory.Over.iteratedSliceBackward E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → (f : CategoryTheory.Over X) → CategoryTheory.Functor (CategoryTheory.Over f.left) (CategoryTheory.Over f)

Given f : Y ⟶ X, this is the obvious functor from T/Y to (T/X)/f

theorem CategoryTheory.Over.iteratedSliceBackward_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X)
  {X_1 Y : CategoryTheory.Over f.left} (α : X_1 ⟶ Y),
  f.iteratedSliceBackward.map α =
    CategoryTheory.Over.homMk (CategoryTheory.Over.homMk (CategoryTheory.Over.Hom.left α) ⋯) ⋯

theorem CategoryTheory.Over.iteratedSliceBackward_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X)
  (g : CategoryTheory.Over f.left),
  f.iteratedSliceBackward.obj g = CategoryTheory.Over.mk (CategoryTheory.Over.homMk g.hom ⋯)

theorem CategoryTheory.Over.iteratedSliceBackward_forget E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceBackward.comp (CategoryTheory.Over.forget f) = CategoryTheory.Over.map f.hom

def CategoryTheory.Over.iteratedSliceEquiv E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → (f : CategoryTheory.Over X) → CategoryTheory.Over f ≌ CategoryTheory.Over f.left

Given f : Y ⟶ X, we have an equivalence between (T/X)/f and T/Y

theorem CategoryTheory.Over.iteratedSliceEquiv_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceEquiv.functor = f.iteratedSliceForward

theorem CategoryTheory.Over.iteratedSliceEquiv_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceEquiv.unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun g ↦
        CategoryTheory.Over.isoMk
          (CategoryTheory.Over.isoMk
            (CategoryTheory.Iso.refl ((CategoryTheory.Functor.id (CategoryTheory.Over f)).obj g).left.left) ⋯)
          ⋯)
      ⋯

theorem CategoryTheory.Over.iteratedSliceEquiv_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceEquiv.counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun g ↦
        CategoryTheory.Over.isoMk
          (CategoryTheory.Iso.refl ((f.iteratedSliceBackward.comp f.iteratedSliceForward).obj g).left) ⋯)
      ⋯

theorem CategoryTheory.Over.iteratedSliceEquiv_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceEquiv.inverse = f.iteratedSliceBackward

theorem CategoryTheory.Over.iteratedSliceForward_forget E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceForward.comp (CategoryTheory.Over.forget f.left) =
    (CategoryTheory.Over.forget f).comp (CategoryTheory.Over.forget X)

theorem CategoryTheory.Over.iteratedSliceBackward_forget_forget E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (f : CategoryTheory.Over X),
  f.iteratedSliceBackward.comp ((CategoryTheory.Over.forget f).comp (CategoryTheory.Over.forget X)) =
    CategoryTheory.Over.forget f.left

def CategoryTheory.Over.iteratedSliceForwardNaturalityIso E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {f g : CategoryTheory.Over X} →
        (p : f ⟶ g) →
          f.iteratedSliceForward.comp (CategoryTheory.Over.map (CategoryTheory.Over.Hom.left p)) ≅
            (CategoryTheory.Over.map p).comp g.iteratedSliceForward

The naturality of the iterated slice equivalence up to isomorphism.

theorem CategoryTheory.Over.iteratedSliceForwardNaturalityIso_hom_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (p : f ⟶ g)
  (X_1 : CategoryTheory.Over f),
  (CategoryTheory.Over.iteratedSliceForwardNaturalityIso p).hom.app X_1 =
    CategoryTheory.CategoryStruct.id
      ((CategoryTheory.Over.map (CategoryTheory.Over.Hom.left p)).obj
        (CategoryTheory.Over.mk (CategoryTheory.Over.Hom.left X_1.hom)))

theorem CategoryTheory.Over.iteratedSliceForwardNaturalityIso_inv_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (p : f ⟶ g)
  (X_1 : CategoryTheory.Over f),
  (CategoryTheory.Over.iteratedSliceForwardNaturalityIso p).inv.app X_1 =
    CategoryTheory.CategoryStruct.id
      ((CategoryTheory.Over.map (CategoryTheory.Over.Hom.left p)).obj
        (CategoryTheory.Over.mk (CategoryTheory.Over.Hom.left X_1.hom)))

def CategoryTheory.Over.iteratedSliceEquivOverMapIso E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {f g : CategoryTheory.Over X} →
        (p : f ⟶ g) →
          f.iteratedSliceForward.comp
              ((CategoryTheory.Over.map (CategoryTheory.Over.Hom.left p)).comp g.iteratedSliceBackward) ≅
            CategoryTheory.Over.map p

The natural isomorphism relating the functor Over.map p to the functor Over.map p.left, mediated by the underlying functor of the iterated slice equivalence. Note that iteratedSliceForward can in fact be considered as a natural transformation from the 2-functor Over (C := Over X) : Over X ⥤ Cat to the composite 2-functor forget X ⋙ Over : Over X ⥤ Cat, and the naturality isomorphism is then given by iteratedSliceEquivOverMapIso.

theorem CategoryTheory.Over.iteratedSliceEquivOverMapIso_inv_app_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (p : f ⟶ g)
  (X_1 : CategoryTheory.Over f),
  ((CategoryTheory.Over.iteratedSliceEquivOverMapIso p).inv.app X_1).left.left =
    CategoryTheory.CategoryStruct.id X_1.left.left

theorem CategoryTheory.Over.iteratedSliceEquivOverMapIso_hom_app_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Over X} (p : f ⟶ g)
  (X_1 : CategoryTheory.Over f),
  ((CategoryTheory.Over.iteratedSliceEquivOverMapIso p).hom.app X_1).left.left =
    CategoryTheory.CategoryStruct.id X_1.left.left

def CategoryTheory.Over.post E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          (F : CategoryTheory.Functor T D) →
            CategoryTheory.Functor (CategoryTheory.Over X) (CategoryTheory.Over (F.obj X))

A functor F : T ⥤ D induces a functor Over X ⥤ Over (F.obj X) in the obvious way.

theorem CategoryTheory.Over.post_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} (F : CategoryTheory.Functor T D) {X_1 Y : CategoryTheory.Over X} (f : X_1 ⟶ Y),
  (CategoryTheory.Over.post F).map f = CategoryTheory.Over.homMk (F.map (CategoryTheory.Over.Hom.left f)) ⋯

theorem CategoryTheory.Over.post_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} (F : CategoryTheory.Functor T D) (Y : CategoryTheory.Over X),
  (CategoryTheory.Over.post F).obj Y = CategoryTheory.Over.mk (F.map Y.hom)

theorem CategoryTheory.Over.post_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E),
  CategoryTheory.Over.post (F.comp G) = (CategoryTheory.Over.post F).comp (CategoryTheory.Over.post G)

theorem CategoryTheory.Over.post_forget_eq_forget_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (X : T),
  (CategoryTheory.Over.post F).comp (CategoryTheory.Over.forget (F.obj X)) = (CategoryTheory.Over.forget X).comp F

def CategoryTheory.Over.postComp E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {E : Type u_1} →
            [inst_2 : CategoryTheory.Category.{v_1, u_1} E] →
              (F : CategoryTheory.Functor T D) →
                (G : CategoryTheory.Functor D E) →
                  CategoryTheory.Over.post (F.comp G) ≅ (CategoryTheory.Over.post F).comp (CategoryTheory.Over.post G)

post (F ⋙ G) is isomorphic (actually equal) to post F ⋙ post G.

theorem CategoryTheory.Over.postComp_inv_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E) (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.postComp F G).inv.app X_1).left = CategoryTheory.CategoryStruct.id (G.obj (F.obj X_1.left))

theorem CategoryTheory.Over.postComp_hom_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E) (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.postComp F G).hom.app X_1).left = CategoryTheory.CategoryStruct.id (G.obj (F.obj X_1.left))

def CategoryTheory.Over.postMap E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {F G : CategoryTheory.Functor T D} →
            (e : F ⟶ G) →
              (CategoryTheory.Over.post F).comp (CategoryTheory.Over.map (e.app X)) ⟶ CategoryTheory.Over.post G

A natural transformation F ⟶ G induces a natural transformation on Over X up to Over.map.

theorem CategoryTheory.Over.postMap_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ⟶ G) (Y : CategoryTheory.Over X),
  (CategoryTheory.Over.postMap e).app Y = CategoryTheory.Over.homMk (e.app Y.left) ⋯

def CategoryTheory.Over.postCongr E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {F G : CategoryTheory.Functor T D} →
            (e : F ≅ G) →
              (CategoryTheory.Over.post F).comp (CategoryTheory.Over.map (e.hom.app X)) ≅ CategoryTheory.Over.post G

If F and G are naturally isomorphic, then Over.post F and Over.post G are also naturally isomorphic up to Over.map

theorem CategoryTheory.Over.postCongr_inv_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ≅ G) (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.postCongr e).inv.app X_1).left = e.inv.app X_1.left

theorem CategoryTheory.Over.postCongr_hom_app_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ≅ G) (X_1 : CategoryTheory.Over X),
  ((CategoryTheory.Over.postCongr e).hom.app X_1).left = e.hom.app X_1.left

instance CategoryTheory.Over.instFaithfulObjPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Faithful], (CategoryTheory.Over.post F).Faithful

instance CategoryTheory.Over.instFullObjPostOfFaithful E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Faithful] [F.Full], (CategoryTheory.Over.post F).Full

instance CategoryTheory.Over.instEssSurjObjPostOfFull E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Full] [F.EssSurj], (CategoryTheory.Over.post F).EssSurj

instance CategoryTheory.Over.instIsEquivalenceObjPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.IsEquivalence], (CategoryTheory.Over.post F).IsEquivalence

def CategoryTheory.Functor.FullyFaithful.over E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (X : T) → (F : CategoryTheory.Functor T D) → F.FullyFaithful → (CategoryTheory.Over.post F).FullyFaithful

If F is fully faithful, then so is Over.post F.

def CategoryTheory.Over.postAdjunctionRight E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {Y : D} →
          {F : CategoryTheory.Functor T D} →
            {G : CategoryTheory.Functor D T} →
              (a : F ⊣ G) →
                (CategoryTheory.Over.post F).comp (CategoryTheory.Over.map (a.counit.app Y)) ⊣
                  CategoryTheory.Over.post G

If G is a right adjoint, then so is post G : Over Y ⥤ Over (G Y).

If the left adjoint of G is F, then the left adjoint of post G is given by (X ⟶ G Y) ↦ (F X ⟶ F G Y ⟶ Y).

theorem CategoryTheory.Over.postAdjunctionRight_counit_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {Y : D} {F : CategoryTheory.Functor T D} {G : CategoryTheory.Functor D T} (a : F ⊣ G)
  (A : CategoryTheory.Over ((CategoryTheory.Functor.id D).obj Y)),
  (CategoryTheory.Over.postAdjunctionRight a).counit.app A = CategoryTheory.Over.homMk (a.counit.app A.left) ⋯

theorem CategoryTheory.Over.postAdjunctionRight_unit_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {Y : D} {F : CategoryTheory.Functor T D} {G : CategoryTheory.Functor D T} (a : F ⊣ G)
  (A : CategoryTheory.Over (G.obj Y)),
  (CategoryTheory.Over.postAdjunctionRight a).unit.app A = CategoryTheory.Over.homMk (a.unit.app A.left) ⋯

instance CategoryTheory.Over.isRightAdjoint_post E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {Y : D} {G : CategoryTheory.Functor D T} [G.IsRightAdjoint], (CategoryTheory.Over.post G).IsRightAdjoint

def CategoryTheory.Over.postEquiv E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (X : T) → (F : T ≌ D) → CategoryTheory.Over X ≌ CategoryTheory.Over (F.functor.obj X)

An equivalence of categories induces an equivalence on over categories.

theorem CategoryTheory.Over.postEquiv_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Over.postEquiv X F).inverse =
    (CategoryTheory.Over.post F.inverse).comp (CategoryTheory.Over.map (F.unitIso.inv.app X))

theorem CategoryTheory.Over.postEquiv_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Over.postEquiv X F).counitIso =
    CategoryTheory.NatIso.ofComponents (fun A ↦ CategoryTheory.Over.isoMk (F.counitIso.app A.left) ⋯) ⋯

theorem CategoryTheory.Over.postEquiv_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Over.postEquiv X F).unitIso =
    CategoryTheory.NatIso.ofComponents (fun A ↦ CategoryTheory.Over.isoMk (F.unitIso.app A.left) ⋯) ⋯

theorem CategoryTheory.Over.postEquiv_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D), (CategoryTheory.Over.postEquiv X F).functor = CategoryTheory.Over.post F.functor

def CategoryTheory.Over.iteratedSliceForwardIsoPost E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T) →
      (f : CategoryTheory.Over X) → CategoryTheory.Over.post (CategoryTheory.Over.forget X) ≅ f.iteratedSliceForward

post (Over.forget X) : Over f ⥤ Over (forget.obj f) is naturally isomorphic to the functor Over.iteratedSliceForward : Over f ⥤ Over f.left.

theorem CategoryTheory.Over.iteratedSliceForwardIsoPost_inv_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (f : CategoryTheory.Over X)
  (X_1 : CategoryTheory.Over f),
  (CategoryTheory.Over.iteratedSliceForwardIsoPost X f).inv.app X_1 =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Over.mk (CategoryTheory.Over.Hom.left X_1.hom))

theorem CategoryTheory.Over.iteratedSliceForwardIsoPost_hom_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (f : CategoryTheory.Over X)
  (X_1 : CategoryTheory.Over f),
  (CategoryTheory.Over.iteratedSliceForwardIsoPost X f).hom.app X_1 =
    CategoryTheory.CategoryStruct.id (CategoryTheory.Over.mk (CategoryTheory.Over.Hom.left X_1.hom))

def CategoryTheory.Over.equivalenceOfIsTerminal E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Limits.IsTerminal X → (CategoryTheory.Over X ≌ T)

If X : T is terminal, then the over category of X is equivalent to T.

theorem CategoryTheory.Over.equivalenceOfIsTerminal_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsTerminal X),
  (CategoryTheory.Over.equivalenceOfIsTerminal hX).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          (({ obj := fun Y ↦ CategoryTheory.Over.mk (hX.from Y), map := fun {X_1 Y} f ↦ CategoryTheory.Over.homMk f ⋯,
                    map_id := ⋯, map_comp := ⋯ }.comp
                (CategoryTheory.Over.forget X)).obj
            x))
      ⋯

theorem CategoryTheory.Over.equivalenceOfIsTerminal_inverse_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsTerminal X)
  {X_1 Y : T} (f : X_1 ⟶ Y),
  (CategoryTheory.Over.equivalenceOfIsTerminal hX).inverse.map f = CategoryTheory.Over.homMk f ⋯

theorem CategoryTheory.Over.equivalenceOfIsTerminal_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsTerminal X),
  (CategoryTheory.Over.equivalenceOfIsTerminal hX).functor = CategoryTheory.Over.forget X

theorem CategoryTheory.Over.equivalenceOfIsTerminal_inverse_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsTerminal X) (Y : T),
  (CategoryTheory.Over.equivalenceOfIsTerminal hX).inverse.obj Y = CategoryTheory.Over.mk (hX.from Y)

theorem CategoryTheory.Over.equivalenceOfIsTerminal_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsTerminal X),
  (CategoryTheory.Over.equivalenceOfIsTerminal hX).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun Y ↦
        CategoryTheory.Over.isoMk
          (CategoryTheory.Iso.refl ((CategoryTheory.Functor.id (CategoryTheory.Over X)).obj Y).left) ⋯)
      ⋯

def CategoryTheory.Over.lift E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        (D : CategoryTheory.Functor J T) →
          {X : T} → (D ⟶ (CategoryTheory.Functor.const J).obj X) → CategoryTheory.Functor J (CategoryTheory.Over X)

The induced functor to Over X from a functor J ⥤ C and natural maps sᵢ : X ⟶ Dᵢ. For the converse direction see CategoryTheory.WithTerminal.commaFromOver.

theorem CategoryTheory.Over.lift_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : D ⟶ (CategoryTheory.Functor.const J).obj X) (j : J),
  (CategoryTheory.Over.lift D s).obj j = CategoryTheory.Over.mk (s.app j)

theorem CategoryTheory.Over.lift_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : D ⟶ (CategoryTheory.Functor.const J).obj X) {X_1 Y : J} (f : X_1 ⟶ Y),
  (CategoryTheory.Over.lift D s).map f = CategoryTheory.Over.homMk (D.map f) ⋯

def CategoryTheory.Over.liftCone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        (D : CategoryTheory.Functor J T) →
          {X : T} →
            (s : D ⟶ (CategoryTheory.Functor.const J).obj X) →
              (c : CategoryTheory.Limits.Cone D) →
                (p : c.pt ⟶ X) →
                  (∀ (j : J), CategoryTheory.CategoryStruct.comp (c.π.app j) (s.app j) = p) →
                    CategoryTheory.Limits.Cone (CategoryTheory.Over.lift D s)

The induced cone on Over X on the lifted functor.

theorem CategoryTheory.Over.liftCone_π_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : D ⟶ (CategoryTheory.Functor.const J).obj X) (c : CategoryTheory.Limits.Cone D) (p : c.pt ⟶ X)
  (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (c.π.app j) (s.app j) = p) (j : J),
  (CategoryTheory.Over.liftCone D s c p hp).π.app j = CategoryTheory.Over.homMk (c.π.app j) ⋯

theorem CategoryTheory.Over.liftCone_pt E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : D ⟶ (CategoryTheory.Functor.const J).obj X) (c : CategoryTheory.Limits.Cone D) (p : c.pt ⟶ X)
  (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (c.π.app j) (s.app j) = p),
  (CategoryTheory.Over.liftCone D s c p hp).pt = CategoryTheory.Over.mk p

def CategoryTheory.Over.isLimitLiftCone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        [Nonempty J] →
          (D : CategoryTheory.Functor J T) →
            {X : T} →
              (s : D ⟶ (CategoryTheory.Functor.const J).obj X) →
                (c : CategoryTheory.Limits.Cone D) →
                  (p : c.pt ⟶ X) →
                    (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (c.π.app j) (s.app j) = p) →
                      CategoryTheory.Limits.IsLimit c →
                        CategoryTheory.Limits.IsLimit (CategoryTheory.Over.liftCone D s c p hp)

The lifted cone on Over X is a limit cone if the original cone was limiting and J is nonempty.

def CategoryTheory.Limits.Cone.overPost E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} J] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        {D : CategoryTheory.Functor J C} →
          CategoryTheory.Limits.Cone D → (j : J) → CategoryTheory.Limits.Cone (CategoryTheory.Over.post D)

Restrict a cone to the diagram over j. This preserves being limiting if the forgetful functor Over j ⥤ J is initial (see CategoryTheory.Limits.IsLimit.overPost).

theorem CategoryTheory.Limits.Cone.overPost_pt E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] {D : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.Cone D)
  (j : J), (c.overPost j).pt = CategoryTheory.Over.mk (c.π.app j)

theorem CategoryTheory.Limits.Cone.overPost_π_app E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] {D : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.Cone D)
  (j : J) (k : CategoryTheory.Over j), (c.overPost j).π.app k = CategoryTheory.Over.homMk (c.π.app k.left) ⋯

def CategoryTheory.CostructuredArrow.toOver E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          (X : T) → CategoryTheory.Functor (CategoryTheory.CostructuredArrow F X) (CategoryTheory.Over X)

Reinterpreting an F-costructured arrow F.obj d ⟶ X as an arrow over X induces a functor CostructuredArrow F X ⥤ Over X.

theorem CategoryTheory.CostructuredArrow.toOver_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T)
  (X_1 : CategoryTheory.Comma (F.comp (CategoryTheory.Functor.id T)) (CategoryTheory.Functor.fromPUnit X)),
  ((CategoryTheory.CostructuredArrow.toOver F X).obj X_1).left = F.obj X_1.left

theorem CategoryTheory.CostructuredArrow.toOver_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T)
  (X_1 : CategoryTheory.Comma (F.comp (CategoryTheory.Functor.id T)) (CategoryTheory.Functor.fromPUnit X)),
  ((CategoryTheory.CostructuredArrow.toOver F X).obj X_1).hom = X_1.hom

theorem CategoryTheory.CostructuredArrow.toOver_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T)
  {X_1 Y : CategoryTheory.Comma (F.comp (CategoryTheory.Functor.id T)) (CategoryTheory.Functor.fromPUnit X)}
  (f : X_1 ⟶ Y), ((CategoryTheory.CostructuredArrow.toOver F X).map f).left = F.map f.left

instance CategoryTheory.CostructuredArrow.instFaithfulOverToOver E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T) [F.Faithful], (CategoryTheory.CostructuredArrow.toOver F X).Faithful

instance CategoryTheory.CostructuredArrow.instFullOverToOver E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T) [F.Full], (CategoryTheory.CostructuredArrow.toOver F X).Full

instance CategoryTheory.CostructuredArrow.instEssSurjOverToOver E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T) [F.EssSurj], (CategoryTheory.CostructuredArrow.toOver F X).EssSurj

instance CategoryTheory.CostructuredArrow.isEquivalence_toOver E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (X : T) [F.IsEquivalence],
  (CategoryTheory.CostructuredArrow.toOver F X).IsEquivalence

An equivalence F induces an equivalence CostructuredArrow F X ≌ Over X.

def CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.functor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          {X : T} →
            (Y : CategoryTheory.Over X) →
              CategoryTheory.Functor (CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.toOver F X) Y)
                (CategoryTheory.CostructuredArrow F Y.left)

Auxiliary definition for costructuredArrowToOverEquivalence.

theorem CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.functor_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) {X : T} (Y : CategoryTheory.Over X)
  {X_1 Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.toOver F X) Y} (f : X_1 ⟶ Y_1),
  (CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.functor F Y).map f =
    CategoryTheory.CostructuredArrow.homMk
      (CategoryTheory.CostructuredArrow.Hom.left (CategoryTheory.CostructuredArrow.Hom.left f)) ⋯

theorem CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.functor_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) {X : T} (Y : CategoryTheory.Over X)
  (Z : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.toOver F X) Y),
  (CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.functor F Y).obj Z =
    CategoryTheory.CostructuredArrow.mk (CategoryTheory.Over.Hom.left Z.hom)

def CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.inverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          {X : T} →
            (Y : CategoryTheory.Over X) →
              CategoryTheory.Functor (CategoryTheory.CostructuredArrow F Y.left)
                (CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.toOver F X) Y)

Auxiliary definition for costructuredArrowToOverEquivalence.

theorem CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.inverse_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) {X : T} (Y : CategoryTheory.Over X) (Z : CategoryTheory.CostructuredArrow F Y.left),
  (CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.inverse F Y).obj Z =
    CategoryTheory.CostructuredArrow.mk (CategoryTheory.Over.homMk Z.hom ⋯)

theorem CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.inverse_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) {X : T} (Y : CategoryTheory.Over X)
  {X_1 Y_1 : CategoryTheory.CostructuredArrow F Y.left} (f : X_1 ⟶ Y_1),
  (CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence.inverse F Y).map f =
    CategoryTheory.CostructuredArrow.homMk
      (CategoryTheory.CostructuredArrow.homMk (CategoryTheory.CostructuredArrow.Hom.left f) ⋯) ⋯

def CategoryTheory.CostructuredArrow.costructuredArrowToOverEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          {X : T} →
            (Y : CategoryTheory.Over X) →
              CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.toOver F X) Y ≌
                CategoryTheory.CostructuredArrow F Y.left

A category of costructured arrows for a functor toOver F X identifies to a category of costructured arrows for F.

def CategoryTheory.Under E1 #

{T : Type u₁} → [CategoryTheory.Category.{v₁, u₁} T] → T → Type (max u₁ v₁)

The under category has as objects arrows with domain X and as morphisms commutative triangles.

def CategoryTheory.Under.Hom E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Under X → CategoryTheory.Under X → Type (max 0 v₁)

The type of morphisms in the category Under.

instance CategoryTheory.instCategoryUnder E0 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Category.{v₁, max u₁ v₁} (CategoryTheory.Under X)

instance CategoryTheory.Under.inhabited E0 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → [inst_1 : Inhabited T] → Inhabited (CategoryTheory.Under default)

abbrev CategoryTheory.Under.right E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → CategoryTheory.Under X → T

The underlying object of an object in Under X.

abbrev CategoryTheory.Under.hom E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → (f : CategoryTheory.Under X) → X ⟶ f.right

The morphism that is part of an object in Under X.

abbrev CategoryTheory.Under.Hom.right E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → {X : T} → {f g : CategoryTheory.Under X} → (f ⟶ g) → (f.right ⟶ g.right)

The morphism that is part of a morphism in Under X.

theorem CategoryTheory.Under.w_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (φ : f ⟶ g) {Z : T}
  (h : g.right ⟶ Z),
  CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right φ) h) =
    CategoryTheory.CategoryStruct.comp g.hom h

theorem CategoryTheory.Under.w E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (φ : f ⟶ g),
  CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.Under.Hom.right φ) = g.hom

theorem CategoryTheory.Under.Hom.w E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (φ : f ⟶ g),
  CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.Under.Hom.right φ) = g.hom

theorem CategoryTheory.Under.Hom.w_assoc E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (φ : f ⟶ g) {Z : T}
  (h : g.right ⟶ Z),
  CategoryTheory.CategoryStruct.comp f.hom (CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right φ) h) =
    CategoryTheory.CategoryStruct.comp g.hom h

theorem CategoryTheory.Under.UnderMorphism.ext E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X} {f g : U ⟶ V},
  CategoryTheory.Under.Hom.right f = CategoryTheory.Under.Hom.right g → f = g

theorem CategoryTheory.Under.UnderMorphism.ext_iff E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X} {f g : U ⟶ V},
  f = g ↔ CategoryTheory.Under.Hom.right f = CategoryTheory.Under.Hom.right g

theorem CategoryTheory.Under.under_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (U : CategoryTheory.Under X),
  U.left = { as := PUnit.unit }

theorem CategoryTheory.Under.id_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (U : CategoryTheory.Under X),
  CategoryTheory.Under.Hom.right (CategoryTheory.CategoryStruct.id U) = CategoryTheory.CategoryStruct.id U.right

theorem CategoryTheory.Under.comp_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (a b c : CategoryTheory.Under X) (f : a ⟶ b)
  (g : b ⟶ c),
  CategoryTheory.Under.Hom.right (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right f) (CategoryTheory.Under.Hom.right g)

def CategoryTheory.Under.mk E1 #

{T : Type u₁} → [inst : CategoryTheory.Category.{v₁, u₁} T] → {X Y : T} → (X ⟶ Y) → CategoryTheory.Under X

To give an object in the under category, it suffices to give an arrow with domain X.

theorem CategoryTheory.Under.mk_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y), (CategoryTheory.Under.mk f).hom = f

theorem CategoryTheory.Under.mk_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y), (CategoryTheory.Under.mk f).right = Y

def CategoryTheory.Under.homMk E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {U V : CategoryTheory.Under X} →
        (f : U.right ⟶ V.right) →
          autoParam (CategoryTheory.CategoryStruct.comp U.hom f = V.hom) CategoryTheory.Under.homMk._auto_1 → (U ⟶ V)

To give a morphism in the under category, it suffices to give a morphism fitting in a commutative triangle.

theorem CategoryTheory.Under.homMk_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X}
  (f : U.right ⟶ V.right)
  (w : autoParam (CategoryTheory.CategoryStruct.comp U.hom f = V.hom) CategoryTheory.Under.homMk._auto_1),
  (CategoryTheory.Under.homMk f w).right = f

theorem CategoryTheory.Under.homMk_eta E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X} (f : U ⟶ V)
  (h : CategoryTheory.CategoryStruct.comp U.hom (CategoryTheory.Under.Hom.right f) = V.hom),
  CategoryTheory.Under.homMk (CategoryTheory.Under.Hom.right f) h = f

theorem CategoryTheory.Under.homMk_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V W : CategoryTheory.Under X}
  (f : U.right ⟶ V.right) (g : V.right ⟶ W.right) (w_f : CategoryTheory.CategoryStruct.comp U.hom f = V.hom)
  (w_g : CategoryTheory.CategoryStruct.comp V.hom g = W.hom),
  CategoryTheory.Under.homMk (CategoryTheory.CategoryStruct.comp f g) ⋯ =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.homMk f w_f) (CategoryTheory.Under.homMk g w_g)

This is useful when homMk (· ≫ ·) appears under Functor.map or a natural equivalence.

def CategoryTheory.Under.isoMk E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} →
      {f g : CategoryTheory.Under X} →
        (hr : f.right ≅ g.right) →
          autoParam (CategoryTheory.CategoryStruct.comp f.hom hr.hom = g.hom) CategoryTheory.Under.isoMk._auto_1 →
            (f ≅ g)

Construct an isomorphism in the over category given isomorphisms of the objects whose forward direction gives a commutative triangle.

theorem CategoryTheory.Under.isoMk_inv_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X}
  (hr : f.right ≅ g.right)
  (hw : autoParam (CategoryTheory.CategoryStruct.comp f.hom hr.hom = g.hom) CategoryTheory.Under.isoMk._auto_1),
  (CategoryTheory.Under.isoMk hr hw).inv.right = hr.inv

theorem CategoryTheory.Under.isoMk_hom_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X}
  (hr : f.right ≅ g.right)
  (hw : autoParam (CategoryTheory.CategoryStruct.comp f.hom hr.hom = g.hom) CategoryTheory.Under.isoMk._auto_1),
  (CategoryTheory.Under.isoMk hr hw).hom.right = hr.hom

theorem CategoryTheory.Under.eqToHom_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (h : f = g),
  CategoryTheory.Under.Hom.right (CategoryTheory.eqToHom h) = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Under.hom_right_inv_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (e : f ≅ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.hom) (CategoryTheory.Under.Hom.right e.inv) =
    CategoryTheory.CategoryStruct.id f.right

theorem CategoryTheory.Under.hom_right_inv_right_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (e : f ≅ g) {Z : T}
  (h : f.right ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.hom)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.inv) h) =
    h

theorem CategoryTheory.Under.inv_right_hom_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (e : f ≅ g),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.inv) (CategoryTheory.Under.Hom.right e.hom) =
    CategoryTheory.CategoryStruct.id g.right

theorem CategoryTheory.Under.inv_right_hom_right_assoc E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (e : f ≅ g) {Z : T}
  (h : g.right ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.inv)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right e.hom) h) =
    h

theorem CategoryTheory.Under.forall_iff E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (P : CategoryTheory.Under X → Prop),
  (∀ (Y : CategoryTheory.Under X), P Y) ↔ ∀ (Y : T) (f : X ⟶ Y), P (CategoryTheory.Under.mk f)

theorem CategoryTheory.Under.mk_surjective E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : T} (X : CategoryTheory.Under S),
  ∃ Y f, CategoryTheory.Under.mk f = X

theorem CategoryTheory.Under.homMk_surjective E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : T} {X Y : CategoryTheory.Under S} (f : X ⟶ Y),
  ∃ g, ∃ (hg : CategoryTheory.CategoryStruct.comp X.hom g = Y.hom), CategoryTheory.Under.homMk g ⋯ = f

def CategoryTheory.Under.forget E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → (X : T) → CategoryTheory.Functor (CategoryTheory.Under X) T

The forgetful functor mapping an arrow to its domain.

theorem CategoryTheory.Under.forget_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U : CategoryTheory.Under X},
  (CategoryTheory.Under.forget X).obj U = U.right

theorem CategoryTheory.Under.forget_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X} {f : U ⟶ V},
  (CategoryTheory.Under.forget X).map f = CategoryTheory.Under.Hom.right f

def CategoryTheory.Under.forgetCone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → (X : T) → CategoryTheory.Limits.Cone (CategoryTheory.Under.forget X)

The natural cone over the forgetful functor Under X ⥤ T with cone point X.

theorem CategoryTheory.Under.forgetCone_pt E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T), (CategoryTheory.Under.forgetCone X).pt = X

theorem CategoryTheory.Under.forgetCone_π_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T)
  (self : CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit X) (CategoryTheory.Functor.id T)),
  (CategoryTheory.Under.forgetCone X).π.app self = self.hom

def CategoryTheory.Under.map E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} → (X ⟶ Y) → CategoryTheory.Functor (CategoryTheory.Under Y) (CategoryTheory.Under X)

A morphism X ⟶ Y induces a functor Under Y ⥤ Under X in the obvious way.

theorem CategoryTheory.Under.map_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U : CategoryTheory.Under Y},
  ((CategoryTheory.Under.map f).obj U).right = U.right

theorem CategoryTheory.Under.map_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U : CategoryTheory.Under Y},
  ((CategoryTheory.Under.map f).obj U).hom = CategoryTheory.CategoryStruct.comp f U.hom

theorem CategoryTheory.Under.map_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} {U V : CategoryTheory.Under Y}
  {g : U ⟶ V}, CategoryTheory.Under.Hom.right ((CategoryTheory.Under.map f).map g) = CategoryTheory.Under.Hom.right g

def CategoryTheory.Under.mapIso E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] → {X Y : T} → (X ≅ Y) → (CategoryTheory.Under Y ≌ CategoryTheory.Under X)

If f is an isomorphism, map f is an equivalence of categories.

theorem CategoryTheory.Under.mapIso_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ≅ Y),
  (CategoryTheory.Under.mapIso f).functor = CategoryTheory.Under.map f.hom

theorem CategoryTheory.Under.mapIso_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ≅ Y),
  (CategoryTheory.Under.mapIso f).inverse = CategoryTheory.Under.map f.inv

instance CategoryTheory.Under.instIsEquivalenceMapOfIsIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} {f : X ⟶ Y} [CategoryTheory.IsIso f],
  (CategoryTheory.Under.map f).IsEquivalence

def CategoryTheory.Under.mapId E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (Y : T) →
      CategoryTheory.Under.map (CategoryTheory.CategoryStruct.id Y) ≅ CategoryTheory.Functor.id (CategoryTheory.Under Y)

Mapping by the identity morphism is just the identity functor.

theorem CategoryTheory.Under.mapId_inv_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T) (X : CategoryTheory.Under Y),
  ((CategoryTheory.Under.mapId Y).inv.app X).right = CategoryTheory.CategoryStruct.id X.right

theorem CategoryTheory.Under.mapId_hom_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T) (X : CategoryTheory.Under Y),
  ((CategoryTheory.Under.mapId Y).hom.app X).right = CategoryTheory.CategoryStruct.id X.right

theorem CategoryTheory.Under.mapId_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (Y : T),
  CategoryTheory.Under.map (CategoryTheory.CategoryStruct.id Y) = CategoryTheory.Functor.id (CategoryTheory.Under Y)

Mapping by the identity morphism is just the identity functor.

theorem CategoryTheory.Under.mapForget_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f : X ⟶ Y),
  (CategoryTheory.Under.map f).comp (CategoryTheory.Under.forget X) = CategoryTheory.Under.forget Y

Mapping by f and then forgetting is the same as forgetting.

def CategoryTheory.Under.mapForget E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} →
      (f : X ⟶ Y) → (CategoryTheory.Under.map f).comp (CategoryTheory.Under.forget X) ≅ CategoryTheory.Under.forget Y

The natural isomorphism arising from mapForget_eq.

theorem CategoryTheory.Under.mapComp_eq E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z),
  CategoryTheory.Under.map (CategoryTheory.CategoryStruct.comp f g) =
    (CategoryTheory.Under.map g).comp (CategoryTheory.Under.map f)

Mapping by the composite morphism f ≫ g is the same as mapping by f then by g.

def CategoryTheory.Under.mapComp E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y Z : T} →
      (f : X ⟶ Y) →
        (g : Y ⟶ Z) →
          CategoryTheory.Under.map (CategoryTheory.CategoryStruct.comp f g) ≅
            (CategoryTheory.Under.map g).comp (CategoryTheory.Under.map f)

The natural isomorphism arising from mapComp_eq.

theorem CategoryTheory.Under.mapComp_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.Under.mapComp f g).hom = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Under.mapComp_inv E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y Z : T} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.Under.mapComp f g).inv = CategoryTheory.eqToHom ⋯

def CategoryTheory.Under.mapCongr E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X Y : T} → (f g : X ⟶ Y) → f = g → (CategoryTheory.Under.map f ≅ CategoryTheory.Under.map g)

If f = g, then map f is naturally isomorphic to map g.

theorem CategoryTheory.Under.mapCongr_inv_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f g : X ⟶ Y) (h : f = g)
  (X_1 : CategoryTheory.Under Y), (CategoryTheory.Under.mapCongr f g h).inv.app X_1 = CategoryTheory.eqToHom ⋯

theorem CategoryTheory.Under.mapCongr_hom_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : T} (f g : X ⟶ Y) (h : f = g)
  (X_1 : CategoryTheory.Under Y), (CategoryTheory.Under.mapCongr f g h).hom.app X_1 = CategoryTheory.eqToHom ⋯

def CategoryTheory.Under.mapFunctor E1 #

(T : Type u₁) → [inst : CategoryTheory.Category.{v₁, u₁} T] → CategoryTheory.Functor Tᵒᵖ CategoryTheory.Cat

The functor defined by the under categories

theorem CategoryTheory.Under.mapFunctor_obj E0 #

∀ (T : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} T] (X : Tᵒᵖ),
  (CategoryTheory.Under.mapFunctor T).obj X = ↧(CategoryTheory.Under (Opposite.unop X))

theorem CategoryTheory.Under.mapFunctor_map E0 #

∀ (T : Type u₁) [inst : CategoryTheory.Category.{v₁, u₁} T] {X Y : Tᵒᵖ} (f : X ⟶ Y),
  (CategoryTheory.Under.mapFunctor T).map f = (CategoryTheory.Under.map f.unop).toCatHom

instance CategoryTheory.Under.forget_reflects_iso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T},
  (CategoryTheory.Under.forget X).ReflectsIsomorphisms

def CategoryTheory.Under.mkIdInitial E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Limits.IsInitial (CategoryTheory.Under.mk (CategoryTheory.CategoryStruct.id X))

The identity under X is initial.

theorem CategoryTheory.Under.mkIdInitial_to_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (Y : CategoryTheory.Under X),
  CategoryTheory.Under.Hom.right (CategoryTheory.Under.mkIdInitial.to Y) = Y.hom

instance CategoryTheory.Under.forget_faithful E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T}, (CategoryTheory.Under.forget X).Faithful

theorem CategoryTheory.Under.mono_of_mono_right E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (k : f ⟶ g)
  [hk : CategoryTheory.Mono (CategoryTheory.Under.Hom.right k)], CategoryTheory.Mono k

If k.right is a monomorphism, then k is a monomorphism. In other words, Under.forget X reflects epimorphisms. The converse does not hold without additional assumptions on the underlying category, see CategoryTheory.Under.mono_right_of_mono.

instance CategoryTheory.Under.mono_homMk E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X}
  {f : U.right ⟶ V.right} [CategoryTheory.Mono f] (w : CategoryTheory.CategoryStruct.comp U.hom f = V.hom),
  CategoryTheory.Mono (CategoryTheory.Under.homMk f w)

theorem CategoryTheory.Under.epi_of_epi_right E2 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (k : f ⟶ g)
  [hk : CategoryTheory.Epi (CategoryTheory.Under.Hom.right k)], CategoryTheory.Epi k

If k.right is an epimorphism, then k is an epimorphism. In other words, Under.forget X reflects epimorphisms. The converse of CategoryTheory.Under.epi_right_of_epi.

This lemma is not an instance, to avoid loops in type class inference.

instance CategoryTheory.Under.epi_homMk E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {U V : CategoryTheory.Under X}
  {f : U.right ⟶ V.right} [CategoryTheory.Epi f] (w : CategoryTheory.CategoryStruct.comp U.hom f = V.hom),
  CategoryTheory.Epi (CategoryTheory.Under.homMk f w)

instance CategoryTheory.Under.epi_right_of_epi E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} {f g : CategoryTheory.Under X} (k : f ⟶ g)
  [CategoryTheory.Epi k], CategoryTheory.Epi (CategoryTheory.Under.Hom.right k)

If k is an epimorphism, then k.right is an epimorphism. In other words, Under.forget X preserves epimorphisms. The converse of CategoryTheory.under.epi_of_epi_right.

def CategoryTheory.Under.post E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          (F : CategoryTheory.Functor T D) →
            CategoryTheory.Functor (CategoryTheory.Under X) (CategoryTheory.Under (F.obj X))

A functor F : T ⥤ D induces a functor Under X ⥤ Under (F.obj X) in the obvious way.

theorem CategoryTheory.Under.post_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} (F : CategoryTheory.Functor T D) (Y : CategoryTheory.Under X),
  (CategoryTheory.Under.post F).obj Y = CategoryTheory.Under.mk (F.map Y.hom)

theorem CategoryTheory.Under.post_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} (F : CategoryTheory.Functor T D) {X_1 Y : CategoryTheory.Under X} (f : X_1 ⟶ Y),
  (CategoryTheory.Under.post F).map f = CategoryTheory.Under.homMk (F.map (CategoryTheory.Under.Hom.right f)) ⋯

theorem CategoryTheory.Under.post_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E),
  CategoryTheory.Under.post (F.comp G) = (CategoryTheory.Under.post F).comp (CategoryTheory.Under.post G)

theorem CategoryTheory.Under.post_forget_eq_forget_comp E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (X : T),
  (CategoryTheory.Under.post F).comp (CategoryTheory.Under.forget (F.obj X)) = (CategoryTheory.Under.forget X).comp F

def CategoryTheory.Under.postComp E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {E : Type u_1} →
            [inst_2 : CategoryTheory.Category.{v_1, u_1} E] →
              (F : CategoryTheory.Functor T D) →
                (G : CategoryTheory.Functor D E) →
                  CategoryTheory.Under.post (F.comp G) ≅
                    (CategoryTheory.Under.post F).comp (CategoryTheory.Under.post G)

post (F ⋙ G) is isomorphic (actually equal) to post F ⋙ post G.

theorem CategoryTheory.Under.postComp_inv_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E) (X_1 : CategoryTheory.Under X),
  ((CategoryTheory.Under.postComp F G).inv.app X_1).right = CategoryTheory.CategoryStruct.id (G.obj (F.obj X_1.right))

theorem CategoryTheory.Under.postComp_hom_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {E : Type u_1} [inst_2 : CategoryTheory.Category.{v_1, u_1} E] (F : CategoryTheory.Functor T D)
  (G : CategoryTheory.Functor D E) (X_1 : CategoryTheory.Under X),
  ((CategoryTheory.Under.postComp F G).hom.app X_1).right = CategoryTheory.CategoryStruct.id (G.obj (F.obj X_1.right))

def CategoryTheory.Under.postMap E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {F G : CategoryTheory.Functor T D} →
            (e : F ⟶ G) →
              CategoryTheory.Under.post F ⟶ (CategoryTheory.Under.post G).comp (CategoryTheory.Under.map (e.app X))

A natural transformation F ⟶ G induces a natural transformation on Under X up to Under.map.

theorem CategoryTheory.Under.postMap_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ⟶ G) (Y : CategoryTheory.Under X),
  (CategoryTheory.Under.postMap e).app Y = CategoryTheory.Under.homMk (e.app Y.right) ⋯

def CategoryTheory.Under.postCongr E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {F G : CategoryTheory.Functor T D} →
            (e : F ≅ G) →
              CategoryTheory.Under.post F ≅ (CategoryTheory.Under.post G).comp (CategoryTheory.Under.map (e.hom.app X))

If F and G are naturally isomorphic, then Under.post F and Under.post G are also naturally isomorphic up to Under.map

theorem CategoryTheory.Under.postCongr_inv_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ≅ G) (X_1 : CategoryTheory.Under X),
  ((CategoryTheory.Under.postCongr e).inv.app X_1).right = e.inv.app X_1.right

theorem CategoryTheory.Under.postCongr_hom_app_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F G : CategoryTheory.Functor T D} (e : F ≅ G) (X_1 : CategoryTheory.Under X),
  ((CategoryTheory.Under.postCongr e).hom.app X_1).right = e.hom.app X_1.right

instance CategoryTheory.Under.instFaithfulObjPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Faithful], (CategoryTheory.Under.post F).Faithful

instance CategoryTheory.Under.instFullObjPostOfFaithful E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Faithful] [F.Full], (CategoryTheory.Under.post F).Full

instance CategoryTheory.Under.instEssSurjObjPostOfFull E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.Full] [F.EssSurj], (CategoryTheory.Under.post F).EssSurj

instance CategoryTheory.Under.instIsEquivalenceObjPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.IsEquivalence], (CategoryTheory.Under.post F).IsEquivalence

def CategoryTheory.Functor.FullyFaithful.under E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (X : T) → (F : CategoryTheory.Functor T D) → F.FullyFaithful → (CategoryTheory.Under.post F).FullyFaithful

If F is fully faithful, then so is Under.post F.

def CategoryTheory.Under.postAdjunctionLeft E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {X : T} →
          {F : CategoryTheory.Functor T D} →
            {G : CategoryTheory.Functor D T} →
              (a : F ⊣ G) →
                CategoryTheory.Under.post F ⊣
                  (CategoryTheory.Under.post G).comp (CategoryTheory.Under.map (a.unit.app X))

If F is a left adjoint, then so is post F : Under X ⥤ Under (F X).

If the right adjoint of F is G, then the right adjoint of post F is given by (F X ⟶ Y) ↦ (X ⟶ G F X ⟶ G Y).

theorem CategoryTheory.Under.postAdjunctionLeft_counit_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} {G : CategoryTheory.Functor D T} (a : F ⊣ G)
  (A : CategoryTheory.Under (F.obj ((CategoryTheory.Functor.id T).obj X))),
  (CategoryTheory.Under.postAdjunctionLeft a).counit.app A = CategoryTheory.Under.homMk (a.counit.app A.right) ⋯

theorem CategoryTheory.Under.postAdjunctionLeft_unit_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} {G : CategoryTheory.Functor D T} (a : F ⊣ G)
  (A : CategoryTheory.Under ((CategoryTheory.Functor.id T).obj X)),
  (CategoryTheory.Under.postAdjunctionLeft a).unit.app A = CategoryTheory.Under.homMk (a.unit.app A.right) ⋯

instance CategoryTheory.Under.isLeftAdjoint_post E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor T D) [F.IsLeftAdjoint], (CategoryTheory.Under.post F).IsLeftAdjoint

def CategoryTheory.Under.postEquiv E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (X : T) → (F : T ≌ D) → CategoryTheory.Under X ≌ CategoryTheory.Under (F.functor.obj X)

An equivalence of categories induces an equivalence on under categories.

theorem CategoryTheory.Under.postEquiv_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Under.postEquiv X F).counitIso =
    CategoryTheory.NatIso.ofComponents (fun A ↦ CategoryTheory.Under.isoMk (F.counitIso.app A.right) ⋯) ⋯

theorem CategoryTheory.Under.postEquiv_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Under.postEquiv X F).inverse =
    (CategoryTheory.Under.post F.inverse).comp (CategoryTheory.Under.map (F.unitIso.hom.app X))

theorem CategoryTheory.Under.postEquiv_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D), (CategoryTheory.Under.postEquiv X F).functor = CategoryTheory.Under.post F.functor

theorem CategoryTheory.Under.postEquiv_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : T ≌ D),
  (CategoryTheory.Under.postEquiv X F).unitIso =
    CategoryTheory.NatIso.ofComponents (fun A ↦ CategoryTheory.Under.isoMk (F.unitIso.app A.right) ⋯) ⋯

def CategoryTheory.Under.equivalenceOfIsInitial E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {X : T} → CategoryTheory.Limits.IsInitial X → (CategoryTheory.Under X ≌ T)

If X : T is initial, then the under category of X is equivalent to T.

theorem CategoryTheory.Under.equivalenceOfIsInitial_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsInitial X),
  (CategoryTheory.Under.equivalenceOfIsInitial hX).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          (({ obj := fun Y ↦ CategoryTheory.Under.mk (hX.to Y), map := fun {X_1 Y} f ↦ CategoryTheory.Under.homMk f ⋯,
                    map_id := ⋯, map_comp := ⋯ }.comp
                (CategoryTheory.Under.forget X)).obj
            x))
      ⋯

theorem CategoryTheory.Under.equivalenceOfIsInitial_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsInitial X),
  (CategoryTheory.Under.equivalenceOfIsInitial hX).functor = CategoryTheory.Under.forget X

theorem CategoryTheory.Under.equivalenceOfIsInitial_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsInitial X),
  (CategoryTheory.Under.equivalenceOfIsInitial hX).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun Y ↦
        CategoryTheory.Under.isoMk
          (CategoryTheory.Iso.refl ((CategoryTheory.Functor.id (CategoryTheory.Under X)).obj Y).right) ⋯)
      ⋯

theorem CategoryTheory.Under.equivalenceOfIsInitial_inverse_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsInitial X) {X_1 Y : T}
  (f : X_1 ⟶ Y), (CategoryTheory.Under.equivalenceOfIsInitial hX).inverse.map f = CategoryTheory.Under.homMk f ⋯

theorem CategoryTheory.Under.equivalenceOfIsInitial_inverse_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {X : T} (hX : CategoryTheory.Limits.IsInitial X) (Y : T),
  (CategoryTheory.Under.equivalenceOfIsInitial hX).inverse.obj Y = CategoryTheory.Under.mk (hX.to Y)

def CategoryTheory.Under.lift E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        (D : CategoryTheory.Functor J T) →
          {X : T} → ((CategoryTheory.Functor.const J).obj X ⟶ D) → CategoryTheory.Functor J (CategoryTheory.Under X)

The induced functor to Under X from a functor J ⥤ C and natural maps sᵢ : X ⟶ Dᵢ.

theorem CategoryTheory.Under.lift_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : (CategoryTheory.Functor.const J).obj X ⟶ D) (j : J),
  (CategoryTheory.Under.lift D s).obj j = CategoryTheory.Under.mk (s.app j)

theorem CategoryTheory.Under.lift_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : (CategoryTheory.Functor.const J).obj X ⟶ D) {X_1 Y : J} (f : X_1 ⟶ Y),
  (CategoryTheory.Under.lift D s).map f = CategoryTheory.Under.homMk (D.map f) ⋯

def CategoryTheory.Under.liftCocone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        (D : CategoryTheory.Functor J T) →
          {X : T} →
            (s : (CategoryTheory.Functor.const J).obj X ⟶ D) →
              (c : CategoryTheory.Limits.Cocone D) →
                (p : X ⟶ c.pt) →
                  (∀ (j : J), CategoryTheory.CategoryStruct.comp (s.app j) (c.ι.app j) = p) →
                    CategoryTheory.Limits.Cocone (CategoryTheory.Under.lift D s)

The induced cocone on Under X from on the lifted functor.

theorem CategoryTheory.Under.liftCocone_ι_app E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : (CategoryTheory.Functor.const J).obj X ⟶ D) (c : CategoryTheory.Limits.Cocone D) (p : X ⟶ c.pt)
  (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (s.app j) (c.ι.app j) = p) (j : J),
  (CategoryTheory.Under.liftCocone D s c p hp).ι.app j = CategoryTheory.Under.homMk (c.ι.app j) ⋯

theorem CategoryTheory.Under.liftCocone_pt E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {J : Type u_1}
  [inst_1 : CategoryTheory.Category.{v_1, u_1} J] (D : CategoryTheory.Functor J T) {X : T}
  (s : (CategoryTheory.Functor.const J).obj X ⟶ D) (c : CategoryTheory.Limits.Cocone D) (p : X ⟶ c.pt)
  (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (s.app j) (c.ι.app j) = p),
  (CategoryTheory.Under.liftCocone D s c p hp).pt = CategoryTheory.Under.mk p

def CategoryTheory.Under.isColimitLiftCocone E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {J : Type u_1} →
      [inst_1 : CategoryTheory.Category.{v_1, u_1} J] →
        [Nonempty J] →
          (D : CategoryTheory.Functor J T) →
            {X : T} →
              (s : (CategoryTheory.Functor.const J).obj X ⟶ D) →
                (c : CategoryTheory.Limits.Cocone D) →
                  (p : X ⟶ c.pt) →
                    (hp : ∀ (j : J), CategoryTheory.CategoryStruct.comp (s.app j) (c.ι.app j) = p) →
                      CategoryTheory.Limits.IsColimit c →
                        CategoryTheory.Limits.IsColimit (CategoryTheory.Under.liftCocone D s c p hp)

The lifted cocone on Under X is a colimit cocone if the original cocone was colimiting and J is nonempty.

def CategoryTheory.Limits.Cocone.underPost E1 #

{J : Type u_1} →
  {C : Type u_2} →
    [inst : CategoryTheory.Category.{v_1, u_1} J] →
      [inst_1 : CategoryTheory.Category.{v_2, u_2} C] →
        {D : CategoryTheory.Functor J C} →
          CategoryTheory.Limits.Cocone D → (j : J) → CategoryTheory.Limits.Cocone (CategoryTheory.Under.post D)

Restrict a cocone to the diagram under j. This preserves being colimiting if the forgetful functor Over j ⥤ J is final (see CategoryTheory.Limits.IsColimit.underPost).

theorem CategoryTheory.Limits.Cocone.underPost_ι_app E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] {D : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.Cocone D)
  (j : J) (k : CategoryTheory.Under j), (c.underPost j).ι.app k = CategoryTheory.Under.homMk (c.ι.app k.right) ⋯

theorem CategoryTheory.Limits.Cocone.underPost_pt E0 #

∀ {J : Type u_1} {C : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} J]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} C] {D : CategoryTheory.Functor J C} (c : CategoryTheory.Limits.Cocone D)
  (j : J), (c.underPost j).pt = CategoryTheory.Under.mk (c.ι.app j)

def CategoryTheory.StructuredArrow.toUnder E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (X : T) →
          (F : CategoryTheory.Functor D T) →
            CategoryTheory.Functor (CategoryTheory.StructuredArrow X F) (CategoryTheory.Under X)

Reinterpreting an F-structured arrow X ⟶ F.obj d as an arrow under X induces a functor StructuredArrow X F ⥤ Under X.

theorem CategoryTheory.StructuredArrow.toUnder_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T)
  {Y X_1 : CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit X) (F.comp (CategoryTheory.Functor.id T))}
  (f : Y ⟶ X_1), ((CategoryTheory.StructuredArrow.toUnder X F).map f).right = F.map f.right

theorem CategoryTheory.StructuredArrow.toUnder_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T)
  (X_1 : CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit X) (F.comp (CategoryTheory.Functor.id T))),
  ((CategoryTheory.StructuredArrow.toUnder X F).obj X_1).hom = X_1.hom

theorem CategoryTheory.StructuredArrow.toUnder_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T)
  (X_1 : CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit X) (F.comp (CategoryTheory.Functor.id T))),
  ((CategoryTheory.StructuredArrow.toUnder X F).obj X_1).right = F.obj X_1.right

instance CategoryTheory.StructuredArrow.instFaithfulUnderToUnder E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T) [F.Faithful], (CategoryTheory.StructuredArrow.toUnder X F).Faithful

instance CategoryTheory.StructuredArrow.instFullUnderToUnder E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T) [F.Full], (CategoryTheory.StructuredArrow.toUnder X F).Full

instance CategoryTheory.StructuredArrow.instEssSurjUnderToUnder E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T) [F.EssSurj], (CategoryTheory.StructuredArrow.toUnder X F).EssSurj

instance CategoryTheory.StructuredArrow.isEquivalence_toUnder E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (X : T) (F : CategoryTheory.Functor D T) [F.IsEquivalence], (CategoryTheory.StructuredArrow.toUnder X F).IsEquivalence

An equivalence F induces an equivalence StructuredArrow X F ≌ Under X.

theorem CategoryTheory.Functor.essImage.of_overPost E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} {Y : CategoryTheory.Over (F.obj X)},
  (CategoryTheory.Over.post F).essImage Y → F.essImage Y.left

theorem CategoryTheory.Functor.essImage.of_underPost E1 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} {Y : CategoryTheory.Under (F.obj X)},
  (CategoryTheory.Under.post F).essImage Y → F.essImage Y.right

theorem CategoryTheory.Functor.essImage_overPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} [F.Full] {Y : CategoryTheory.Over (F.obj X)},
  (CategoryTheory.Over.post F).essImage Y ↔ F.essImage Y.left

The essential image of Over.post F where F is full is the same as the essential image of F.

theorem CategoryTheory.Functor.essImage_underPost E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {X : T} {F : CategoryTheory.Functor T D} [F.Full] {Y : CategoryTheory.Under (F.obj X)},
  (CategoryTheory.Under.post F).essImage Y ↔ F.essImage Y.right

The essential image of Under.post F where F is full is the same as the essential image of F.

def CategoryTheory.Functor.toOver E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {S : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} S] →
        (F : CategoryTheory.Functor S T) →
          (X : T) →
            (f : (Y : S) → F.obj Y ⟶ X) →
              (∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (F.map g) (f Z) = f Y) →
                CategoryTheory.Functor S (CategoryTheory.Over X)

Given X : T, to upgrade a functor F : S ⥤ T to a functor S ⥤ Over X, it suffices to provide maps F.obj Y ⟶ X for all Y making the obvious triangles involving all F.map g commute.

theorem CategoryTheory.Functor.toOver_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → F.obj Y ⟶ X)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (F.map g) (f Z) = f Y) (Y : S),
  ((F.toOver X f h).obj Y).left = F.obj Y

theorem CategoryTheory.Functor.toOver_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → F.obj Y ⟶ X)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (F.map g) (f Z) = f Y) {Y X_1 : S} (g : Y ⟶ X_1),
  ((F.toOver X f h).map g).left = F.map g

def CategoryTheory.Functor.toOverCompForget E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {S : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} S] →
        (F : CategoryTheory.Functor S T) →
          (X : T) →
            (f : (Y : S) → F.obj Y ⟶ X) →
              (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (F.map g) (f Z) = f Y) →
                (F.toOver X f ⋯).comp (CategoryTheory.Over.forget X) ≅ F

Upgrading a functor S ⥤ T to a functor S ⥤ Over X and composing with the forgetful functor Over X ⥤ T recovers the original functor.

theorem CategoryTheory.Functor.toOver_comp_forget E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → F.obj Y ⟶ X)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (F.map g) (f Z) = f Y),
  (F.toOver X f ⋯).comp (CategoryTheory.Over.forget X) = F

def CategoryTheory.Functor.toUnder E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {S : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} S] →
        (F : CategoryTheory.Functor S T) →
          (X : T) →
            (f : (Y : S) → X ⟶ F.obj Y) →
              (∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (f Y) (F.map g) = f Z) →
                CategoryTheory.Functor S (CategoryTheory.Under X)

Given X : T, to upgrade a functor F : S ⥤ T to a functor S ⥤ Under X, it suffices to provide maps X ⟶ F.obj Y for all Y making the obvious triangles involving all F.map g commute.

theorem CategoryTheory.Functor.toUnder_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → X ⟶ F.obj Y)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (f Y) (F.map g) = f Z) (Y : S),
  ((F.toUnder X f h).obj Y).right = F.obj Y

theorem CategoryTheory.Functor.toUnder_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → X ⟶ F.obj Y)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (f Y) (F.map g) = f Z) {X_1 Y : S} (g : X_1 ⟶ Y),
  ((F.toUnder X f h).map g).right = F.map g

def CategoryTheory.Functor.toUnderCompForget E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {S : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} S] →
        (F : CategoryTheory.Functor S T) →
          (X : T) →
            (f : (Y : S) → X ⟶ F.obj Y) →
              (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (f Y) (F.map g) = f Z) →
                (F.toUnder X f ⋯).comp (CategoryTheory.Under.forget X) ≅ F

Upgrading a functor S ⥤ T to a functor S ⥤ Under X and composing with the forgetful functor Under X ⥤ T recovers the original functor.

theorem CategoryTheory.Functor.toUnder_comp_forget E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {S : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} S]
  (F : CategoryTheory.Functor S T) (X : T) (f : (Y : S) → X ⟶ F.obj Y)
  (h : ∀ {Y Z : S} (g : Y ⟶ Z), CategoryTheory.CategoryStruct.comp (f Y) (F.map g) = f Z),
  (F.toUnder X f ⋯).comp (CategoryTheory.Under.forget X) = F

def CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          (Y : T) →
            (X : D) →
              CategoryTheory.Functor (CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F))
                (CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F))

A functor from the structured arrow category on the projection functor for any structured arrow category.

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_obj_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).obj Y_1).left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_map_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  {X_1 Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)} (g : X_1 ⟶ Y_1),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).map g).right.right = g.right.right

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_obj_right_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).obj Y_1).right.hom = Y_1.hom

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_obj_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).obj Y_1).right.right =
    Y_1.right.right

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_obj_right_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).obj Y_1).right.left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.functor F Y X).obj Y_1).hom = Y_1.right.hom

def CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          (Y : T) →
            (X : D) →
              CategoryTheory.Functor (CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F))
                (CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F))

The inverse functor of ofStructuredArrowProjEquivalence.functor.

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_obj_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).obj Y_1).right.right =
    Y_1.right.right

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_obj_right_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).obj Y_1).right.left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_obj_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).obj Y_1).left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).obj Y_1).hom = Y_1.right.hom

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_map_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  {X_1 Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)} (g : X_1 ⟶ Y_1),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).map g).right.right =
    CategoryTheory.Under.Hom.right g.right

theorem CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse_obj_right_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor D T) (Y : T) (X : D)
  (Y_1 : CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)),
  ((CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence.inverse F Y X).obj Y_1).right.hom = Y_1.hom

def CategoryTheory.StructuredArrow.ofStructuredArrowProjEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor D T) →
          (Y : T) →
            (X : D) →
              CategoryTheory.StructuredArrow X (CategoryTheory.StructuredArrow.proj Y F) ≌
                CategoryTheory.StructuredArrow Y ((CategoryTheory.Under.forget X).comp F)

Characterization of the structured arrow category on the projection functor of any structured arrow category.

def CategoryTheory.StructuredArrow.ofDiagEquivalence.functor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.Functor (CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T))
        (CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1))

The canonical functor from the structured arrow category on the diagonal functor T ⥤ T × T to the structured arrow category on Under.forget.

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_obj_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).obj Y).right.right = Y.right

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_obj_right_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).obj Y).right.hom = Y.hom.1

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_map_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  {X_1 Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)} (g : X_1 ⟶ Y),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).map g).right.right = g.right

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_obj_right_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).obj Y).right.left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).obj Y).hom = Y.hom.2

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.functor_obj_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.functor X).obj Y).left.as = PUnit.unit

def CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.Functor (CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1))
        (CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T))

The inverse functor of ofDiagEquivalence.functor.

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  {X_1 Y : CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1)} (g : X_1 ⟶ Y),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse X).map g).right = CategoryTheory.Under.Hom.right g.right

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse X).obj Y).right = Y.right.right

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse X).obj Y).hom = (Y.right.hom, Y.hom)

theorem CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse_obj_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1)),
  ((CategoryTheory.StructuredArrow.ofDiagEquivalence.inverse X).obj Y).left.as = PUnit.unit

def CategoryTheory.StructuredArrow.ofDiagEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T) ≌
        CategoryTheory.StructuredArrow X.2 (CategoryTheory.Under.forget X.1)

Characterization of the structured arrow category on the diagonal functor T ⥤ T × T.

def CategoryTheory.StructuredArrow.ofDiagEquivalence' E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.StructuredArrow X (CategoryTheory.Functor.diag T) ≌
        CategoryTheory.StructuredArrow X.1 (CategoryTheory.Under.forget X.2)

A version of StructuredArrow.ofDiagEquivalence with the roles of the first and second projection swapped.

def CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.Functor (CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G))
                    (CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G)

The functor used to define the equivalence ofCommaSndEquivalence.

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G)}
  (f : X ⟶ Y),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c).map f).right =
    (CategoryTheory.StructuredArrow.Hom.right f).right

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G)}
  (f : X ⟶ Y),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c).map f).left =
    CategoryTheory.Under.homMk (CategoryTheory.StructuredArrow.Hom.right f).left ⋯

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G)),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c).obj X).right = X.right.right

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G)),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c).obj X).left = CategoryTheory.Under.mk X.hom

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G)),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c).obj X).hom = X.right.hom

def CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.Functor (CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G)
                    (CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G))

The inverse functor used to define the equivalence ofCommaSndEquivalence.

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_obj_right_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).obj Y).right.left = Y.left.right

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_map_right_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G}
  (g : X ⟶ Y),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).map g).right.left =
    CategoryTheory.Under.Hom.right g.left

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).obj Y).hom = Y.left.hom

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_map_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G}
  (g : X ⟶ Y), ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).map g).right.right = g.right

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_obj_right_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).obj Y).right.hom = Y.hom

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_obj_left_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).obj Y).left.as = PUnit.unit

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse_obj_right_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G),
  ((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).obj Y).right.right = Y.right

def CategoryTheory.StructuredArrow.ofCommaSndEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G) ≌
                    CategoryTheory.Comma ((CategoryTheory.Under.forget c).comp F) G

There is a canonical equivalence between the structured arrow category with domain c on the functor Comma.fst F G : Comma F G ⥤ F and the comma category over Under.forget c ⋙ F : Under c ⥤ T and G.

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalence_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.StructuredArrow.ofCommaSndEquivalence F G c).functor =
    CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalence_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.StructuredArrow.ofCommaSndEquivalence F G c).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          ((CategoryTheory.Functor.id (CategoryTheory.StructuredArrow c (CategoryTheory.Comma.fst F G))).obj x))
      ⋯

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalence_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.StructuredArrow.ofCommaSndEquivalence F G c).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          (((CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c).comp
                (CategoryTheory.StructuredArrow.ofCommaSndEquivalenceFunctor F G c)).obj
            x))
      ⋯

theorem CategoryTheory.StructuredArrow.ofCommaSndEquivalence_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.StructuredArrow.ofCommaSndEquivalence F G c).inverse =
    CategoryTheory.StructuredArrow.ofCommaSndEquivalenceInverse F G c

def CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor T D) →
          (Y : D) →
            (X : T) →
              CategoryTheory.Functor (CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X)
                (CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y)

A functor from the costructured arrow category on the projection functor for any costructured arrow category.

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_obj_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).obj Y_1).right.as = PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_obj_left_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).obj Y_1).left.right.as =
    PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_obj_left_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).obj Y_1).left.hom = Y_1.hom

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_map_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  {Y_1 X_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X} (g : Y_1 ⟶ X_1),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).map g).left.left = g.left.left

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).obj Y_1).hom = Y_1.left.hom

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor_obj_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.functor F Y X).obj Y_1).left.left =
    Y_1.left.left

def CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor T D) →
          (Y : D) →
            (X : T) →
              CategoryTheory.Functor (CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y)
                (CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X)

The inverse functor of ofCostructuredArrowProjEquivalence.functor.

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_obj_left_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).obj Y_1).left.hom = Y_1.hom

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).obj Y_1).hom = Y_1.left.hom

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_map_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  {Y_1 X_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y} (g : Y_1 ⟶ X_1),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).map g).left.left =
    CategoryTheory.Over.Hom.left g.left

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_obj_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).obj Y_1).right.as = PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_obj_left_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).obj Y_1).left.right.as =
    PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse_obj_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor T D) (Y : D) (X : T)
  (Y_1 : CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y),
  ((CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence.inverse F Y X).obj Y_1).left.left =
    Y_1.left.left

def CategoryTheory.CostructuredArrow.ofCostructuredArrowProjEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor T D) →
          (Y : D) →
            (X : T) →
              CategoryTheory.CostructuredArrow (CategoryTheory.CostructuredArrow.proj F Y) X ≌
                CategoryTheory.CostructuredArrow ((CategoryTheory.Over.forget X).comp F) Y

Characterization of the costructured arrow category on the projection functor of any costructured arrow category.

def CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.Functor (CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X)
        (CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2)

The canonical functor from the costructured arrow category on the diagonal functor T ⥤ T × T to the costructured arrow category on Under.forget.

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_map_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  {Y X_1 : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X} (g : Y ⟶ X_1),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).map g).left.left = g.left

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).obj Y).hom = Y.hom.2

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_obj_left_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).obj Y).left.hom = Y.hom.1

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_obj_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).obj Y).left.left = Y.left

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_obj_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).obj Y).right.as = PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor_obj_left_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.functor X).obj Y).left.right.as = PUnit.unit

def CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.Functor (CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2)
        (CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X)

The inverse functor of ofDiagEquivalence.functor.

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse X).obj Y).left = Y.left.left

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse X).obj Y).hom = (Y.left.hom, Y.hom)

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse_obj_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  (Y : CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse X).obj Y).right.as = PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T × T)
  {Y X_1 : CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2} (g : Y ⟶ X_1),
  ((CategoryTheory.CostructuredArrow.ofDiagEquivalence.inverse X).map g).left = CategoryTheory.Over.Hom.left g.left

def CategoryTheory.CostructuredArrow.ofDiagEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X ≌
        CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.1) X.2

Characterization of the costructured arrow category on the diagonal functor T ⥤ T × T.

def CategoryTheory.CostructuredArrow.ofDiagEquivalence' E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T × T) →
      CategoryTheory.CostructuredArrow (CategoryTheory.Functor.diag T) X ≌
        CategoryTheory.CostructuredArrow (CategoryTheory.Over.forget X.2) X.1

A version of CostructuredArrow.ofDiagEquivalence with the roles of the first and second projection swapped.

def CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.Functor (CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c)
                    (CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G)

The functor used to define the equivalence ofCommaFstEquivalence.

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c).obj X).hom = X.left.hom

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor_map_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c}
  (f : X ⟶ Y),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c).map f).right =
    (CategoryTheory.CostructuredArrow.Hom.left f).right

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor_obj_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c).obj X).left = CategoryTheory.Over.mk X.hom

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor_map_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {X Y : CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c}
  (f : X ⟶ Y),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c).map f).left =
    CategoryTheory.Over.homMk (CategoryTheory.CostructuredArrow.Hom.left f).left ⋯

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor_obj_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (X : CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c).obj X).right = X.left.right

def CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.Functor (CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G)
                    (CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c)

The inverse functor used to define the equivalence ofCommaFstEquivalence.

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_obj_left_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).obj Y).left.hom = Y.hom

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_obj_right_as E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).obj Y).right.as = PUnit.unit

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_obj_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).obj Y).left.left = Y.left.left

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_map_left_left E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {Y X : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G}
  (g : Y ⟶ X),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).map g).left.left =
    CategoryTheory.Over.Hom.left g.left

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_obj_left_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).obj Y).left.right = Y.right

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_obj_hom E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) (Y : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G),
  ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).obj Y).hom = Y.left.hom

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse_map_left_right E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C) {Y X : CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G}
  (g : Y ⟶ X), ((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).map g).left.right = g.right

def CategoryTheory.CostructuredArrow.ofCommaFstEquivalence E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {C : Type u₃} →
          [inst_2 : CategoryTheory.Category.{v₃, u₃} C] →
            (F : CategoryTheory.Functor C T) →
              (G : CategoryTheory.Functor D T) →
                (c : C) →
                  CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c ≌
                    CategoryTheory.Comma ((CategoryTheory.Over.forget c).comp F) G

There is a canonical equivalence between the costructured arrow category with codomain c on the functor Comma.fst F G : Comma F G ⥤ F and the comma category over Over.forget c ⋙ F : Over c ⥤ T and G.

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalence_inverse E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.CostructuredArrow.ofCommaFstEquivalence F G c).inverse =
    CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalence_functor E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.CostructuredArrow.ofCommaFstEquivalence F G c).functor =
    CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalence_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.CostructuredArrow.ofCommaFstEquivalence F G c).counitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          (((CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceInverse F G c).comp
                (CategoryTheory.CostructuredArrow.ofCommaFstEquivalenceFunctor F G c)).obj
            x))
      ⋯

theorem CategoryTheory.CostructuredArrow.ofCommaFstEquivalence_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {C : Type u₃} [inst_2 : CategoryTheory.Category.{v₃, u₃} C] (F : CategoryTheory.Functor C T)
  (G : CategoryTheory.Functor D T) (c : C),
  (CategoryTheory.CostructuredArrow.ofCommaFstEquivalence F G c).unitIso =
    CategoryTheory.NatIso.ofComponents
      (fun x ↦
        CategoryTheory.Iso.refl
          ((CategoryTheory.Functor.id (CategoryTheory.CostructuredArrow (CategoryTheory.Comma.fst F G) c)).obj x))
      ⋯

def CategoryTheory.Over.opEquivOpUnder E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T) → CategoryTheory.Over (Opposite.op X) ≌ (CategoryTheory.Under X)ᵒᵖ

The canonical equivalence between over and under categories by reversing structure arrows.

theorem CategoryTheory.Over.opEquivOpUnder_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T),
  (CategoryTheory.Over.opEquivOpUnder X).unitIso =
    CategoryTheory.Iso.refl (CategoryTheory.Functor.id (CategoryTheory.Over (Opposite.op X)))

theorem CategoryTheory.Over.opEquivOpUnder_inverse_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (Y : (CategoryTheory.Under X)ᵒᵖ),
  (CategoryTheory.Over.opEquivOpUnder X).inverse.obj Y = CategoryTheory.Over.mk (Opposite.unop Y).hom.op

theorem CategoryTheory.Over.opEquivOpUnder_inverse_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) {Z Y : (CategoryTheory.Under X)ᵒᵖ} (f : Z ⟶ Y),
  (CategoryTheory.Over.opEquivOpUnder X).inverse.map f =
    CategoryTheory.Over.homMk (CategoryTheory.Under.Hom.right f.unop).op ⋯

theorem CategoryTheory.Over.opEquivOpUnder_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T),
  (CategoryTheory.Over.opEquivOpUnder X).counitIso =
    CategoryTheory.Iso.refl
      ({ obj := fun Y ↦ CategoryTheory.Over.mk (Opposite.unop Y).hom.op,
            map := fun {Z Y} f ↦ CategoryTheory.Over.homMk (CategoryTheory.Under.Hom.right f.unop).op ⋯, map_id := ⋯,
            map_comp := ⋯ }.comp
        { obj := fun Y ↦ Opposite.op (CategoryTheory.Under.mk Y.hom.unop),
          map := fun {Z Y} f ↦ Opposite.op (CategoryTheory.Under.homMk (CategoryTheory.Over.Hom.left f).unop ⋯),
          map_id := ⋯, map_comp := ⋯ })

theorem CategoryTheory.Over.opEquivOpUnder_functor_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) {Z Y : CategoryTheory.Over (Opposite.op X)}
  (f : Z ⟶ Y),
  (CategoryTheory.Over.opEquivOpUnder X).functor.map f =
    Opposite.op (CategoryTheory.Under.homMk (CategoryTheory.Over.Hom.left f).unop ⋯)

theorem CategoryTheory.Over.opEquivOpUnder_functor_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (Y : CategoryTheory.Over (Opposite.op X)),
  (CategoryTheory.Over.opEquivOpUnder X).functor.obj Y = Opposite.op (CategoryTheory.Under.mk Y.hom.unop)

def CategoryTheory.Under.opEquivOpOver E1 #

{T : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} T] →
    (X : T) → CategoryTheory.Under (Opposite.op X) ≌ (CategoryTheory.Over X)ᵒᵖ

The canonical equivalence between under and over categories by reversing structure arrows.

theorem CategoryTheory.Under.opEquivOpOver_functor_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (Y : CategoryTheory.Under (Opposite.op X)),
  (CategoryTheory.Under.opEquivOpOver X).functor.obj Y = Opposite.op (CategoryTheory.Over.mk Y.hom.unop)

theorem CategoryTheory.Under.opEquivOpOver_inverse_obj E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) (Y : (CategoryTheory.Over X)ᵒᵖ),
  (CategoryTheory.Under.opEquivOpOver X).inverse.obj Y = CategoryTheory.Under.mk (Opposite.unop Y).hom.op

theorem CategoryTheory.Under.opEquivOpOver_counitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T),
  (CategoryTheory.Under.opEquivOpOver X).counitIso =
    CategoryTheory.Iso.refl
      ({ obj := fun Y ↦ CategoryTheory.Under.mk (Opposite.unop Y).hom.op,
            map := fun {Z Y} f ↦ CategoryTheory.Under.homMk (CategoryTheory.Over.Hom.left f.unop).op ⋯, map_id := ⋯,
            map_comp := ⋯ }.comp
        { obj := fun Y ↦ Opposite.op (CategoryTheory.Over.mk Y.hom.unop),
          map := fun {Z Y} f ↦ Opposite.op (CategoryTheory.Over.homMk (CategoryTheory.Under.Hom.right f).unop ⋯),
          map_id := ⋯, map_comp := ⋯ })

theorem CategoryTheory.Under.opEquivOpOver_unitIso E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T),
  (CategoryTheory.Under.opEquivOpOver X).unitIso =
    CategoryTheory.Iso.refl (CategoryTheory.Functor.id (CategoryTheory.Under (Opposite.op X)))

theorem CategoryTheory.Under.opEquivOpOver_functor_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) {Z Y : CategoryTheory.Under (Opposite.op X)}
  (f : Z ⟶ Y),
  (CategoryTheory.Under.opEquivOpOver X).functor.map f =
    Opposite.op (CategoryTheory.Over.homMk (CategoryTheory.Under.Hom.right f).unop ⋯)

theorem CategoryTheory.Under.opEquivOpOver_inverse_map E0 #

∀ {T : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} T] (X : T) {Z Y : (CategoryTheory.Over X)ᵒᵖ} (f : Z ⟶ Y),
  (CategoryTheory.Under.opEquivOpOver X).inverse.map f =
    CategoryTheory.Under.homMk (CategoryTheory.Over.Hom.left f.unop).op ⋯