2026-08-28·作者 Sijie Wang#idea#math

syntactic-monoid

The syntactic monoid — the algebraic face

Parent: regular-equivalences

Regularity as pure algebra: a language is regular iff a finite algebraic object recognizes it.

Recognition by a monoid

A monoid M (a set with an associative product and identity) recognizes L ⊆ Σ* if there is a homomorphism h : Σ* → M and a subset P ⊆ M with L = h⁻¹(P). (Σ* under concatenation is the free monoid.)

Regular = recognized by a finite monoid

L is regular iff it is recognized by a finite monoid. The smallest one is the syntactic monoid (the transition monoid of the minimal DFA / the quotient by the syntactic congruence — the two-sided refinement of Myhill–Nerode).

Why the algebra is worth it

The monoid's structure classifies sub-families that automata/regex can't see cleanly:

  • Schützenberger (1965): a language is star-free (definable without *, using complement) iff its syntactic monoid is aperiodic (no nontrivial group inside).
  • McNaughton–Papert: star-free = first-order definable (the FO fragment of MSO).

So an algebraic property (aperiodicity) = a logical property (first-order) = an expression property (star-free). This is Eilenberg's variety theory: families of languages correspond to families of finite monoids. The coincidence goes all the way down.

關於這一條

sijie 的一條 wiki 條目。本站的 AI 以同一套語料庫為依據、以 sijie 的口吻作答,並附有指向此類條目的引用——回答會花 sijie 的錢,所以它在存取碼後等待: 輸入存取碼 →

syntactic-monoid — Sijie Wang