Definition ringofendabgr_op1 {G: abgr} : binop (monoidfun G G). Proof. intros f g. apply (@monoidfunconstr _ _ (λ x : G, f x + g x)). apply tpair. - intros x x'. rewrite (monoidfun_to_isbinopfun f). rewrite (monoidfun_to_isbinopfun g). apply (abmonoidrer G). - rewrite (monoidfununel f). rewrite (monoidfununel g). rewrite (lunax G). reflexivity. Defined.
Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.Algebra.RigsAndRings. Require Import UniMath.Algebra.Groups. Require Import UniMath.Algebra.Monoids.