Definition has_homsets_RelModule_Precategory (hs : has_homsets D) : has_homsets (RelModule_Precategory hs). Proof. red. cbn. intros M N. apply isaset_total2. - apply impred_isaset. intros. apply hs. - intros P. apply isasetaprop. apply isaprop_RelModule_Mor_laws. apply hs. Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Monads.RelativeMonads.