module Cat.Groupoid where

GroupoidsπŸ”—

A category C\mathcal{C} is a (pre)groupoid if every morphism of C\mathcal{C} is invertible.

is-pregroupoid : βˆ€ {o β„“} β†’ Precategory o β„“ β†’ Type (o βŠ” β„“)
is-pregroupoid C = βˆ€ {x y} (f : Hom x y) β†’ is-invertible f
  where open Cat.Reasoning C