The areas / V24. Category theory
Mathlib.CategoryTheory.Limits.Types.End
25 declarations. Mathlib docs · Source
inductive CategoryTheory.Limits.Types.coendRel E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) →
(j : J) × (F.obj (Opposite.op j)).obj j → (j : J) × (F.obj (Opposite.op j)).obj j → Prop
The relation on the sigma type (W : J) × (F.obj (op W)).obj W used to construct explicit
coends in Type. Two terms ⟨j, x⟩ and ⟨j', x'⟩ are related if and only if there is a
morphism f : j ⟶ j' in J and an element y : (F.obj (op j')).obj j such that
(F.map f.op).app j y = x and (F.obj _).map f y = x', see coendRel_iff below.
ctor CategoryTheory.Limits.Types.coendRel.mk E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {j j' : J} (f : j ⟶ j')
(x : (F.obj (Opposite.op j')).obj j),
CategoryTheory.Limits.Types.coendRel F ⟨j, (TypeCat.Hom.hom ((F.map f.op).app j)) x⟩
⟨j', (TypeCat.Hom.hom ((F.obj (Opposite.op j')).map f)) x⟩
theorem CategoryTheory.Limits.Types.coendRel_iff E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) (j j' : J)
(x : (F.obj (Opposite.op j)).obj j) (x' : (F.obj (Opposite.op j')).obj j'),
CategoryTheory.Limits.Types.coendRel F ⟨j, x⟩ ⟨j', x'⟩ ↔
∃ f y,
(CategoryTheory.ConcreteCategory.hom ((F.map f.op).app j)) y = x ∧
(CategoryTheory.ConcreteCategory.hom ((F.obj (Opposite.op j')).map f)) y = x'
abbrev CategoryTheory.Limits.Types.coend E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u))) → Type (max w u)
The coend of a bifunctor valued in Type, defined as a quotient.
def CategoryTheory.Limits.Types.coend.ι E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) →
(j : J) → (F.obj (Opposite.op j)).obj j ⟶ CategoryTheory.Limits.Types.coend F
Given F : Jᵒᵖ ⥤ J ⥤ Type*, this is the inclusion (F.obj (op j)).obj j ⟶ coend F
for any j : J, which sends x to Quot.mk _ ⟨j, x⟩
theorem CategoryTheory.Limits.Types.coend.condition_assoc E1 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {j j' : J} (f : j ⟶ j')
{Z : Type (max w u)} (h : CategoryTheory.Limits.Types.coend F ⟶ Z),
CategoryTheory.CategoryStruct.comp ((F.map f.op).app j)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.coend.ι F j) h) =
CategoryTheory.CategoryStruct.comp ((F.obj (Opposite.op j')).map f)
(CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.coend.ι F j') h)
theorem CategoryTheory.Limits.Types.coend.condition E1 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {j j' : J} (f : j ⟶ j'),
CategoryTheory.CategoryStruct.comp ((F.map f.op).app j) (CategoryTheory.Limits.Types.coend.ι F j) =
CategoryTheory.CategoryStruct.comp ((F.obj (Opposite.op j')).map f) (CategoryTheory.Limits.Types.coend.ι F j')
def CategoryTheory.Limits.Types.cowedge E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) → CategoryTheory.Limits.Cowedge F
The cowedge corresponding to the explicit coend in Type
def CategoryTheory.Limits.Types.cowedgeIsColimit E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) →
CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.Types.cowedge F)
The cowedge corresponding to the explicit coend in Type is colimiting.
instance CategoryTheory.Limits.instChosenCoendsType E0 #
CategoryTheory.Limits.ChosenCoends.{v, u, max u w, max (u + 1) (w + 1)} (Type (max w u))
A ChosenCoends instance on Type given by the explicit quotient construction above.
theorem CategoryTheory.Limits.Types.chosenCoend_def E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))},
CategoryTheory.Limits.chosenCoend F = Quot (CategoryTheory.Limits.Types.coendRel F)
theorem CategoryTheory.Limits.chosenCoend.ι_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} (j : J)
(x : (F.obj (Opposite.op j)).obj j),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenCoend.ι F j)) x =
Quot.mk (CategoryTheory.Limits.Types.coendRel F) ⟨j, x⟩
theorem CategoryTheory.Limits.chosenCoend.desc_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {X : Type (max w u)}
(f : (j : J) → (F.obj (Opposite.op j)).obj j ⟶ X)
(hf :
∀ ⦃i j : J⦄ (g : i ⟶ j),
CategoryTheory.CategoryStruct.comp ((F.map g.op).app i) (f i) =
CategoryTheory.CategoryStruct.comp ((F.obj (Opposite.op j)).map g) (f j))
(x : CategoryTheory.Limits.chosenCoend F),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenCoend.desc f hf)) x =
Quot.lift (fun j ↦ (CategoryTheory.ConcreteCategory.hom (f j.fst)) j.snd) ⋯ x
theorem CategoryTheory.Limits.chosenCoend.map_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F G : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} (f : F ⟶ G)
(x : CategoryTheory.Limits.chosenCoend F),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenCoend.map f)) x =
Quot.lift
(fun x ↦
Quot.mk (CategoryTheory.Limits.Types.coendRel G)
⟨x.fst, (CategoryTheory.ConcreteCategory.hom ((f.app (Opposite.op x.fst)).app x.fst)) x.snd⟩)
⋯ x
abbrev CategoryTheory.Limits.Types.end_ E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u))) → Type (max w u)
The end of a bifunctor valued in Type, defined as the subtype of compatible families.
def CategoryTheory.Limits.Types.end_.π E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) →
(j : J) → CategoryTheory.Limits.Types.end_ F ⟶ (F.obj (Opposite.op j)).obj j
Given F : Jᵒᵖ ⥤ J ⥤ Type*, this is the projection end_ F ⟶ (F.obj (op j)).obj j
for any j : J, which sends x to x.1 j.
theorem CategoryTheory.Limits.Types.end_.condition_assoc E1 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {i j : J} (f : i ⟶ j)
{Z : Type (max w u)} (h : (F.obj (Opposite.op i)).obj j ⟶ Z),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.end_.π F i)
(CategoryTheory.CategoryStruct.comp ((F.obj (Opposite.op i)).map f) h) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.end_.π F j)
(CategoryTheory.CategoryStruct.comp ((F.map f.op).app j) h)
theorem CategoryTheory.Limits.Types.end_.condition E1 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {i j : J} (f : i ⟶ j),
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.end_.π F i) ((F.obj (Opposite.op i)).map f) =
CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.Types.end_.π F j) ((F.map f.op).app j)
def CategoryTheory.Limits.Types.wedge E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) → CategoryTheory.Limits.Wedge F
The wedge corresponding to the explicit end in Type.
def CategoryTheory.Limits.Types.wedgeIsLimit E1 #
{J : Type u} →
[inst : CategoryTheory.Category.{v, u} J] →
(F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))) →
CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.Types.wedge F)
The wedge corresponding to the explicit end in Type is limiting.
instance CategoryTheory.Limits.instChosenEndsType E0 #
CategoryTheory.Limits.ChosenEnds.{v, u, max u w, max (u + 1) (w + 1)} (Type (max w u))
A ChosenEnds instance on Type given by the explicit subtype construction above.
theorem CategoryTheory.Limits.Types.chosenEnd_def E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))},
CategoryTheory.Limits.chosenEnd F = CategoryTheory.Limits.Types.end_ F
theorem CategoryTheory.Limits.chosenEnd.π_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} (j : J)
(x : CategoryTheory.Limits.Types.end_ F),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenEnd.π F j)) x = ↑x j
theorem CategoryTheory.Limits.chosenEnd.lift_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} {X : Type (max w u)}
(f : (j : J) → X ⟶ (F.obj (Opposite.op j)).obj j)
(hf :
∀ ⦃i j : J⦄ (g : i ⟶ j),
CategoryTheory.CategoryStruct.comp (f i) ((F.obj (Opposite.op i)).map g) =
CategoryTheory.CategoryStruct.comp (f j) ((F.map g.op).app j))
(x : X),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenEnd.lift f hf)) x =
⟨fun j ↦ (CategoryTheory.ConcreteCategory.hom (f j)) x, ⋯⟩
theorem CategoryTheory.Limits.chosenEnd.map_apply E0 #
∀ {J : Type u} [inst : CategoryTheory.Category.{v, u} J]
{F G : CategoryTheory.Functor Jᵒᵖ (CategoryTheory.Functor J (Type (max w u)))} (f : F ⟶ G)
(x : CategoryTheory.Limits.Types.end_ F),
(CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.chosenEnd.map f)) x =
⟨fun j ↦ (CategoryTheory.ConcreteCategory.hom ((f.app (Opposite.op j)).app j)) (↑x j), ⋯⟩