Definition modulefun_from_monoidfun {R : ring} {M N : module R} (f : R-mod(M, N)) (H : islinear (pr1 f)) : R-mod(M, N) := make_modulefun (pr1 f) (make_ismodulefun (pr1 (pr2 f)) H).
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.Monoids.