proposition: Lemma TerminalEndo_is_identity {T : Terminal} (f : T --> T) : f = identity T.
proof: Proof. apply proofirrelevancecontr, (pr2 T T). Qed.
imports: UniMath.Foundations.All UniMath.MoreFoundations.All UniMath.CategoryTheory.Core.Categories UniMath.CategoryTheory.Core.Isos UniMath.CategoryTheory.Core.NaturalTransformations UniMath.CategoryTheory.Core.Univalence UniMath.CategoryTheory.Core.Functors UniMath.CategoryTheory.FunctorCategory UniMath.CategoryTheory.Limits.Products UniMath.CategoryTheory.Monics