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.
(** * Grothendieck Construction of a functor to Cat *)
[Loading ML file number_string_notation_plugin.cmxs (using legacy method) ... done]
Require Import Pseudofunctor.FromFunctor. Require Import Cat.Core. Require Import Grothendieck.PseudofunctorToCat. Set Universe Polymorphism. Set Implicit Arguments. Generalizable All Variables. Set Asymmetric Patterns. Local Open Scope morphism_scope. Section Grothendieck. Context `{Funext}. Variable P : PreCategory -> Type. (*Context `{forall C, IsHProp (P C)}.*) Context `{HF : forall C D, P C -> P D -> IsHSet (Functor C D)}. Local Notation cat := (@sub_pre_cat _ P HF). Variable C : PreCategory. Variable F : Functor C cat. (** ** Category of elements *) Definition category : PreCategory := category (pseudofunctor_of_functor_to_cat F). (** ** First projection functor *) Definition pr1 : Functor category C := pr1 (pseudofunctor_of_functor_to_cat F). End Grothendieck.