From HandWiki

In mathematics, especially in category theory and homotopy theory, a groupoid (less often Brandt groupoid or virtual group) generalises the notion of group in several equivalent ways. A groupoid can be seen as a:

In the presence of dependent typing, a category in general can be viewed as a typed monoid, and similarly, a groupoid can be viewed as simply a typed group. The morphisms take one from one object to another, and form a dependent family of types, thus morphisms might be typed [math]\displaystyle{ g:A \rightarrow B }[/math], [math]\displaystyle{ h:B \rightarrow C }[/math], say. Composition is then a total function: [math]\displaystyle{ \circ : (B \rightarrow C) \rightarrow (A \rightarrow B) \rightarrow A \rightarrow C }[/math], so that [math]\displaystyle{ h \circ g : A \rightarrow C }[/math].

Special cases include:

Groupoids are often used to reason about geometrical objects such as manifolds. Heinrich Brandt (1927) introduced groupoids implicitly via Brandt semigroups.[2]


A groupoid is an algebraic structure [math]\displaystyle{ (G,\ast) }[/math] consisting of a non-empty set [math]\displaystyle{ G }[/math] and a binary partial function '[math]\displaystyle{ \ast }[/math]' defined on [math]\displaystyle{ G }[/math].


A groupoid is a set [math]\displaystyle{ G }[/math] with a unary operation [math]\displaystyle{ {}^{-1}:G\to G, }[/math] and a partial function [math]\displaystyle{ *:G\times G \rightharpoonup G }[/math]. Here * is not a binary operation because it is not necessarily defined for all pairs of elements of [math]\displaystyle{ G }[/math]. The precise conditions under which [math]\displaystyle{ * }[/math] is defined are not articulated here and vary by situation.

The operations [math]\displaystyle{ \ast }[/math] and −1 have the following axiomatic properties: For all [math]\displaystyle{ a }[/math], [math]\displaystyle{ b }[/math], and [math]\displaystyle{ c }[/math] in [math]\displaystyle{ G }[/math],

  1. Associativity: If [math]\displaystyle{ a*b }[/math] and [math]\displaystyle{ b*c }[/math] are defined, then [math]\displaystyle{ (a * b) * c }[/math] and [math]\displaystyle{ a * (b * c) }[/math] are defined and are equal. Conversely, if one of [math]\displaystyle{ (a * b) * c }[/math] or [math]\displaystyle{ a * (b * c) }[/math] is defined, then they are both defined (and they are equal to each other), and [math]\displaystyle{ a*b }[/math] and [math]\displaystyle{ b*c }[/math] are also defined.
  2. Inverse: [math]\displaystyle{ a^{-1} * a }[/math] and [math]\displaystyle{ a*{a^{-1}} }[/math] are always defined.
  3. Identity: If [math]\displaystyle{ a*b }[/math] is defined, then [math]\displaystyle{ a*b*{b^{-1}} = a }[/math], and [math]\displaystyle{ {a^{-1}} * a * b = b }[/math]. (The previous two axioms already show that these expressions are defined and unambiguous.)

Two easy and convenient properties follow from these axioms:

  • [math]\displaystyle{ (a^{-1})^{-1} = a }[/math],
  • If [math]\displaystyle{ a*b }[/math] is defined, then [math]\displaystyle{ (a*b)^{-1} = b^{-1} * a^{-1} }[/math].[3]

Category theoretic

A groupoid is a small category in which every morphism is an isomorphism, i.e., invertible.[1] More explicitly, a groupoid G is:

  • A set G0 of objects;
  • For each pair of objects x and y in G0, there exists a (possibly empty) set G(x,y) of morphisms (or arrows) from x to y. We write f : xy to indicate that f is an element of G(x,y).
  • For every object x, a designated element [math]\displaystyle{ \mathrm{id}_x }[/math] of G(x,x);
  • For each triple of objects x, y, and z, a function [math]\displaystyle{ \mathrm{comp}_{x,y,z} : G(y, z)\times G(x, y) \rightarrow G(x, z): (g, f) \mapsto gf }[/math];
  • For each pair of objects x, y a function [math]\displaystyle{ \mathrm{inv}: G(x, y) \rightarrow G(y, x): f \mapsto f^{-1} }[/math];

satisfying, for any f : xy, g : yz, and h : zw:

  • [math]\displaystyle{ f\ \mathrm{id}_x = f }[/math] and [math]\displaystyle{ \mathrm{id}_y\ f = f }[/math];
  • [math]\displaystyle{ (h g) f = h (g f) }[/math];
  • [math]\displaystyle{ f f^{-1} = \mathrm{id}_y }[/math] and [math]\displaystyle{ f^{-1} f = \mathrm{id}_x }[/math].

If f is an element of G(x,y) then x is called the source of f, written s(f), and y is called the target of f, written t(f). A groupoid G is sometimes denoted as [math]\displaystyle{ G_1 \rightrightarrows G_0 }[/math], where [math]\displaystyle{ G_1 }[/math] is the set of all morphisms, and the two arrows [math]\displaystyle{ G_1 \to G_0 }[/math] represent the source and the target.

More generally, one can consider a groupoid object in an arbitrary category admitting finite fiber products.

Comparing the definitions

The algebraic and category-theoretic definitions are equivalent, as we now show. Given a groupoid in the category-theoretic sense, let G be the disjoint union of all of the sets G(x,y) (i.e. the sets of morphisms from x to y). Then [math]\displaystyle{ \mathrm{comp} }[/math] and [math]\displaystyle{ \mathrm{inv} }[/math] become partial operations on G, and [math]\displaystyle{ \mathrm{inv} }[/math] will in fact be defined everywhere. We define ∗ to be [math]\displaystyle{ \mathrm{comp} }[/math] and −1 to be [math]\displaystyle{ \mathrm{inv} }[/math], which gives a groupoid in the algebraic sense. Explicit reference to G0 (and hence to [math]\displaystyle{ \mathrm{id} }[/math]) can be dropped.

Conversely, given a groupoid G in the algebraic sense, define an equivalence relation [math]\displaystyle{ \sim }[/math] on its elements by [math]\displaystyle{ a \sim b }[/math] iff aa−1 = bb−1. Let G0 be the set of equivalence classes of [math]\displaystyle{ \sim }[/math], i.e. [math]\displaystyle{ G_0:=G/\!\!\sim }[/math]. Denote aa−1 by [math]\displaystyle{ 1_x }[/math] if [math]\displaystyle{ a\in G }[/math] with [math]\displaystyle{ x\in G_0 }[/math].

Now define [math]\displaystyle{ G(x, y) }[/math] as the set of all elements f such that [math]\displaystyle{ 1_x*f*1_y }[/math] exists. Given [math]\displaystyle{ f \in G(x,y) }[/math] and [math]\displaystyle{ g \in G(y, z), }[/math] their composite is defined as [math]\displaystyle{ gf:=f*g \in G(x,z) }[/math]. To see that this is well defined, observe that since [math]\displaystyle{ (1_x*f)*1_y }[/math] and [math]\displaystyle{ 1_y*(g*1_z) }[/math] exist, so does [math]\displaystyle{ (1_x*f*1_y)*(g*1_z)=f*g }[/math]. The identity morphism on x is then [math]\displaystyle{ 1_x }[/math], and the category-theoretic inverse of f is f−1.

Sets in the definitions above may be replaced with classes, as is generally the case in category theory.

Vertex groups and orbits

Given a groupoid G, the vertex groups or isotropy groups or object groups in G are the subsets of the form G(x,x), where x is any object of G. It follows easily from the axioms above that these are indeed groups, as every pair of elements is composable and inverses are in the same vertex group.

The orbit of a groupoid G at a point [math]\displaystyle{ x \in X }[/math] is given by the set [math]\displaystyle{ s(t^{-1}(x)) \subset X }[/math] containing every point that can be joined to x by an morphism in G. If two points [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] are in the same orbits, their vertex groups [math]\displaystyle{ G(x) }[/math] and [math]\displaystyle{ G(y) }[/math] are isomorphic: if [math]\displaystyle{ f }[/math] is any morphism from [math]\displaystyle{ x }[/math] to [math]\displaystyle{ y }[/math], then the isomorphism is given by the mapping [math]\displaystyle{ g\to fgf^{-1} }[/math].

Orbits form a partition of the set X, and a groupoid is called transitive if it has only one orbit (equivalently, if it is connected as a category). In that case, all the vertex groups are isomorphic (on the other hand, this is not a sufficient condition for transitivity; see the section below for counterexamples).

Subgroupoids and morphisms

A subgroupoid of [math]\displaystyle{ G \rightrightarrows X }[/math] is a subcategory [math]\displaystyle{ H \rightrightarrows Y }[/math] that is itself a groupoid. It is called wide or full if it is wide or full as a subcategory i.e., respectively, if [math]\displaystyle{ X = Y }[/math] or [math]\displaystyle{ G(x,y)=H(x,y) }[/math] for every [math]\displaystyle{ x,y \in Y }[/math].

A groupoid morphism is simply a functor between two (category-theoretic) groupoids.

Particular kinds of morphisms of groupoids are of interest. A morphism [math]\displaystyle{ p: E \to B }[/math] of groupoids is called a fibration if for each object [math]\displaystyle{ x }[/math] of [math]\displaystyle{ E }[/math] and each morphism [math]\displaystyle{ b }[/math] of [math]\displaystyle{ B }[/math] starting at [math]\displaystyle{ p(x) }[/math] there is a morphism [math]\displaystyle{ e }[/math] of [math]\displaystyle{ E }[/math] starting at [math]\displaystyle{ x }[/math] such that [math]\displaystyle{ p(e)=b }[/math]. A fibration is called a covering morphism or covering of groupoids if further such an [math]\displaystyle{ e }[/math] is unique. The covering morphisms of groupoids are especially useful because they can be used to model covering maps of spaces.[4]

It is also true that the category of covering morphisms of a given groupoid [math]\displaystyle{ B }[/math] is equivalent to the category of actions of the groupoid [math]\displaystyle{ B }[/math] on sets.



Main page: Fundamental groupoid

Given a topological space [math]\displaystyle{ X }[/math], let [math]\displaystyle{ G_0 }[/math] be the set [math]\displaystyle{ X }[/math]. The morphisms from the point [math]\displaystyle{ p }[/math] to the point [math]\displaystyle{ q }[/math] are equivalence classes of continuous paths from [math]\displaystyle{ p }[/math] to [math]\displaystyle{ q }[/math], with two paths being equivalent if they are homotopic. Two such morphisms are composed by first following the first path, then the second; the homotopy equivalence guarantees that this composition is associative. This groupoid is called the fundamental groupoid of [math]\displaystyle{ X }[/math], denoted [math]\displaystyle{ \pi_1(X) }[/math] (or sometimes, [math]\displaystyle{ \Pi_1(X) }[/math]).[5] The usual fundamental group [math]\displaystyle{ \pi_1(X,x) }[/math] is then the vertex group for the point [math]\displaystyle{ x }[/math].

The orbits of the fundamental groupoid [math]\displaystyle{ \pi_1(X) }[/math] are the path-connected components of [math]\displaystyle{ X }[/math]. Accordingly, the fundamental groupoid of a path-connected space is transitive, and we recover the known fact that the fundamental groups at any base point are isomorphic. Moreover, in this case, the fundamental groupoid and the fundamental groups are equivalent as categories (see the section below for the general theory).

An important extension of this idea is to consider the fundamental groupoid [math]\displaystyle{ \pi_1(X,A) }[/math] where [math]\displaystyle{ A\subset X }[/math] is a chosen set of "base points". Here [math]\displaystyle{ \pi_1(X,A) }[/math] is a (wide) subgroupoid of [math]\displaystyle{ \pi_1(X) }[/math], where one considers only paths whose endpoints belong to [math]\displaystyle{ A }[/math]. The set [math]\displaystyle{ A }[/math] may be chosen according to the geometry of the situation at hand.

Equivalence relation

If [math]\displaystyle{ X }[/math] is a setoid, i.e. a set with an equivalence relation [math]\displaystyle{ \sim }[/math], then a groupoid "representing" this equivalence relation can be formed as follows:

  • The objects of the groupoid are the elements of [math]\displaystyle{ X }[/math];
  • For any two elements [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] in [math]\displaystyle{ X }[/math], there is a single morphism from [math]\displaystyle{ x }[/math] to [math]\displaystyle{ y }[/math] (denote by [math]\displaystyle{ (y,x) }[/math]) if and only if [math]\displaystyle{ x\sim y }[/math];
  • The composition of [math]\displaystyle{ (z,y) }[/math] and [math]\displaystyle{ (y,x) }[/math] is [math]\displaystyle{ (z,x) }[/math].

The vertex groups of this groupoid are always trivial; moreover, this groupoid is in general not transitive and its orbits are precisely the equivalence classes. There are two extreme examples:

  • If every element of [math]\displaystyle{ X }[/math] is in relation with every other element of [math]\displaystyle{ X }[/math], we obtain the pair groupoid of [math]\displaystyle{ X }[/math], which has the entire [math]\displaystyle{ X \times X }[/math] as set of arrows, and which is transitive.
  • If every element of [math]\displaystyle{ X }[/math] is only in relation with itself, one obtains the unit groupoid, which has [math]\displaystyle{ X }[/math] as set of arrows, [math]\displaystyle{ s = t = id_X }[/math], and which is completely intransitive (every singleton [math]\displaystyle{ \{x\} }[/math] is an orbit).


  • If [math]\displaystyle{ f: X_0 \to Y }[/math] is a smooth surjective submersion of smooth manifolds, then [math]\displaystyle{ X_0\times_YX_0 \subset X_0\times X_0 }[/math] is an equivalence relation[6] since [math]\displaystyle{ Y }[/math] has a topology isomorphic to the quotient topology of [math]\displaystyle{ X_0 }[/math] under the surjective map of topological spaces. If we write, [math]\displaystyle{ X_1 = X_0\times_YX_0 }[/math] then we get a groupoid

    [math]\displaystyle{ X_1 \rightrightarrows X_0 }[/math]

    which is sometimes called the banal groupoid of a surjective submersion of smooth manifolds.
  • If we relax the reflexivity requirement and consider partial equivalence relations, then it becomes possible to consider semidecidable notions of equivalence on computable realisers for sets. This allows groupoids to be used as a computable approximation to set theory, called PER models. Considered as a category, PER models are a cartesian closed category with natural numbers object and subobject classifier, giving rise to the effective topos introduced by Martin Hyland.

Čech groupoid

A Čech groupoid[6]p. 5 is a special kind of groupoid associated to an equivalence relation given by an open cover [math]\displaystyle{ \mathcal{U} = \{U_i\}_{i\in I} }[/math] of some manifold [math]\displaystyle{ X }[/math]. Its objects are given by the disjoint union

[math]\displaystyle{ \mathcal{G}_0 = \coprod U_i }[/math],

and its arrows are the intersections

[math]\displaystyle{ \mathcal{G}_1 = \coprod U_{ij} }[/math].

The source and target maps are then given by the induced maps

[math]\displaystyle{ \begin{align} s = \phi_j: U_{ij} \to U_j\\ t = \phi_i: U_{ij} \to U_i \end{align} }[/math]

and the inclusion map

[math]\displaystyle{ \varepsilon: U_i \to U_{ii} }[/math]

giving the structure of a groupoid. In fact, this can be further extended by setting

[math]\displaystyle{ \mathcal{G}_n = \mathcal{G}_1\times_{\mathcal{G}_0} \cdots \times_{\mathcal{G}_0}\mathcal{G}_1 }[/math]

as the [math]\displaystyle{ n }[/math]-iterated fiber product where the [math]\displaystyle{ \mathcal{G}_n }[/math] represents [math]\displaystyle{ n }[/math]-tuples of composable arrows. The structure map of the fiber product is implicitly the target map, since

[math]\displaystyle{ \begin{matrix} U_{ijk} & \to & U_{ij} \\ \downarrow & & \downarrow \\ U_{ik} & \to & U_{i} \end{matrix} }[/math]

is a cartesian diagram where the maps to [math]\displaystyle{ U_i }[/math] are the target maps. This construction can be seen as a model for some ∞-groupoids. Also, another artifact of this construction is k-cocycles

[math]\displaystyle{ [\sigma] \in \check{H}^k(\mathcal{U},\underline{A}) }[/math]

for some constant sheaf of abelian groups can be represented as a function

[math]\displaystyle{ \sigma:\coprod U_{i_1\cdots i_k} \to A }[/math]

giving an explicit representation of cohomology classes.

Group action

If the group [math]\displaystyle{ G }[/math] acts on the set [math]\displaystyle{ X }[/math], then we can form the action groupoid (or transformation groupoid) representing this group action as follows:

  • The objects are the elements of [math]\displaystyle{ X }[/math];
  • For any two elements [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] in [math]\displaystyle{ X }[/math], the morphisms from [math]\displaystyle{ x }[/math] to [math]\displaystyle{ y }[/math] correspond to the elements [math]\displaystyle{ g }[/math] of [math]\displaystyle{ G }[/math] such that [math]\displaystyle{ gx = y }[/math];
  • Composition of morphisms interprets the binary operation of [math]\displaystyle{ G }[/math].

More explicitly, the action groupoid is a small category with [math]\displaystyle{ \mathrm{ob}(C)=X }[/math] and [math]\displaystyle{ \mathrm{hom}(C)=G\times X }[/math] and with source and target maps [math]\displaystyle{ s(g,x) = x }[/math] and [math]\displaystyle{ t(g,x) = gx }[/math]. It is often denoted [math]\displaystyle{ G \ltimes X }[/math] (or [math]\displaystyle{ X\rtimes G }[/math] for a right action). Multiplication (or composition) in the groupoid is then [math]\displaystyle{ (h,y)(g,x) = (hg,x) }[/math] which is defined provided [math]\displaystyle{ y=gx }[/math].

For [math]\displaystyle{ x }[/math] in [math]\displaystyle{ X }[/math], the vertex group consists of those [math]\displaystyle{ (g,x) }[/math] with [math]\displaystyle{ gx=x }[/math], which is just the isotropy subgroup at [math]\displaystyle{ x }[/math] for the given action (which is why vertex groups are also called isotropy groups). Similarly, the orbits of the action groupoid are the orbit of the group action, and the groupoid is transitive if and only if the group action is transitive.

Another way to describe [math]\displaystyle{ G }[/math]-sets is the functor category [math]\displaystyle{ [\mathrm{Gr},\mathrm{Set}] }[/math], where [math]\displaystyle{ \mathrm{Gr} }[/math] is the groupoid (category) with one element and isomorphic to the group [math]\displaystyle{ G }[/math]. Indeed, every functor [math]\displaystyle{ F }[/math] of this category defines a set [math]\displaystyle{ X=F(\mathrm{Gr}) }[/math] and for every [math]\displaystyle{ g }[/math] in [math]\displaystyle{ G }[/math] (i.e. for every morphism in [math]\displaystyle{ \mathrm{Gr} }[/math]) induces a bijection [math]\displaystyle{ F_g }[/math] : [math]\displaystyle{ X\to X }[/math]. The categorical structure of the functor [math]\displaystyle{ F }[/math] assures us that [math]\displaystyle{ F }[/math] defines a [math]\displaystyle{ G }[/math]-action on the set [math]\displaystyle{ G }[/math]. The (unique) representable functor [math]\displaystyle{ F }[/math] : [math]\displaystyle{ \mathrm{Gr} \to \mathrm{Set} }[/math] is the Cayley representation of [math]\displaystyle{ G }[/math]. In fact, this functor is isomorphic to [math]\displaystyle{ \mathrm{Hom}(\mathrm{Gr},-) }[/math] and so sends [math]\displaystyle{ \mathrm{ob}(\mathrm{Gr}) }[/math] to the set [math]\displaystyle{ \mathrm{Hom}(\mathrm{Gr},\mathrm{Gr}) }[/math] which is by definition the "set" [math]\displaystyle{ G }[/math] and the morphism [math]\displaystyle{ g }[/math] of [math]\displaystyle{ \mathrm{Gr} }[/math] (i.e. the element [math]\displaystyle{ g }[/math] of [math]\displaystyle{ G }[/math]) to the permutation [math]\displaystyle{ F_g }[/math] of the set [math]\displaystyle{ G }[/math]. We deduce from the Yoneda embedding that the group [math]\displaystyle{ G }[/math] is isomorphic to the group [math]\displaystyle{ \{F_g\mid g\in G\} }[/math], a subgroup of the group of permutations of [math]\displaystyle{ G }[/math].

Finite set

Consider the group action of [math]\displaystyle{ \mathbb{Z}/2 }[/math] on the finite set [math]\displaystyle{ X = \{-2, -1, 0, 1, 2\} }[/math] which takes each number to its negative, so [math]\displaystyle{ -2 \mapsto 2 }[/math] and [math]\displaystyle{ 1 \mapsto -1 }[/math]. The quotient groupoid [math]\displaystyle{ [X/G] }[/math] is the set of equivalence classes from this group action [math]\displaystyle{ \{[0],[1],[2]\} }[/math], and [math]\displaystyle{ [0] }[/math] has a group action of [math]\displaystyle{ \mathbb{Z}/2 }[/math] on it.

Quotient variety

Any finite group [math]\displaystyle{ G }[/math] which maps to [math]\displaystyle{ GL(n) }[/math] give a group action on the affine space [math]\displaystyle{ \mathbb{A}^n }[/math] (since this is the group of automorphisms). Then, a quotient groupoid can be of the forms [math]\displaystyle{ [\mathbb{A}^n/G] }[/math], which has one point with stabilizer [math]\displaystyle{ G }[/math] at the origin. Examples like these form the basis for the theory of orbifolds. Another commonly studied family of orbifolds are weighted projective spaces [math]\displaystyle{ \mathbb{P}(n_1,\ldots, n_k) }[/math] and subspaces of them, such as Calabi–Yau orbifolds.

Fiber product of groupoids

Given a diagram of groupoids with groupoid morphisms

[math]\displaystyle{ \begin{align} & & X \\ & & \downarrow \\ Y &\rightarrow & Z \end{align} }[/math]

where [math]\displaystyle{ f:X\to Z }[/math] and [math]\displaystyle{ g:Y\to Z }[/math], we can form the groupoid [math]\displaystyle{ X\times_ZY }[/math] whose objects are triples [math]\displaystyle{ (x,\phi,y) }[/math], where [math]\displaystyle{ x \in \text{Ob}(X) }[/math], [math]\displaystyle{ y \in \text{Ob}(Y) }[/math], and [math]\displaystyle{ \phi: f(x) \to g(y) }[/math] in [math]\displaystyle{ Z }[/math]. Morphisms can be defined as a pair of morphisms [math]\displaystyle{ (\alpha,\beta) }[/math] where [math]\displaystyle{ \alpha: x \to x' }[/math] and [math]\displaystyle{ \beta: y \to y' }[/math] such that for triples [math]\displaystyle{ (x,\phi,y), (x',\phi',y') }[/math], there is a commutative diagram in [math]\displaystyle{ Z }[/math] of [math]\displaystyle{ f(\alpha):f(x) \to f(x') }[/math], [math]\displaystyle{ g(\beta):g(y) \to g(y') }[/math] and the [math]\displaystyle{ \phi,\phi' }[/math].[7]

Homological algebra

A two term complex

[math]\displaystyle{ C_1 \overset{d}{\rightarrow}C_0 }[/math]

of objects in a concrete Abelian category can be used to form a groupoid. It has as objects the set [math]\displaystyle{ C_0 }[/math] and as arrows the set [math]\displaystyle{ C_1\oplus C_0 }[/math]; the source morphism is just the projection onto [math]\displaystyle{ C_0 }[/math] while the target morphism is the addition of projection onto [math]\displaystyle{ C_1 }[/math] composed with [math]\displaystyle{ d }[/math] and projection onto [math]\displaystyle{ C_0 }[/math]. That is, given [math]\displaystyle{ c_1 + c_0 \in C_1\oplus C_0 }[/math], we have

[math]\displaystyle{ t(c_1 + c_0) = d(c_1) + c_0. }[/math]

Of course, if the abelian category is the category of coherent sheaves on a scheme, then this construction can be used to form a presheaf of groupoids.


While puzzles such as the Rubik's Cube can be modeled using group theory (see Rubik's Cube group), certain puzzles are better modeled as groupoids.[8]

The transformations of the fifteen puzzle form a groupoid (not a group, as not all moves can be composed).[9][10][11] This groupoid acts on configurations.

Mathieu groupoid

The Mathieu groupoid is a groupoid introduced by John Horton Conway acting on 13 points such that the elements fixing a point form a copy of the Mathieu group M12.

Relation to groups

Group-like structures
Totalityα Associativity Identity Invertibility Commutativity
Semigroupoid Unneeded Required Unneeded Unneeded Unneeded
Small Category Unneeded Required Required Unneeded Unneeded
Groupoid Unneeded Required Required Required Unneeded
Magma Required Unneeded Unneeded Unneeded Unneeded
Quasigroup Required Unneeded Unneeded Required Unneeded
Loop Required Unneeded Required Required Unneeded
Semigroup Required Required Unneeded Unneeded Unneeded
Inverse Semigroup Required Required Unneeded Required Unneeded
Monoid Required Required Required Unneeded Unneeded
Group Required Required Required Required Unneeded
Abelian group Required Required Required Required Required
Closure, which is used in many sources, is an equivalent axiom to totality, though defined differently.

If a groupoid has only one object, then the set of its morphisms forms a group. Using the algebraic definition, such a groupoid is literally just a group.[12] Many concepts of group theory generalize to groupoids, with the notion of functor replacing that of group homomorphism.

Every transitive/connected groupoid - that is, as explained above, one in which any two objects are connected by at least one morphism - is isomorphic to an action groupoid (as defined above) [math]\displaystyle{ (G, X) }[/math]. By transitivity, there will only be one orbit under the action.

Note that the isomorphism just mentioned is not unique, and there is no natural choice. Choosing such an isomorphism for a transitive groupoid essentially amounts to picking one object [math]\displaystyle{ x_0 }[/math], a group isomorphism [math]\displaystyle{ h }[/math] from [math]\displaystyle{ G(x_0) }[/math] to [math]\displaystyle{ G }[/math], and for each [math]\displaystyle{ x }[/math] other than [math]\displaystyle{ x_0 }[/math], a morphism in [math]\displaystyle{ G }[/math] from [math]\displaystyle{ x_0 }[/math] to [math]\displaystyle{ x }[/math].

If a groupoid is not transitive, then it is isomorphic to a disjoint union of groupoids of the above type, also called its connected components (possibly with different groups [math]\displaystyle{ G }[/math] and sets [math]\displaystyle{ X }[/math] for each connected component).

In category-theoretic terms, each connected component of a groupoid is equivalent (but not isomorphic) to a groupoid with a single object, that is, a single group. Thus any groupoid is equivalent to a multiset of unrelated groups. In other words, for equivalence instead of isomorphism, one does not need to specify the sets [math]\displaystyle{ X }[/math], but only the groups [math]\displaystyle{ G. }[/math] For example,

  • The fundamental groupoid of [math]\displaystyle{ X }[/math] is equivalent to the collection of the fundamental groups of each path-connected component of [math]\displaystyle{ X }[/math], but an isomorphism requires specifying the set of points in each component;
  • The set [math]\displaystyle{ X }[/math] with the equivalence relation [math]\displaystyle{ \sim }[/math] is equivalent (as a groupoid) to one copy of the trivial group for each equivalence class, but an isomorphism requires specifying what each equivalence class is:
  • The set [math]\displaystyle{ X }[/math] equipped with an action of the group [math]\displaystyle{ G }[/math] is equivalent (as a groupoid) to one copy of [math]\displaystyle{ G }[/math] for each orbit of the action, but an isomorphism requires specifying what set each orbit is.

The collapse of a groupoid into a mere collection of groups loses some information, even from a category-theoretic point of view, because it is not natural. Thus when groupoids arise in terms of other structures, as in the above examples, it can be helpful to maintain the entire groupoid. Otherwise, one must choose a way to view each [math]\displaystyle{ G(x) }[/math] in terms of a single group, and this choice can be arbitrary. In the example from topology, one would have to make a coherent choice of paths (or equivalence classes of paths) from each point [math]\displaystyle{ p }[/math] to each point [math]\displaystyle{ q }[/math] in the same path-connected component.

As a more illuminating example, the classification of groupoids with one endomorphism does not reduce to purely group theoretic considerations. This is analogous to the fact that the classification of vector spaces with one endomorphism is nontrivial.

Morphisms of groupoids come in more kinds than those of groups: we have, for example, fibrations, covering morphisms, universal morphisms, and quotient morphisms. Thus a subgroup [math]\displaystyle{ H }[/math] of a group [math]\displaystyle{ G }[/math] yields an action of [math]\displaystyle{ G }[/math] on the set of cosets of [math]\displaystyle{ H }[/math] in [math]\displaystyle{ G }[/math] and hence a covering morphism [math]\displaystyle{ p }[/math] from, say, [math]\displaystyle{ K }[/math] to [math]\displaystyle{ G }[/math], where [math]\displaystyle{ K }[/math] is a groupoid with vertex groups isomorphic to [math]\displaystyle{ H }[/math]. In this way, presentations of the group [math]\displaystyle{ G }[/math] can be "lifted" to presentations of the groupoid [math]\displaystyle{ K }[/math], and this is a useful way of obtaining information about presentations of the subgroup [math]\displaystyle{ H }[/math]. For further information, see the books by Higgins and by Brown in the References.

Category of groupoids

The category whose objects are groupoids and whose morphisms are groupoid morphisms is called the groupoid category, or the category of groupoids, and is denoted by Grpd.

The category Grpd is, like the category of small categories, Cartesian closed: for any groupoids [math]\displaystyle{ H,K }[/math] we can construct a groupoid [math]\displaystyle{ \operatorname{GPD}(H,K) }[/math] whose objects are the morphisms [math]\displaystyle{ H \to K }[/math] and whose arrows are the natural equivalences of morphisms. Thus if [math]\displaystyle{ H,K }[/math] are just groups, then such arrows are the conjugacies of morphisms. The main result is that for any groupoids [math]\displaystyle{ G,H,K }[/math] there is a natural bijection

[math]\displaystyle{ \operatorname{Grpd}(G \times H, K) \cong \operatorname{Grpd}(G, \operatorname{GPD}(H,K)). }[/math]

This result is of interest even if all the groupoids [math]\displaystyle{ G,H,K }[/math] are just groups.

Another important property of Grpd is that it is both complete and cocomplete.

Relation to Cat

The inclusion [math]\displaystyle{ i : \mathbf{Grpd} \to \mathbf{Cat} }[/math] has both a left and a right adjoint:

[math]\displaystyle{ \hom_{\mathbf{Grpd}}(C[C^{-1}], G) \cong \hom_{\mathbf{Cat}}(C, i(G)) }[/math]
[math]\displaystyle{ \hom_{\mathbf{Cat}}(i(G), C) \cong \hom_{\mathbf{Grpd}}(G, \mathrm{Core}(C)) }[/math]

Here, [math]\displaystyle{ C[C^{-1}] }[/math] denotes the localization of a category that inverts every morphism, and [math]\displaystyle{ \mathrm{Core}(C) }[/math] denotes the subcategory of all isomorphisms.

Relation to sSet

The nerve functor [math]\displaystyle{ N : \mathbf{Grpd} \to \mathbf{sSet} }[/math] embeds Grpd as a full subcategory of the category of simplicial sets. The nerve of a groupoid is always a Kan complex.

The nerve has a left adjoint

[math]\displaystyle{ \hom_{\mathbf{Grpd}}(\pi_1(X), G) \cong \hom_{\mathbf{sSet}}(X, N(G)) }[/math]

Here, [math]\displaystyle{ \pi_1(X) }[/math] denotes the fundamental groupoid of the simplicial set X.

Groupoids in Grpd

Main page: Double groupoid

There is an additional structure which can be derived from groupoids internal to the category of groupoids, double-groupoids.[13][14] Because Grpd is a 2-category, these objects form a 2-category instead of a 1-category since there is extra structure. Essentially, these are groupoids [math]\displaystyle{ \mathcal{G}_1,\mathcal{G}_0 }[/math] with functors

[math]\displaystyle{ s,t: \mathcal{G}_1 \to \mathcal{G}_0 }[/math]

and an embedding given by an identity functor

[math]\displaystyle{ i:\mathcal{G}_0 \to\mathcal{G}_1 }[/math]

One way to think about these 2-groupoids is they contain objects, morphisms, and squares which can compose together vertically and horizontally. For example, given squares

[math]\displaystyle{ \begin{matrix} \bullet & \to & \bullet \\ \downarrow & & \downarrow \\ \bullet & \xrightarrow{a} & \bullet \end{matrix} }[/math] and [math]\displaystyle{ \begin{matrix} \bullet & \xrightarrow{a} & \bullet \\ \downarrow & & \downarrow \\ \bullet & \to & \bullet \end{matrix} }[/math]

with [math]\displaystyle{ a }[/math] the same morphism, they can be vertically conjoined giving a diagram

[math]\displaystyle{ \begin{matrix} \bullet & \to & \bullet \\ \downarrow & & \downarrow \\ \bullet & \xrightarrow{a} & \bullet \\ \downarrow & & \downarrow \\ \bullet & \to & \bullet \end{matrix} }[/math]

which can be converted into another square by composing the vertical arrows. There is a similar composition law for horizontal attachments of squares.

Groupoids with geometric structures

When studying geometrical objects, the arising groupoids often carry a topology, turning them into topological groupoids, or even some differentiable structure, turning them into Lie groupoids. These last objects can be also studied in terms of their associated Lie algebroids, in analogy to the relation between Lie groups and Lie algebras.

Groupoids arising from geometry often possess further structures which interact with the groupoid multiplication. For instance, in Poisson geometry one has the notion of a symplectic groupoid, which is a Lie groupoid endowed with a compatible symplectic form. Similarly, one can have groupoids with a compatible Riemannian metric, or complex structure, etc.

See also


  1. 1.0 1.1 Dicks & Ventura (1996). The Group Fixed by a Family of Injective Endomorphisms of a Free Group. p. 6. 
  2. Hazewinkel, Michiel, ed. (2001), "Brandt semi-group", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, 
  3. Proof of first property: from 2. and 3. we obtain a−1 = a−1 * a * a−1 and (a−1)−1 = (a−1)−1 * a−1 * (a−1)−1. Substituting the first into the second and applying 3. two more times yields (a−1)−1 = (a−1)−1 * a−1 * a * a−1 * (a−1)−1 = (a−1)−1 * a−1 * a = a. ✓
    Proof of second property: since a * b is defined, so is (a * b)−1 * a * b. Therefore (a * b)−1 * a * b * b−1 = (a * b)−1 * a is also defined. Moreover since a * b is defined, so is a * b * b−1 = a. Therefore a * b * b−1 * a−1 is also defined. From 3. we obtain (a * b)−1 = (a * b)−1 * a * a−1 = (a * b)−1 * a * b * b−1 * a−1 = b−1 * a−1. ✓
  4. J.P. May, A Concise Course in Algebraic Topology, 1999, The University of Chicago Press ISBN:0-226-51183-9 (see chapter 2)
  5. "fundamental groupoid in nLab". 
  6. 6.0 6.1 Block, Jonathan; Daenzer, Calder (2009-01-09). "Mukai duality for gerbes with connection". arXiv:0803.1529 [math.QA].
  7. "Localization and Gromov-Witten Invariants". p. 9. 
  8. An Introduction to Groups, Groupoids and Their Representations: An Introduction; Alberto Ibort, Miguel A. Rodriguez; CRC Press, 2019.
  9. Jim Belk (2008) Puzzles, Groups, and Groupoids, The Everything Seminar
  10. The 15-puzzle groupoid (1) , Never Ending Books
  11. The 15-puzzle groupoid (2) , Never Ending Books
  12. Mapping a group to the corresponding groupoid with one object is sometimes called delooping, especially in the context of homotopy theory, see "delooping in nLab". .
  13. Cegarra, Antonio M.; Heredia, Benjamín A.; Remedios, Josué (2010-03-19). "Double groupoids and homotopy 2-types". arXiv:1003.3820 [math.AT].
  14. Ehresmann, Charles (1964). "Catégories et structures : extraits" (in en). Séminaire Ehresmann. Topologie et géométrie différentielle 6: 1–31.