Documentation

Cslib.Computability.Languages.SyntacticMonoid

Syntactic monoid #

This file defines the syntactic monoid of a language l and shows that l is regular if and only if its syntactic monoid is finite.

References #

[Hol82] Holcombe, W.M.L. (1982). Algebraic automata theory. Section 5.3

Converting a (two-sided) congruence c on finite words to a congruence relation on the (multiplicative) free monoid.

Equations
Instances For
    @[reducible, inline]
    abbrev Language.SyntacticMonoid {α : Type} (l : Language α) :

    The syntactic monoid of a language l is the quotient of the free monoid by the Myhill congruence of l.

    Equations
    Instances For

      A language l is regular if and only if its syntactic monoid is finite.