fact: Definition submodule {R : ring} (M : module R) : UU := total2 (λ A : hsubtype M, issubmodule A).
imports: UniMath.MoreFoundations.Subtypes UniMath.Algebra.RigsAndRings UniMath.Algebra.Monoids UniMath.Algebra.Groups UniMath.Algebra.Modules.Core