proposition: Lemma iscontr_functor_to_unit : iscontr (functor A unit_category).
proof: Proof. use make_iscontr. - exact functor_to_unit. - intro F. apply functor_eq. + apply (homset_property unit_category). + use total2_paths_f. * apply funextsec. intro. cbn. apply proofirrelevance. apply isapropunit. * do 3 (apply funextsec; intro). apply proofirrelevance. simpl. apply hlevelntosn. apply isapropunit. Qed.
imports: UniMath.Foundations.Sets UniMath.MoreFoundations.PartA UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Setcategories UniMath.CategoryTheory.Core.Univalence UniMath.CategoryTheory.FunctorCategory UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Groupoids UniMath.CategoryTheory.Limits.Initial UniMath.CategoryTheory.Limits.Terminal UniMath.CategoryTheory.Limits.BinCoproducts UniMath.CategoryTheory.Limits.BinProducts UniMath.CategoryTheory.PrecategoryBinProduct UniMath.CategoryTheory.exponentials UniMath.CategoryTheory.Adjunctions.Core UniMath.CategoryTheory.catiso UniMath.Combinatorics.StandardFiniteSets