Definition oppositeCategoryWithAbgrops (M : categoryWithAbgrops) : categoryWithAbgrops. Proof. use tpair. - exact (oppositePrecategoryWithBinOps M). - exact (λ a b, @to_isabgrop M (rm_opp_ob b) (rm_opp_ob a)). Defined.
Require Import UniMath.Foundations.PartD. Require Import UniMath.Foundations.Propositions. Require Import UniMath.Foundations.Sets. Require Import UniMath.Algebra.Monoids. Require Import UniMath.Algebra.Groups. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.PrecategoryBinProduct. Require Import UniMath.CategoryTheory.CategoriesWithBinOps. Require Import UniMath.CategoryTheory.opp_precat. Require Import UniMath.CategoryTheory.Core.Functors.