Definition pr1ring : ring → setwith2binop := @pr1 _ (λ X : setwith2binop, isringops (@op1 X) (@op2 X)).
Require Import UniMath.Algebra.Groups. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders.