Definition ith_modulefun {I : UU} {rings : I -> ring} {MM NN : multimodule rings} (f : multimodulefun MM NN) (i : I) : modulefun (ith_module MM i) (ith_module NN i) := (pr1 f,, (make_dirprod (pr1 (pr2 f)) (pr2 (pr2 f) i))).
Require Import UniMath.Algebra.Modules.Core. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Foundations.Preamble. Require Import UniMath.Foundations.Sets.