In abstract algebra, a central groupoid is an algebraic structure defined by a binary operation
on a set of elements that satisfies the equation
on points in the Euclidean plane, defined by recombining their Cartesian coordinates as
The same type of recombination defines a central groupoid over the ordered pairs of elements from any set, called a natural central groupoid.
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
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.
Conversely, for any central groupoid we can define a central digraph by letting the set of vertices be the elements of the groupoid, and saying there is an edge
[2] A third equivalent definition of central groupoids involves (0,1)-matrices
These are exactly the directed adjacency matrices of the graphs that define central groupoids.
[2] Every finite central groupoid has a square number of elements.
[2] In the corresponding central digraph, each idempotent vertex has a self-loop.
The remaining vertices each belong to a unique 2-cycle.
In the matrix view of central groupoids, the idempotent elements form the 1s on the main diagonal of a matrix representing the groupoid.
labeled elements, or equivalently, (0,1)-matrices of dimension
, are Finding these numbers, for general values of
, was stated as an open problem by Alan J. Hoffman in 1967.
[4] 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.
[5] The resulting rewriting system consists of the rules
where any subexpression matching the left side of any of these rules is transformed into the right side, until no more matching subexpressions remain.
[5] A natural central groupoid has as its elements the ordered pairs of values in some defining set.
For instance, if the defining set is the set of real numbers, this operation defines a product on points in the Euclidean plane, described by their Cartesian coordinates.
If the defining set is finite, then so is the resulting natural central groupoid.
[1] Natural central groupoids are characterized among the central groupoids by obeying another equation,