The areas / V24. Category theory
Mathlib.CategoryTheory.FiberedCategory.BasedCategory
72 declarations. Mathlib docs ยท Source
The bicategory of based categories
In this file we define the type BasedCategory ๐ฎ, and give it the structure of a strict
bicategory. Given a category ๐ฎ, we define the type BasedCategory ๐ฎ as the type of categories
๐ณ equipped with a functor ๐ณ.p : ๐ณ โฅค ๐ฎ.
We also define a type of functors between based categories ๐ณ and ๐ด, which we call
BasedFunctor ๐ณ ๐ด and denote as ๐ณ โฅคแต ๐ด. These are defined as functors between the underlying
categories ๐ณ.obj and ๐ด.obj which commute with the projections to ๐ฎ.
Natural transformations between based functors F G : ๐ณ โฅคแต ๐ด are given by the structure
BasedNatTrans F G. These are defined as natural transformations ฮฑ between the functors
underlying F and G such that ฮฑ.app a lifts ๐ S whenever ๐ณ.p.obj a = S.
def CategoryTheory.BasedCategory.ctorIdx E1 #
{๐ฎ : Type uโ} โ {inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} โ CategoryTheory.BasedCategory ๐ฎ โ โ
theorem CategoryTheory.BasedCategory.mk.inj E1 #
โ {๐ฎ : Type uโ} {inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} {obj : Type uโ}
{category : autoParam (CategoryTheory.Category.{vโ, uโ} obj) CategoryTheory.BasedCategory.category._autoParam}
{p : CategoryTheory.Functor obj ๐ฎ} {obj_1 : Type uโ}
{category_1 : autoParam (CategoryTheory.Category.{vโ, uโ} obj_1) CategoryTheory.BasedCategory.category._autoParam}
{p_1 : CategoryTheory.Functor obj_1 ๐ฎ},
{ obj := obj, category := category, p := p } = { obj := obj_1, category := category_1, p := p_1 } โ
obj = obj_1 โง category โ category_1 โง p โ p_1
theorem CategoryTheory.BasedNatTrans.mk.inj E1 #
โ {๐ฎ : Type uโ} {inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด}
{toNatTrans : CategoryTheory.NatTrans F.toFunctor G.toFunctor}
{isHomLift' :
autoParam (โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans.app a))
CategoryTheory.BasedNatTrans.isHomLift'._autoParam}
{toNatTrans_1 : CategoryTheory.NatTrans F.toFunctor G.toFunctor}
{isHomLift'_1 :
autoParam (โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans_1.app a))
CategoryTheory.BasedNatTrans.isHomLift'._autoParam},
{ toNatTrans := toNatTrans, isHomLift' := isHomLift' } = { toNatTrans := toNatTrans_1, isHomLift' := isHomLift'_1 } โ
toNatTrans = toNatTrans_1
theorem CategoryTheory.BasedNatTrans.mk.congr_simp E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด}
(toNatTrans toNatTrans_1 : CategoryTheory.NatTrans F.toFunctor G.toFunctor) (e_toNatTrans : toNatTrans = toNatTrans_1)
(isHomLift' : โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans.app a)),
{ toNatTrans := toNatTrans, isHomLift' := isHomLift' } = { toNatTrans := toNatTrans_1, isHomLift' := โฏ }
theorem CategoryTheory.BasedFunctor.mk.injEq E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (toFunctor : CategoryTheory.Functor ๐ณ.obj ๐ด.obj)
(w : autoParam (toFunctor.comp ๐ด.p = ๐ณ.p) CategoryTheory.BasedFunctor.w._autoParam)
(toFunctor_1 : CategoryTheory.Functor ๐ณ.obj ๐ด.obj)
(w_1 : autoParam (toFunctor_1.comp ๐ด.p = ๐ณ.p) CategoryTheory.BasedFunctor.w._autoParam),
({ toFunctor := toFunctor, w := w } = { toFunctor := toFunctor_1, w := w_1 }) = (toFunctor = toFunctor_1)
def CategoryTheory.BasedFunctor.ctorIdx E1 #
{๐ฎ : Type uโ} โ
{inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ {๐ด : CategoryTheory.BasedCategory ๐ฎ} โ CategoryTheory.BasedFunctor ๐ณ ๐ด โ โ
theorem CategoryTheory.BasedNatTrans.mk.injEq E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด}
(toNatTrans : CategoryTheory.NatTrans F.toFunctor G.toFunctor)
(isHomLift' :
autoParam (โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans.app a))
CategoryTheory.BasedNatTrans.isHomLift'._autoParam)
(toNatTrans_1 : CategoryTheory.NatTrans F.toFunctor G.toFunctor)
(isHomLift'_1 :
autoParam (โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans_1.app a))
CategoryTheory.BasedNatTrans.isHomLift'._autoParam),
({ toNatTrans := toNatTrans, isHomLift' := isHomLift' } =
{ toNatTrans := toNatTrans_1, isHomLift' := isHomLift'_1 }) =
(toNatTrans = toNatTrans_1)
def CategoryTheory.BasedNatTrans.ctorIdx E1 #
{๐ฎ : Type uโ} โ
{inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ CategoryTheory.BasedNatTrans F G โ โ
theorem CategoryTheory.BasedCategory.mk.injEq E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (obj : Type uโ)
(category : autoParam (CategoryTheory.Category.{vโ, uโ} obj) CategoryTheory.BasedCategory.category._autoParam)
(p : CategoryTheory.Functor obj ๐ฎ) (obj_1 : Type uโ)
(category_1 : autoParam (CategoryTheory.Category.{vโ, uโ} obj_1) CategoryTheory.BasedCategory.category._autoParam)
(p_1 : CategoryTheory.Functor obj_1 ๐ฎ),
({ obj := obj, category := category, p := p } = { obj := obj_1, category := category_1, p := p_1 }) =
(obj = obj_1 โง category โ category_1 โง p โ p_1)
theorem CategoryTheory.BasedFunctor.mk.inj E1 #
โ {๐ฎ : Type uโ} {inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ} {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {toFunctor : CategoryTheory.Functor ๐ณ.obj ๐ด.obj}
{w : autoParam (toFunctor.comp ๐ด.p = ๐ณ.p) CategoryTheory.BasedFunctor.w._autoParam}
{toFunctor_1 : CategoryTheory.Functor ๐ณ.obj ๐ด.obj}
{w_1 : autoParam (toFunctor_1.comp ๐ด.p = ๐ณ.p) CategoryTheory.BasedFunctor.w._autoParam},
{ toFunctor := toFunctor, w := w } = { toFunctor := toFunctor_1, w := w_1 } โ toFunctor = toFunctor_1
structure CategoryTheory.BasedCategory E1 #
(๐ฎ : Type uโ) โ [CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ Type (max (max (max uโ (uโ + 1)) vโ) (vโ + 1))
A based category over ๐ฎ is a category ๐ณ together with a functor p : ๐ณ โฅค ๐ฎ.
ctor CategoryTheory.BasedCategory.mk E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(obj : Type uโ) โ
(category : autoParam (CategoryTheory.Category.{vโ, uโ} obj) CategoryTheory.BasedCategory.category._autoParam) โ
CategoryTheory.Functor obj ๐ฎ โ CategoryTheory.BasedCategory ๐ฎ
abbrev CategoryTheory.BasedCategory.obj E1 #
{๐ฎ : Type uโ} โ [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ CategoryTheory.BasedCategory ๐ฎ โ Type uโ
The type of objects in a BasedCategory
abbrev CategoryTheory.BasedCategory.category E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(self : CategoryTheory.BasedCategory ๐ฎ) โ CategoryTheory.Category.{vโ, uโ} self.obj
The underlying category of a BasedCategory.
abbrev CategoryTheory.BasedCategory.p E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(self : CategoryTheory.BasedCategory ๐ฎ) โ CategoryTheory.Functor self.obj ๐ฎ
The functor to the base.
instance CategoryTheory.instCategoryObj E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(๐ณ : CategoryTheory.BasedCategory ๐ฎ) โ CategoryTheory.Category.{vโ, uโ} ๐ณ.obj
def CategoryTheory.BasedCategory.ofFunctor E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : Type uโ} โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ CategoryTheory.Functor ๐ณ ๐ฎ โ CategoryTheory.BasedCategory ๐ฎ
The based category associated to a functor p : ๐ณ โฅค ๐ฎ.
structure CategoryTheory.BasedFunctor E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
CategoryTheory.BasedCategory ๐ฎ โ CategoryTheory.BasedCategory ๐ฎ โ Type (max (max (max uโ uโ) vโ) vโ)
A functor between based categories is a functor between the underlying categories that commutes with the projections.
ctor CategoryTheory.BasedFunctor.mk E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
(toFunctor : CategoryTheory.Functor ๐ณ.obj ๐ด.obj) โ
autoParam (toFunctor.comp ๐ด.p = ๐ณ.p) CategoryTheory.BasedFunctor.w._autoParam โ
CategoryTheory.BasedFunctor ๐ณ ๐ด
abbrev CategoryTheory.BasedFunctor.toFunctor E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ CategoryTheory.BasedFunctor ๐ณ ๐ด โ CategoryTheory.Functor ๐ณ.obj ๐ด.obj
theorem CategoryTheory.BasedFunctor.w E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (self : CategoryTheory.BasedFunctor ๐ณ ๐ด), self.comp ๐ด.p = ๐ณ.p
def CategoryTheory.ยซterm_โฅคแต_ยป E1 #
Lean.TrailingParserDescr
Notation for BasedFunctor.
def CategoryTheory.BasedFunctor.id E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ (๐ณ : CategoryTheory.BasedCategory ๐ฎ) โ CategoryTheory.BasedFunctor ๐ณ ๐ณ
The identity based functor.
theorem CategoryTheory.BasedFunctor.id_toFunctor E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ),
(CategoryTheory.BasedFunctor.id ๐ณ).toFunctor = CategoryTheory.Functor.id ๐ณ.obj
def CategoryTheory.BasedFunctor.ยซterm๐ญยป E1 #
Lean.ParserDescr
Notation for the identity functor on a based category.
def CategoryTheory.BasedFunctor.comp E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ต : CategoryTheory.BasedCategory ๐ฎ} โ
CategoryTheory.BasedFunctor ๐ณ ๐ด โ CategoryTheory.BasedFunctor ๐ด ๐ต โ CategoryTheory.BasedFunctor ๐ณ ๐ต
The composition of two based functors.
theorem CategoryTheory.BasedFunctor.comp_toFunctor E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {๐ต : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด)
(G : CategoryTheory.BasedFunctor ๐ด ๐ต), (F.comp G).toFunctor = F.comp G.toFunctor
def CategoryTheory.BasedFunctor.ยซterm_โ_ยป E1 #
Lean.TrailingParserDescr
Notation for composition of based functors.
theorem CategoryTheory.BasedFunctor.comp_id E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
F.comp (CategoryTheory.BasedFunctor.id ๐ด) = F
theorem CategoryTheory.BasedFunctor.id_comp E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
(CategoryTheory.BasedFunctor.id ๐ณ).comp F = F
theorem CategoryTheory.BasedFunctor.comp_assoc E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {๐ต : CategoryTheory.BasedCategory ๐ฎ} {๐ : CategoryTheory.BasedCategory ๐ฎ}
(F : CategoryTheory.BasedFunctor ๐ณ ๐ด) (G : CategoryTheory.BasedFunctor ๐ด ๐ต) (H : CategoryTheory.BasedFunctor ๐ต ๐),
(F.comp G).comp H = F.comp (G.comp H)
theorem CategoryTheory.BasedFunctor.w_obj E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) (a : ๐ณ.obj), ๐ด.p.obj (F.obj a) = ๐ณ.p.obj a
instance CategoryTheory.BasedFunctor.instIsHomLiftObjPIdObj E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) (a : ๐ณ.obj),
๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (CategoryTheory.CategoryStruct.id (F.obj a))
instance CategoryTheory.BasedFunctor.preserves_isHomLift E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) {R S : ๐ฎ} {a b : ๐ณ.obj} (f : R โถ S)
(ฯ : a โถ b) [๐ณ.p.IsHomLift f ฯ], ๐ด.p.IsHomLift f (F.map ฯ)
For a based functor F : ๐ณ โถ ๐ด, then whenever an arrow ฯ in ๐ณ lifts some f in ๐ฎ,
then F(ฯ) also lifts f.
theorem CategoryTheory.BasedFunctor.isHomLift_map E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) {R S : ๐ฎ} {a b : ๐ณ.obj} (f : R โถ S)
(ฯ : a โถ b) [๐ด.p.IsHomLift f (F.map ฯ)], ๐ณ.p.IsHomLift f ฯ
For a based functor F : ๐ณ โถ ๐ด, and an arrow ฯ in ๐ณ, then ฯ lifts an arrow f in ๐ฎ
if F(ฯ) does.
theorem CategoryTheory.BasedFunctor.isHomLift_iff E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) {R S : ๐ฎ} {a b : ๐ณ.obj} (f : R โถ S)
(ฯ : a โถ b), ๐ด.p.IsHomLift f (F.map ฯ) โ ๐ณ.p.IsHomLift f ฯ
structure CategoryTheory.BasedNatTrans E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
CategoryTheory.BasedFunctor ๐ณ ๐ด โ CategoryTheory.BasedFunctor ๐ณ ๐ด โ Type (max uโ vโ)
A BasedNatTrans between two BasedFunctors is a natural transformation ฮฑ between the
underlying functors, such that for all a : ๐ณ, ฮฑ.app a lifts ๐ S whenever ๐ณ.p.obj a = S.
ctor CategoryTheory.BasedNatTrans.mk E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ
(toNatTrans : CategoryTheory.NatTrans F.toFunctor G.toFunctor) โ
autoParam (โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (toNatTrans.app a))
CategoryTheory.BasedNatTrans.isHomLift'._autoParam โ
CategoryTheory.BasedNatTrans F G
abbrev CategoryTheory.BasedNatTrans.toNatTrans E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ
CategoryTheory.BasedNatTrans F G โ CategoryTheory.NatTrans F.toFunctor G.toFunctor
theorem CategoryTheory.BasedNatTrans.isHomLift' E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (self : CategoryTheory.BasedNatTrans F G)
(a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (self.app a)
theorem CategoryTheory.BasedNatTrans.ext E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ ฮฒ : CategoryTheory.BasedNatTrans F G),
ฮฑ.toNatTrans = ฮฒ.toNatTrans โ ฮฑ = ฮฒ
theorem CategoryTheory.BasedNatTrans.ext_iff E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} {ฮฑ ฮฒ : CategoryTheory.BasedNatTrans F G},
ฮฑ = ฮฒ โ ฮฑ.toNatTrans = ฮฒ.toNatTrans
instance CategoryTheory.BasedNatTrans.app_isHomLift E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : CategoryTheory.BasedNatTrans F G)
(a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (ฮฑ.app a)
theorem CategoryTheory.BasedNatTrans.isHomLift E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : CategoryTheory.BasedNatTrans F G)
{a : ๐ณ.obj} {S : ๐ฎ}, ๐ณ.p.obj a = S โ ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id S) (ฮฑ.app a)
def CategoryTheory.BasedNatTrans.id E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) โ CategoryTheory.BasedNatTrans F F
The identity natural transformation is a BasedNatTrans.
theorem CategoryTheory.BasedNatTrans.id_toNatTrans E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
(CategoryTheory.BasedNatTrans.id F).toNatTrans = CategoryTheory.NatTrans.id F.toFunctor
def CategoryTheory.BasedNatTrans.comp E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{F G H : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ
CategoryTheory.BasedNatTrans F G โ CategoryTheory.BasedNatTrans G H โ CategoryTheory.BasedNatTrans F H
Composition of BasedNatTrans, given by composition of the underlying natural
transformations.
theorem CategoryTheory.BasedNatTrans.comp_toNatTrans E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G H : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : CategoryTheory.BasedNatTrans F G)
(ฮฒ : CategoryTheory.BasedNatTrans G H), (ฮฑ.comp ฮฒ).toNatTrans = ฮฑ.vcomp ฮฒ.toNatTrans
theorem CategoryTheory.BasedNatTrans.homCategory_comp E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ)
(๐ด : CategoryTheory.BasedCategory ๐ฎ) {X Y Z : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : CategoryTheory.BasedNatTrans X Y)
(ฮฒ : CategoryTheory.BasedNatTrans Y Z), CategoryTheory.CategoryStruct.comp ฮฑ ฮฒ = ฮฑ.comp ฮฒ
instance CategoryTheory.BasedNatTrans.homCategory E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(๐ณ : CategoryTheory.BasedCategory ๐ฎ) โ
(๐ด : CategoryTheory.BasedCategory ๐ฎ) โ
CategoryTheory.Category.{max uโ vโ, max (max (max uโ vโ) uโ) vโ} (CategoryTheory.BasedFunctor ๐ณ ๐ด)
theorem CategoryTheory.BasedNatTrans.homCategory_id E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ)
(๐ด : CategoryTheory.BasedCategory ๐ฎ) (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
CategoryTheory.CategoryStruct.id F = CategoryTheory.BasedNatTrans.id F
theorem CategoryTheory.BasedNatTrans.homCategory.ext_iff E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} {ฮฑ ฮฒ : F โถ G},
ฮฑ = ฮฒ โ ฮฑ.toNatTrans = ฮฒ.toNatTrans
theorem CategoryTheory.BasedNatTrans.homCategory.ext E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ ฮฒ : F โถ G),
ฮฑ.toNatTrans = ฮฒ.toNatTrans โ ฮฑ = ฮฒ
def CategoryTheory.BasedNatTrans.forgetful E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
(๐ณ : CategoryTheory.BasedCategory ๐ฎ) โ
(๐ด : CategoryTheory.BasedCategory ๐ฎ) โ
CategoryTheory.Functor (CategoryTheory.BasedFunctor ๐ณ ๐ด) (CategoryTheory.Functor ๐ณ.obj ๐ด.obj)
The forgetful functor from the category of based functors ๐ณ โฅคแต ๐ด to the category of
functors of underlying categories, ๐ณ.obj โฅค ๐ด.obj.
theorem CategoryTheory.BasedNatTrans.forgetful_map E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ)
(๐ด : CategoryTheory.BasedCategory ๐ฎ) {X Y : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : X โถ Y),
(CategoryTheory.BasedNatTrans.forgetful ๐ณ ๐ด).map ฮฑ = ฮฑ.toNatTrans
theorem CategoryTheory.BasedNatTrans.forgetful_obj E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ)
(๐ด : CategoryTheory.BasedCategory ๐ฎ) (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
(CategoryTheory.BasedNatTrans.forgetful ๐ณ ๐ด).obj F = F.toFunctor
instance CategoryTheory.BasedNatTrans.instReflectsIsomorphismsBasedFunctorFunctorObjForgetful E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ}, (CategoryTheory.BasedNatTrans.forgetful ๐ณ ๐ด).ReflectsIsomorphisms
instance CategoryTheory.BasedNatTrans.instIsIsoFunctorObjOfBasedFunctor E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : F โถ G) [CategoryTheory.IsIso ฮฑ],
CategoryTheory.IsIso ฮฑ.toNatTrans
def CategoryTheory.BasedNatIso.id E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ (F : CategoryTheory.BasedFunctor ๐ณ ๐ด) โ F โ
F
The identity natural transformation is a based natural isomorphism.
theorem CategoryTheory.BasedNatIso.id_hom E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
(CategoryTheory.BasedNatIso.id F).hom = CategoryTheory.CategoryStruct.id F
theorem CategoryTheory.BasedNatIso.id_inv E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด),
(CategoryTheory.BasedNatIso.id F).inv = CategoryTheory.CategoryStruct.id F
def CategoryTheory.BasedNatIso.mkNatIso E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ
(ฮฑ : F.toFunctor โ
G.toFunctor) โ
(โ (a : ๐ณ.obj), ๐ด.p.IsHomLift (CategoryTheory.CategoryStruct.id (๐ณ.p.obj a)) (ฮฑ.hom.app a)) โ (F โ
G)
The inverse of a based natural transformation whose underlying natural transformation is an isomorphism.
theorem CategoryTheory.BasedNatIso.isIso_of_toNatTrans_isIso E1 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} (ฮฑ : F โถ G)
[CategoryTheory.IsIso ฮฑ.toNatTrans], CategoryTheory.IsIso ฮฑ
def CategoryTheory.BasedCategory.whiskerLeft E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ต : CategoryTheory.BasedCategory ๐ฎ} โ
(F : CategoryTheory.BasedFunctor ๐ณ ๐ด) โ
{G H : CategoryTheory.BasedFunctor ๐ด ๐ต} โ (G โถ H) โ (F.comp G โถ F.comp H)
Left-whiskering in the bicategory BasedCategory is given by whiskering the underlying functors
and natural transformations.
theorem CategoryTheory.BasedCategory.whiskerLeft_toNatTrans E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {๐ต : CategoryTheory.BasedCategory ๐ฎ} (F : CategoryTheory.BasedFunctor ๐ณ ๐ด)
{G H : CategoryTheory.BasedFunctor ๐ด ๐ต} (ฮฑ : G โถ H),
(CategoryTheory.BasedCategory.whiskerLeft F ฮฑ).toNatTrans = F.whiskerLeft ฮฑ.toNatTrans
def CategoryTheory.BasedCategory.whiskerRight E1 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
{๐ณ : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ด : CategoryTheory.BasedCategory ๐ฎ} โ
{๐ต : CategoryTheory.BasedCategory ๐ฎ} โ
{F G : CategoryTheory.BasedFunctor ๐ณ ๐ด} โ
(F โถ G) โ (H : CategoryTheory.BasedFunctor ๐ด ๐ต) โ F.comp H โถ G.comp H
Right-whiskering in the bicategory BasedCategory is given by whiskering the underlying
functors and natural transformations.
theorem CategoryTheory.BasedCategory.whiskerRight_toNatTrans E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {๐ณ : CategoryTheory.BasedCategory ๐ฎ}
{๐ด : CategoryTheory.BasedCategory ๐ฎ} {๐ต : CategoryTheory.BasedCategory ๐ฎ} {F G : CategoryTheory.BasedFunctor ๐ณ ๐ด}
(ฮฑ : F โถ G) (H : CategoryTheory.BasedFunctor ๐ด ๐ต),
(CategoryTheory.BasedCategory.whiskerRight ฮฑ H).toNatTrans =
CategoryTheory.Functor.whiskerRight ฮฑ.toNatTrans H.toFunctor
instance CategoryTheory.BasedCategory.instCategory E0 #
{๐ฎ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
CategoryTheory.Category.{max uโ vโ, max (max (max (uโ + 1) (vโ + 1)) uโ) vโ} (CategoryTheory.BasedCategory ๐ฎ)
The category of based categories.
theorem CategoryTheory.BasedCategory.comp_def E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] {X Y Z : CategoryTheory.BasedCategory ๐ฎ}
(F : CategoryTheory.BasedFunctor X Y) (G : CategoryTheory.BasedFunctor Y Z),
CategoryTheory.CategoryStruct.comp F G = F.comp G
theorem CategoryTheory.BasedCategory.id_def E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] (๐ณ : CategoryTheory.BasedCategory ๐ฎ),
CategoryTheory.CategoryStruct.id ๐ณ = CategoryTheory.BasedFunctor.id ๐ณ
instance CategoryTheory.BasedCategory.bicategory E0 #
{๐ฎ : Type uโ} โ [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ CategoryTheory.Bicategory (CategoryTheory.BasedCategory ๐ฎ)
The bicategory of based categories.
instance CategoryTheory.BasedCategory.instStrict E0 #
โ {๐ฎ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ],
CategoryTheory.Bicategory.Strict (CategoryTheory.BasedCategory ๐ฎ)
The bicategory structure on BasedCategory.{vโ, uโ} ๐ฎ is strict.