Lemma isaprop_is_setcategory (C : precategory) : isaprop (is_setcategory C). Proof. apply isapropdirprod. - apply isapropisaset. - apply isaprop_has_homsets. Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Functors.