Definition idtoiso {C : precategory} {a b : ob C}: a = b -> z_iso a b. Proof. intro H. induction H. exact (identity_z_iso a). Defined.
Require Import UniMath.Foundations.PartA. Require Import UniMath.Foundations.Sets. Require Import UniMath.MoreFoundations.PartA. Require Import UniMath.MoreFoundations.Tactics. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Isos.