Wide subcategories #
A wide subcategory of a category C is a subcategory containing all the objects of C.
Main declarations #
Given a category D, a function F : C โ D from a type C to the objects of D,
and a morphism property P on D which contains identities and is stable under
composition, the type class InducedWideCategory D F P is a typeclass
synonym for C which comes equipped with a category structure whose morphisms X โถ Y are the
morphisms in D which have the property P.
The instance WideSubcategory.category provides a category structure on WideSubcategory P
whose objects are the objects of C and morphisms are the morphisms in C which have the
property P.
InducedWideCategory D F P, where F : C โ D, is a typeclass synonym for C,
which provides a category structure so that the morphisms X โถ Y are the morphisms
in D from F X to F Y which satisfy a property P : MorphismProperty D that is multiplicative.
Instances For
The type of morphisms in InducedWideCategory D F P between X and Y
is a 2-field structure consisting of a morphism F X โถ F Y in D that satisfies
the property P.
The underlying morphism.
- property : P self.hom
The property that the morphism satisfies.
Instances For
The forgetful functor from an induced wide category to the original category.
Instances For
The induced functor wideInducedFunctor F P : InducedWideCategory D F P โฅค D
is faithful.
Structure for wide subcategories. Objects ignore the morphism property.
- obj : C
The category of which this is a wide subcategory
Instances For
The forgetful functor from a wide subcategory into the original category ("forgetting" the condition).
Instances For
The inclusion of a wide subcategory is faithful.
Build an isomorphism in WideSubcategory P from an isomorphism in C.