Definition hom_cat {C : two_cat} (x y : C) : category. Proof. use make_category. - exact (hom_precat x y). - abstract (intros f g ; apply isaset_two_cat_cells). Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Setcategories. Require Import UniMath.CategoryTheory.Core.Univalence.