Disjoint union of categories #
We define the category structure on a sigma-type (disjoint union) of categories.
The type of morphisms of a disjoint union of categories: for X : C i and Y : C j, a morphism
(i, X) ā¶ (j, Y) when i = j is just a morphism X ā¶ Y, and if i ā j then there are no such
morphisms.
- mk {I : Type wā} {C : I ā Type uā} [(i : I) ā Category.{vā, uā} (C i)] {i : I} {X Y : C i} : (X ā¶ Y) ā SigmaHom āØi, Xā© āØi, Yā©
Instances For
The identity morphism on an object.
Equations
Instances For
Equations
Composition of sigma homomorphisms.
Equations
Instances For
Equations
Equations
The inclusion functor into the disjoint union of categories.
Equations
Instances For
To build a natural transformation over the sigma category, it suffices to specify it restricted to each subcategory.
Equations
Instances For
(Implementation). An auxiliary definition to build the functor desc.
Equations
Instances For
Given a collection of functors F i : C i ℤ D, we can produce a functor (Σ i, C i) ℤ D.
The produced functor desc F satisfies: incl i ā desc F ā
F i, i.e. restricted to just the
subcategory C i, desc F agrees with F i, and it is unique (up to natural isomorphism) with
this property.
This witnesses that the sigma-type is the coproduct in Cat.
Equations
Instances For
This shows that when desc F is restricted to just the subcategory C i, desc F agrees with
F i.
Equations
Instances For
If q when restricted to each subcategory C i agrees with F i, then q is isomorphic to
desc F.
Equations
Instances For
If qā and qā when restricted to each subcategory C i agree, then qā and qā are isomorphic.
Equations
Instances For
A function J ā I induces a functor Ī£ j, C (g j) ℤ Ī£ i, C i.
Equations
Instances For
The functor Sigma.map C g restricted to the subcategory C j acts as the inclusion of g j.
Equations
Instances For
The functor Sigma.map applied to the identity function is just the identity functor.
Equations
Instances For
The functor Sigma.map applied to a composition is a composition of functors.
Equations
Instances For
Assemble an I-indexed family of functors into a functor between the sigma types.
Equations
Instances For
Assemble an I-indexed family of natural transformations into a single natural transformation.