Statements
Source excerpts; proofs omitted. recall restates an existing declaration; #check records an expression, not its inferred type.
Definition 2.5.2: a groupoid is the canonical structure Groupoid C, namely a category in
which every morphism is an isomorphism; a group is realized as the corresponding one-object
groupoid SingleObj G.
recall Groupoid (C : Type u) : Type (max u (v + 1))
Source context
universe u v open CategoryTheory
A group carries the canonical one-object groupoid structure on SingleObj G.
#check (inferInstance : Groupoid (SingleObj G))
Source context
universe u v open CategoryTheory variable (G : Type u) [Group G]
The endomorphisms of the unique object of SingleObj G recover the original monoid, hence in
particular the original group.
recall SingleObj.toEnd (G : Type u) [Monoid G] : G ≃* End (SingleObj.star G)
Source context
universe u v open CategoryTheory variable (G : Type u) [Group G]