Definition islinear {R : ring} {M N : module R} (f : M -> N) := ∏ r : R, ∏ x : M, f (r * x) = r * (f x).
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.Monoids.