/-
Copyright (c) 2024 Dagur Asgeirsson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dagur Asgeirsson
-/
module
public import Mathlib.CategoryTheory.Groupoid
/-!
# Discrete categories are groupoids
-/
public section
namespace CategoryTheory
variable {C : Type*}
instance : Groupoid (Discrete C) := { inv := fun h ↦ ⟨h.1.symm⟩ }
instance [Category* C] [IsDiscrete C] : IsGroupoid C where
end CategoryTheory
¤ Dauer der Verarbeitung: 0.2 Sekunden
¤
*© Formatika GbR, Deutschland