The areas / V24. Category theory
Mathlib.CategoryTheory.FiberedCategory.Fiber
25 declarations. Mathlib docs ยท Source
Fibers of functors
In this file we define, for a functor p : ๐ณ โฅค ๐ด, the fiber categories Fiber p S for every
S : ๐ฎ as follows
- An object in
Fiber p Sis a pair(a, ha)wherea : ๐ณandha : p.obj a = S. - A morphism in
Fiber p Sis a morphismฯ : a โถ bin ๐ณ such thatp.map ฯ = ๐ S.
For any category C equipped with a functor F : C โฅค ๐ณ such that F โ p is constant at S,
we define a functor inducedFunctor : C โฅค Fiber p S that F factors through.
def CategoryTheory.Functor.Fiber E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ CategoryTheory.Functor ๐ณ ๐ฎ โ ๐ฎ โ Type (max 0 uโ)
Fiber p S is the type of elements of ๐ณ mapping to S via p.
instance CategoryTheory.Functor.Fiber.fiberCategory E0 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ {S : ๐ฎ} โ CategoryTheory.Category.{vโ, uโ} (p.Fiber S)
Fiber p S has the structure of a category with morphisms being those lying over ๐ S.
def CategoryTheory.Functor.Fiber.fiberInclusion E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ {S : ๐ฎ} โ CategoryTheory.Functor (p.Fiber S) ๐ณ
The functor including Fiber p S into ๐ณ.
instance CategoryTheory.Functor.Fiber.instIsHomLiftIdMapFiberInclusion E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {a b : p.Fiber S} (ฯ : a โถ b),
p.IsHomLift (CategoryTheory.CategoryStruct.id S) (CategoryTheory.Functor.Fiber.fiberInclusion.map ฯ)
theorem CategoryTheory.Functor.Fiber.hom_ext_iff E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {a b : p.Fiber S} {ฯ ฯ : a โถ b},
ฯ = ฯ โ CategoryTheory.Functor.Fiber.fiberInclusion.map ฯ = CategoryTheory.Functor.Fiber.fiberInclusion.map ฯ
theorem CategoryTheory.Functor.Fiber.hom_ext E1 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {a b : p.Fiber S} {ฯ ฯ : a โถ b},
CategoryTheory.Functor.Fiber.fiberInclusion.map ฯ = CategoryTheory.Functor.Fiber.fiberInclusion.map ฯ โ ฯ = ฯ
instance CategoryTheory.Functor.Fiber.instFaithfulFiberInclusion E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ}, CategoryTheory.Functor.Fiber.fiberInclusion.Faithful
theorem CategoryTheory.Functor.Fiber.fiberInclusion_obj_inj E1 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ}, Function.Injective CategoryTheory.Functor.Fiber.fiberInclusion.obj
def CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ
{S : ๐ฎ} โ
CategoryTheory.Functor.Fiber.fiberInclusion.comp p โ
(CategoryTheory.Functor.const (p.Fiber S)).obj S
For fixed S : ๐ฎ this is the natural isomorphism between fiberInclusion โ p and the constant
function valued at S.
theorem CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst_inv_app E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} (X : p.Fiber S),
CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst.inv.app X = CategoryTheory.eqToHom โฏ
theorem CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst_hom_app E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} (X : p.Fiber S),
CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst.hom.app X = CategoryTheory.eqToHom โฏ
theorem CategoryTheory.Functor.Fiber.fiberInclusion_comp_eq_const E1 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ},
CategoryTheory.Functor.Fiber.fiberInclusion.comp p = (CategoryTheory.Functor.const (p.Fiber S)).obj S
def CategoryTheory.Functor.Fiber.mk E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ {S : ๐ฎ} โ {a : ๐ณ} โ p.obj a = S โ p.Fiber S
The object of the fiber over S corresponding to a a : ๐ณ such that p(a) = S.
theorem CategoryTheory.Functor.Fiber.fiberInclusion_mk E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {a : ๐ณ} (ha : p.obj a = S),
CategoryTheory.Functor.Fiber.fiberInclusion.obj (CategoryTheory.Functor.Fiber.mk ha) = a
def CategoryTheory.Functor.Fiber.homMk E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
(p : CategoryTheory.Functor ๐ณ ๐ฎ) โ
(S : ๐ฎ) โ
{a b : ๐ณ} โ
(ฯ : a โถ b) โ
[inst_2 : p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ] โ
CategoryTheory.Functor.Fiber.mk โฏ โถ CategoryTheory.Functor.Fiber.mk โฏ
The morphism in the fiber over S corresponding to a morphism in ๐ณ lifting ๐ S.
theorem CategoryTheory.Functor.Fiber.fiberInclusion_homMk E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
(p : CategoryTheory.Functor ๐ณ ๐ฎ) (S : ๐ฎ) {a b : ๐ณ} (ฯ : a โถ b)
[inst_2 : p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ],
CategoryTheory.Functor.Fiber.fiberInclusion.map (CategoryTheory.Functor.Fiber.homMk p S ฯ) = ฯ
theorem CategoryTheory.Functor.Fiber.homMk_id E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
(p : CategoryTheory.Functor ๐ณ ๐ฎ) (S : ๐ฎ) (a : ๐ณ)
[inst_2 : p.IsHomLift (CategoryTheory.CategoryStruct.id S) (CategoryTheory.CategoryStruct.id a)],
CategoryTheory.Functor.Fiber.homMk p S (CategoryTheory.CategoryStruct.id a) =
CategoryTheory.CategoryStruct.id (CategoryTheory.Functor.Fiber.mk โฏ)
theorem CategoryTheory.Functor.Fiber.homMk_comp E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {a b c : ๐ณ} (ฯ : a โถ b) (ฯ : b โถ c)
[inst_2 : p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ]
[inst_3 : p.IsHomLift (CategoryTheory.CategoryStruct.id S) ฯ],
CategoryTheory.CategoryStruct.comp (CategoryTheory.Functor.Fiber.homMk p S ฯ)
(CategoryTheory.Functor.Fiber.homMk p S ฯ) =
CategoryTheory.Functor.Fiber.homMk p S (CategoryTheory.CategoryStruct.comp ฯ ฯ)
def CategoryTheory.Functor.Fiber.inducedFunctor E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ
{S : ๐ฎ} โ
{C : Type uโ} โ
[inst_2 : CategoryTheory.Category.{vโ, uโ} C] โ
{F : CategoryTheory.Functor C ๐ณ} โ
F.comp p = (CategoryTheory.Functor.const C).obj S โ CategoryTheory.Functor C (p.Fiber S)
Given a functor F : C โฅค ๐ณ such that F โ p is constant at some S : ๐ฎ, then
we get an induced functor C โฅค Fiber p S that F factors through.
def CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf E1 #
{๐ฎ : Type uโ} โ
{๐ณ : Type uโ} โ
[inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] โ
[inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ] โ
{p : CategoryTheory.Functor ๐ณ ๐ฎ} โ
{S : ๐ฎ} โ
{C : Type uโ} โ
[inst_2 : CategoryTheory.Category.{vโ, uโ} C] โ
{F : CategoryTheory.Functor C ๐ณ} โ
(hF : F.comp p = (CategoryTheory.Functor.const C).obj S) โ
(CategoryTheory.Functor.Fiber.inducedFunctor hF).comp CategoryTheory.Functor.Fiber.fiberInclusion โ
F
Given a functor F : C โฅค ๐ณ such that F โ p is constant at some S : ๐ฎ, then
we get a natural isomorphism between inducedFunctor _ โ fiberInclusion and F.
theorem CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf_hom_app E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {C : Type uโ} [inst_2 : CategoryTheory.Category.{vโ, uโ} C]
{F : CategoryTheory.Functor C ๐ณ} (hF : F.comp p = (CategoryTheory.Functor.const C).obj S) (X : C),
(CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf hF).hom.app X =
CategoryTheory.CategoryStruct.id
(CategoryTheory.Functor.Fiber.fiberInclusion.obj ((CategoryTheory.Functor.Fiber.inducedFunctor hF).obj X))
theorem CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf_inv_app E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {C : Type uโ} [inst_2 : CategoryTheory.Category.{vโ, uโ} C]
{F : CategoryTheory.Functor C ๐ณ} (hF : F.comp p = (CategoryTheory.Functor.const C).obj S) (X : C),
(CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf hF).inv.app X =
CategoryTheory.CategoryStruct.id
(CategoryTheory.Functor.Fiber.fiberInclusion.obj ((CategoryTheory.Functor.Fiber.inducedFunctor hF).obj X))
theorem CategoryTheory.Functor.Fiber.inducedFunctor_comp E1 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {C : Type uโ} [inst_2 : CategoryTheory.Category.{vโ, uโ} C]
{F : CategoryTheory.Functor C ๐ณ} (hF : F.comp p = (CategoryTheory.Functor.const C).obj S),
(CategoryTheory.Functor.Fiber.inducedFunctor hF).comp CategoryTheory.Functor.Fiber.fiberInclusion = F
theorem CategoryTheory.Functor.Fiber.inducedFunctor_comp_obj E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {C : Type uโ} [inst_2 : CategoryTheory.Category.{vโ, uโ} C]
{F : CategoryTheory.Functor C ๐ณ} (hF : F.comp p = (CategoryTheory.Functor.const C).obj S) (X : C),
CategoryTheory.Functor.Fiber.fiberInclusion.obj ((CategoryTheory.Functor.Fiber.inducedFunctor hF).obj X) = F.obj X
theorem CategoryTheory.Functor.Fiber.inducedFunctor_comp_map E0 #
โ {๐ฎ : Type uโ} {๐ณ : Type uโ} [inst : CategoryTheory.Category.{vโ, uโ} ๐ฎ] [inst_1 : CategoryTheory.Category.{vโ, uโ} ๐ณ]
{p : CategoryTheory.Functor ๐ณ ๐ฎ} {S : ๐ฎ} {C : Type uโ} [inst_2 : CategoryTheory.Category.{vโ, uโ} C]
{F : CategoryTheory.Functor C ๐ณ} (hF : F.comp p = (CategoryTheory.Functor.const C).obj S) {X Y : C} (f : X โถ Y),
CategoryTheory.Functor.Fiber.fiberInclusion.map ((CategoryTheory.Functor.Fiber.inducedFunctor hF).map f) = F.map f