Definition quotient_by_monoidfun {X Y : monoid} (f : monoidfun X Y) : monoid := monoidquot (fiber_binopeqrel f).
Require Import UniMath.MoreFoundations.Subtypes. Require Import UniMath.MoreFoundations.Sets.