Alternativity

In abstract algebra, alternativity is a property of a binary operation. A magma G is said to be ' if $$(xx)y = x(xy)$$ for all $$x, y \in G$$ and ' if $$y(xx) = (yx)x$$ for all $$x, y \in G.$$ A magma that is both left and right alternative is said to be ' (').

Any associative magma (that is, a semigroup) is alternative. More generally, a magma in which every pair of elements generates an associative submagma must be alternative. The converse, however, is not true, in contrast to the situation in alternative algebras. In fact, an alternative magma need not even be power-associative: already the expression $$(xx)(xx)$$ cannot be proven to be identical to expressions such as $$(x(x(xx)))$$ purely by alternativity.