Definition carrierofasubrig (X : rig) (A : subrig X) : rig. Proof. intros. exists A. apply isrigcarrier. Defined.
Require Import UniMath.Algebra.Groups. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders.