proposition: Lemma isaprop_is_discrete (C : category) : isaprop (is_discrete C).
proof: Proof. apply isapropdirprod; [|apply isapropdirprod]. - apply isaprop_is_setcategory. - apply isaprop_is_pregroupoid. - apply isaprop_is_univalent. Defined.
imports: UniMath.Foundations.PartA UniMath.Foundations.PartD UniMath.Foundations.Propositions 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.opp_precat