fact: Definition modulefun_to_monoidfun {R : ring} {M N : module R} (f : R-mod(M, N)) : monoidfun (moduletomonoid M) (moduletomonoid N) := tpair _ (pr1 f) (tpair _ (pr1 (pr2 f)) (modulefun_unel f)).
imports: UniMath.MoreFoundations.Tactics UniMath.Algebra.RigsAndRings UniMath.Algebra.Groups UniMath.Algebra.Monoids