Built with Alectryon, running Coq+SerAPI v8.18.0+0.18.3. Bubbles () indicate interactive fragments: hover for details, tap to reveal contents. Use Ctrl+↑ Ctrl+↓ to navigate, Ctrl+🖱️ to focus. On Mac, use instead of Ctrl.
(** * Functor category [D → C] (also [Cᴰ] and [[D, C]]) *)
[Loading ML file number_string_notation_plugin.cmxs (using legacy method) ... done]
(** These must come last, so that [identity], [compose], etc., refer to natural transformations. *) Require Import NaturalTransformation.Composition.Core NaturalTransformation.Identity NaturalTransformation.Composition.Laws NaturalTransformation.Paths. Set Universe Polymorphism. Set Implicit Arguments. Generalizable All Variables. Set Asymmetric Patterns. (** ** Definition of [C → D] *) Section functor_category. Context `{Funext}. Variables C D : PreCategory. (** There is a category Fun(C, D) of functors from [C] to [D]. *) Definition functor_category : PreCategory := @Build_PreCategory (Functor C D) (@NaturalTransformation C D) (@identity C D) (@compose C D) (@associativity _ C D) (@left_identity _ C D) (@right_identity _ C D) _. End functor_category. Local Notation "C -> D" := (functor_category C D) : category_scope. (** ** [C → D] is a strict category if [D] is *)
H: Funext
C, D: PreCategory
IsStrictCategory0: IsStrictCategory D

IsStrictCategory (C -> D)
H: Funext
C, D: PreCategory
IsStrictCategory0: IsStrictCategory D

IsStrictCategory (C -> D)
typeclasses eauto. Defined. Module Export FunctorCategoryCoreNotations. (*Notation "C ^ D" := (functor_category D C) : category_scope. Notation "[ C , D ]" := (functor_category C D) : category_scope.*) Notation "C -> D" := (functor_category C D) : category_scope. End FunctorCategoryCoreNotations.