proposition: Lemma iscontrfromzero_module (M : mod_category) : iscontr (mod_category⟦zero_module R, M⟧).
proof: Proof. refine (unelmodulefun _ _,, _). intros f; apply modulefun_paths. apply funextfun; intro x. unfold unelmodulefun; cbn. refine (!maponpaths (fun z => (pr1 f) z) (isProofIrrelevantUnit (@unel (zero_module R)) _ ) @ _). apply (monoidfununel (modulefun_to_monoidfun f)). Defined.
imports: UniMath.Algebra.Groups UniMath.Algebra.RigsAndRings UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.Univalence UniMath.Algebra.Modules UniMath.Algebra.Modules.Examples UniMath.CategoryTheory.Limits.Zero