Definition opposite_opposite_rig (X : rig) : rigiso X ((X⁰)⁰). Proof. refine ((idfun X,, idisweq X),, _). repeat split. Defined.
Require Import UniMath.Algebra.Groups. Require Import UniMath.MoreFoundations.Sets. Require Import UniMath.MoreFoundations.Orders.