Fibers of a 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 S
is a pair(a, ha)
wherea : š³
andha : p.obj a = S
. - A morphism in
Fiber p S
is a morphismĻ : a ā¶ b
in š³ 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.
Fiber p S
is the type of elements of š³
mapping to S
via p
.
Instances For
Fiber p S
has the structure of a category with morphisms being those lying over š S
.
Equations
- CategoryTheory.Functor.Fiber.fiberCategory = CategoryTheory.Category.mk āÆ āÆ āÆ
The functor including Fiber p S
into š³
.
Equations
Instances For
For fixed S : š®
this is the natural isomorphism between fiberInclusion ā p
and the constant
function valued at S
.
Equations
- CategoryTheory.Functor.Fiber.fiberInclusionCompIsoConst = CategoryTheory.NatIso.ofComponents (fun (X : p.Fiber S) => CategoryTheory.eqToIso āÆ) āÆ
Instances For
The object of the fiber over S
corresponding to a a : š³
such that p(a) = S
.
Equations
- CategoryTheory.Functor.Fiber.mk ha = āØa, haā©
Instances For
The morphism in the fiber over S
corresponding to a morphism in š³
lifting š S
.
Equations
- CategoryTheory.Functor.Fiber.homMk p S Ļ = āØĻ, āÆā©
Instances For
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.
Equations
- CategoryTheory.Functor.Fiber.inducedFunctor hF = { obj := fun (x : C) => āØF.obj x, āÆā©, map := fun {X Y : C} (Ļ : X ā¶ Y) => āØF.map Ļ, āÆā©, map_id := āÆ, map_comp := āÆ }
Instances For
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
.
Equations
- CategoryTheory.Functor.Fiber.inducedFunctorCompIsoSelf hF = CategoryTheory.Iso.refl ((CategoryTheory.Functor.Fiber.inducedFunctor hF).comp CategoryTheory.Functor.Fiber.fiberInclusion)