Lemma is_precategory_ptd : is_precategory ptd_precategory_data. Proof. repeat split; simpl; intros. - apply (invmap (eq_ptd_mor _ _ )). apply (@id_left (functor_category C C)). - apply (invmap (eq_ptd_mor _ _ )). apply (@id_right (functor_category _ _)). - apply (invmap (eq_ptd_mor _ _ )). apply (@assoc (functor_category _ _)). - apply (invmap (eq_ptd_mor _ _ )). apply (@assoc' (functor_category _ _)). Qed.
Require Import UniMath.Foundations.PartD. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.FunctorCategory.