proposition: Lemma is_functor_z_iso_pointwise_if_z_iso (C : precategory_data)(C' : precategory) (hs: has_homsets C') (F G : ob [C, C', hs]) (A : F --> G) : is_z_isomorphism A -> is_nat_z_iso (pr1 A).
proof: Proof. intros H a. set (T := inv_from_z_iso (tpair _ A H)). set (TA := z_iso_inv_after_z_iso (tpair _ A H)). set (TA' := z_iso_after_z_iso_inv (tpair _ A H)). simpl in *. exists (T a). split. - unfold T. set (H1' := nat_trans_eq_pointwise TA). apply H1'. - apply (nat_trans_eq_pointwise TA'). Defined.
imports: UniMath.Foundations.Propositions UniMath.MoreFoundations.Tactics UniMath.MoreFoundations.Univalence UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.TransportMorphisms UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Univalence