Definition idmoduleiso {R : ring} (M : module R) : moduleiso M M. Proof. use make_moduleiso. - exact (idweq (pr1module M)). - apply make_dirprod. + intros x y. apply idpath. + intros r x. apply idpath. Defined.
Require Import UniMath.Algebra.Modules.Core. Require Import UniMath.Algebra.Modules.Multimodules. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Foundations.Preamble. Require Import UniMath.MoreFoundations.Tactics.