Definition make_subrig {X : rig} (t : hsubtype X) (H : issubrig t) : subrig X := t ,, H.
Require Import UniMath.Algebra.Groups. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders.