How this calculation works
Analyze a finite semigroup from its full multiplication table. The calculator first verifies associativity, then returns principal ideals, Green’s L, R, H, D and J classes, idempotents, an identity when present and its units. These structural relations describe how elements generate ideals; they are not simply group conjugacy classes or equality of table rows.
L(a)=S¹a; R(a)=aS¹; J(a)=S¹aS¹; H=L∩R; D joins L and R equivalences.A worked example
In the left-zero semigroup, a*b=a. Both elements share the same principal left ideal, while their right ideals are singletons. There is one D-class and one J-class, both elements are idempotent, and the two-element operation has no identity.
Good to know
Explicit associative operation table order 1–20. Exact principal-ideal sets, Green classes and idempotents. Units appear only when a two-sided identity exists. Nonassociative input is rejected; this is not an abstract presentation solver.
A table must define a semigroup
Every entry is an element label in the same finite set. The operation must be closed and associative, but need not be commutative or have an identity. Associativity is checked on all triples before classification.
A small failure invalidates the semigroup interpretation even if many rows look regular. The calculator does not repair the table or choose the nearest associative operation. Confirm whether row means left factor and column means right factor before entering a noncommutative example.
Supports associative noninvertible operations; group-only structure cannot describe distinct Green classes of a semigroup. The Word rewriting calculator with a bounded confluence check offers a complementary calculation under its own stated assumptions.
Principal ideals use an adjoined identity
Green’s relations are defined through S with an identity adjoined when necessary. Consequently a principal left ideal contains the generating element itself even if no multiplier inside S reproduces it.
The right and two-sided ideals use the analogous convention. Omitting the generator can give incorrect classes in a semigroup without an identity. The output’s explicit member lists make this convention visible rather than burying it inside class labels.
Worked example and mathematical rule
In the left-zero semigroup, a*b=a. Both elements share the same principal left ideal, while their right ideals are singletons. There is one D-class and one J-class, both elements are idempotent, and the two-element operation has no identity.
L(a)=S¹a; R(a)=aS¹; J(a)=S¹aS¹; H=L∩R; D joins L and R equivalences.
L, R and H classes
Two elements are L-related when they generate the same principal left ideal, and R-related when they generate the same principal right ideal. H is the intersection of those equivalence relations.
Similar-looking multiplication rows do not by themselves determine all three. Reversing multiplication exchanges left and right structure. A group has one L, R and H class because every element generates the whole group, but a general semigroup can split into many classes.
D and J describe broader structure
D is the equivalence relation generated by joining L and R, implemented by connecting elements sharing either relation. J compares principal two-sided ideals.
For finite semigroups D and J coincide, giving a useful structural check on the output. Their definitions remain different, which matters beyond the finite setting. The tool reports both to show that distinction rather than treating their coincidence here as a universal fact about every possible semigroup.
Idempotents, identity and units
An idempotent satisfies a times a equals a. It need not act as an identity on any other element.
A global identity must work on both sides for every element; if one exists, a unit has a two-sided inverse relative to it. Without a global identity, this page reports no global unit group even though some H classes may carry local group structure. Do not infer that every idempotent or every singleton class is a global identity.
Independent examples to inspect
A finite group should give one class of each Green relation, with every element a unit and the identity as its only idempotent. A left-zero semigroup, where a times b equals a, gives a contrasting non-group pattern.
Rectangular bands provide examples with all elements idempotent but nontrivial left and right classes. These families help verify orientation and definitions. The result does not supply a full presentation, automorphism group or isomorphism classification of the entered semigroup.
A few questions, answered
Does every semigroup need an identity?
No. The principal-ideal definitions account for an adjoined identity.
Are D and J always identical?
They coincide for finite semigroups; their definitions differ in general.
Is an idempotent an identity?
Not necessarily. It only satisfies a squared equals a.
Why is associativity checked first?
Green’s semigroup interpretation requires an associative operation.