Library UniMath.CategoryTheory.categories.Type.Colimits
Colimits in the precategory of types
Contents:
- Initial object (InitialType)
- Binary coproducts (BinCoproductsType)
Require Import UniMath.Foundations.PartA.
Require Import UniMath.Foundations.PartD.
Require Import UniMath.CategoryTheory.Core.Categories.
Require Import UniMath.CategoryTheory.Core.Functors.
Require Import UniMath.CategoryTheory.limits.initial.
Require Import UniMath.CategoryTheory.limits.bincoproducts.
Require Import UniMath.CategoryTheory.categories.Type.Core.
Lemma InitialType : Initial type_precat.
Proof.
apply (make_Initial (empty : ob type_precat)).
exact iscontrfunfromempty.
Defined.
Proof.
apply (make_Initial (empty : ob type_precat)).
exact iscontrfunfromempty.
Defined.
Lemma BinCoproductsType : BinCoproducts type_precat.
Proof.
intros X Y.
use tpair.
- exact (coprod X Y,, inl,, inr).
- apply isBinCoproduct'_to_isBinCoproduct.
intro Z; apply (weqfunfromcoprodtoprod X Y Z).
Defined.
Proof.
intros X Y.
use tpair.
- exact (coprod X Y,, inl,, inr).
- apply isBinCoproduct'_to_isBinCoproduct.
intro Z; apply (weqfunfromcoprodtoprod X Y Z).
Defined.