Definition is_inverse_in_precat {C : precategory_data} {a b : C} (f : a --> b) (g : b --> a) := (f · g = identity a) × (g · f = identity b).
Require Import UniMath.Foundations.PartA. Require Import UniMath.Foundations.Propositions. Require Import UniMath.Foundations.Sets. Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.CategoryTheory.Core.Categories.