Definition idto2mor {C : two_cat_data} {x y : C} {f g : x --> y} (p : f = g) : f ==> g. Proof. induction p. apply id2. Defined.
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Setcategories. Require Import UniMath.CategoryTheory.Core.Univalence.