Definition rigquot {X : rig} (R : @rigeqrel X) : rig := @make_rig (setwith2binopquot R) (isrigquot R).
Require Import UniMath.Algebra.Groups. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders.