proposition: Lemma has_homsets_cat_of_elems {C : category} (X : C^op ⟶ HSET) : has_homsets (precat_of_elems X).
proof: Proof. intros a b. apply isaset_total2. - apply C. - intro f. apply isasetaprop, setproperty. Qed.
imports: UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.FunctorCategory UniMath.CategoryTheory.Categories.HSET.Core UniMath.CategoryTheory.opp_precat UniMath.CategoryTheory.Presheaf