fact: Definition make_submodule {R : ring} {M : module R} : ∏ (t : hsubtype M), (λ A : hsubtype M, issubmodule A) t → ∑ A : hsubtype M, issubmodule A := tpair (λ A : hsubtype M, issubmodule A).
imports: UniMath.MoreFoundations.Subtypes UniMath.Algebra.RigsAndRings UniMath.Algebra.Monoids UniMath.Algebra.Groups UniMath.Algebra.Modules.Core