Definition modulehomabgr {R : ring} (M N : module R) : abgr. Proof. use make_abgr. use make_setwithbinop. use make_hSet. - exact (R-mod(M, N)). - exact (isasetmodulefun M N). - exact (@modulehombinop R M N). - exact (modulehomabgr_isabgrop M N). Defined.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.Monoids.