/-
Copyright (c) 2022 Rémi Bottinelli. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Rémi Bottinelli
-/
module
public import Mathlib.CategoryTheory.Groupoid
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Basic properties of groupoids
This file defines a few basic properties of groupoids.
-/
@[expose] public section
namespace CategoryTheory
namespace Groupoid
variable (C : Type*) [Groupoid C]
section Thin
theorem isThin_iff : Quiver.IsThin C ↔ ∀ c : C, Subsingleton (c ⟶ c) := by
refine ⟨fun h c => h c c, fun h c d => Subsingleton.intro fun f g => ?_⟩
have := h d
calc
f = f ≫ inv g ≫ g := by simp only [inv_eq_inv, IsIso.inv_hom_id, Category.comp_id]
_ = f ≫ inv f ≫ g := by congr 1
simp only [inv_eq_inv, IsIso.inv_hom_id, eq_iff_true_of_subsingleton]
_ = g := by simp only [inv_eq_inv, IsIso.hom_inv_id_assoc]
end Thin
section Disconnected
/-- A subgroupoid is totally disconnected if it only has loops. -/
def IsTotallyDisconnected :=
∀ c d : C, (c ⟶ d) → c = d
end Disconnected
end Groupoid
end CategoryTheory
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland