Library HoTT.Categories.CategoryOfGroupoids
Require Import Functor.Core Category.Strict.
Require Import Cat.Core.
Require Import GroupoidCategory.Core.
Require Import Functor.Paths.
Set Implicit Arguments.
Generalizable All Variables.
Local Open Scope functor_scope.
Section groupoid_cat.
Context `{Funext}.
Let P : PreCategory → Type
:= fun C ⇒ IsGroupoid C ∧ IsStrictCategory C.
Let HF : ∀ C D, P C → P D → IsHSet (Functor C D)
:= fun C D HC HD ⇒ @trunc_functor _ C D _ (snd HD) _.
Require Import Cat.Core.
Require Import GroupoidCategory.Core.
Require Import Functor.Paths.
Set Implicit Arguments.
Generalizable All Variables.
Local Open Scope functor_scope.
Section groupoid_cat.
Context `{Funext}.
Let P : PreCategory → Type
:= fun C ⇒ IsGroupoid C ∧ IsStrictCategory C.
Let HF : ∀ C D, P C → P D → IsHSet (Functor C D)
:= fun C D HC HD ⇒ @trunc_functor _ C D _ (snd HD) _.
There is a full precategory of cat which is the strict groupoid precategories