(** * Identity profunctor *)Set Universe Polymorphism. Set Implicit Arguments. Generalizable All Variables. Set Asymmetric Patterns. Local Open Scope profunctor_scope. Section identity. (** Quoting nLab: In particular the identity profunctor [Id : C โธ C] is represented by the identity functor and hence is given by the hom-functor [C(โ,โ) : Cแตแต ร C โ Set]. *) Definition identity `{Funext} (C : PreCategory) : C -|-> C := hom_functor C. End identity. Module Export ProfunctorIdentityNotations. Notation "1" := (identity _) : profunctor_scope. End ProfunctorIdentityNotations.