Definition poset_to_category : category. Proof. use make_category. - exact poset_to_precategory. - abstract (intros x y ; apply isasetaprop ; apply propproperty). Defined.
Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos. Require Import UniMath.CategoryTheory.Core.Univalence. Require Import UniMath.CategoryTheory.CategoryEquality.