⋅
As an example, the operation
⋅
As an algebraic structure with a single binary operation, a central groupoid is a special kind of magma or groupoid. Because central groupoids are defined by an equational identity, they form a variety of algebras in which the free objects are called free central groupoids. Free central groupoids are infinite, and have no idempotent elements. Finite central groupoids, including the natural central groupoids over finite sets, always have a square number of elements, whose square root is the number of idempotent elements.
A central groupoid consists of a set of elements and a binary operation
⋅
a
b
c
Central groupoids can be defined equivalently in terms of central digraphs. These are directed graphs in which, each ordered pair of vertices (not necessarily distinct) form the start and end vertex of a three-vertex directed walk. That is, for each
u
v
w
u\tow
w\tov
u ⋅ v=w
u\tow\tov
u\tow
v
u ⋅ v=w
M
M2
Every finite central groupoid has a square number of elements. If the number of elements is
k2
k
i
i ⋅ i=i
k
k,0,0,...,0
The numbers of central groupoids on
k2
k2 x k2
k=1,2,3
1, 12, 1330560 .Finding these numbers, for general values of
k
As with any variety of algebras, the central groupoids have free objects, the free central groupoids. The free central groupoid, for a given set of generating elements, can be defined as having elements that are equivalence classes of finite expressions, under an equivalence relation in which two expressions are equivalent when they can be transformed into each other by repeatedly applying the defining equation of a central groupoid. Unlike finite central groupoids, the free central groupoids have no idempotent elements. The problem of testing the equivalence of expressions for a free central groupoid was one of the motivating examples in the discovery of the Knuth–Bendix completion algorithm for constructing a term rewriting system that solves this problem.
The resulting rewriting system consists of the ruleswhere any subexpression matching the left side of any of these rules is transformed into the right side, until no more matching subexpressions remain. Two expressions are equivalent if they are transformed in this way into the same expression as each other.
A natural central groupoid has as its elements the ordered pairs of values in some defining set. Its binary operation
⋅
Natural central groupoids are characterized among the central groupoids by obeying another equation,for all elements
a
b