Finite categories #
A category is finite in this sense if it has finitely many objects, and finitely many morphisms.
Implementation #
Prior to #14046, FinCategory
required a DecidableEq
instance on the object and morphism types.
This does not seem to have had any practical payoff (i.e. making some definition constructive)
so we have removed these requirements to avoid
having to supply instances or delay with non-defeq conflicts between instances.
A FinCategory α
is equivalent to a category with objects in Type
.
Instances For
The constructed category is indeed equivalent to α
.
Instances For
A FinCategory α
is equivalent to a fin_category with in Type
.
Instances For
The "identity" functor from AsType α
to ObjAsType α
.
Instances For
The "identity" functor from ObjAsType α
to AsType α
.
Instances For
The constructed category (AsType α
) is equivalent to ObjAsType α
.
Instances For
The constructed category (ObjAsType α
) is indeed equivalent to α
.
Instances For
The opposite of a finite category is finite.
Applying ULift
to morphisms and objects of a category preserves finiteness.