Let be the syntactic semigroup of a regular language. The finite sort and its multiplication are retained. The new work is to construct the infinite sort .
Step 1: find the idempotents
Compute
Every finite semigroup contains idempotents, and every infinite repetition eventually reaches one through a suitable power.
Step 2: enumerate linked pairs
A pair is a linked pair if
Let
The pair represents an ultimately periodic behavior: a finite prefix represented by , followed by infinite repetition of a block represented by .
Step 3: quotient by conjugacy
Two linked pairs and are conjugate, written
if there exist such that
These equations also imply , because . The infinite sort is the quotient
Thus is exactly the number of conjugacy classes of linked pairs.
Step 4: define the operations
For and , define
Because is finite, there is a common positive exponent such that is idempotent for every . Then
The definitions are independent of the chosen representatives and give a complete Wilke algebra.
Recognition of an ω-language
An ω-language is recognized by if there is a morphism and an accepting set such that
This yields a direct test for the property studied here: enumerate linked pairs, compute their conjugacy classes, and check whether only one class remains.