Myhill congruence #
The Myhill congruence of a language l is a two-sided congruence that is finer than
the Nerode congruence of the same language l (which is a right congruence). It will be
used to define the syntactic monoid of l.
References #
[Hol82] Holcombe, W.M.L. (1982). Algebraic automata theory. Section 5.3
The Myhill congruence of a language l is the two-sided congruence on finite words
such that two words are related iff all their two-sided extensions are either both in l
or both not in l.
Equations
Instances For
The Myhill quotient of a language l is the quotient of its Myhill congruence.
Equations
Instances For
Given a language l and a finite word x, the Nerode map is a map from the Nerode quotient
to itself induced by the x-transition of the Nerode congruence deterministic automaton of l.
Equations
- l.nerodeMap x q = l.NerodeCongruenceDA.mtr q x
Instances For
The Myhill quotient of a regular language is finite.
The deterministic automaton corresponding to the Myhill congruence of a language l.
Equations
- l.myhillCongruenceDA = { toDA := Language.RightCongruence.toDA, accept := (fun (x : List α) => ⟦x⟧) '' l }
Instances For
The deterministic automaton corresponding to the Myhill congruence of a language l
accepts the same language l.
A language is regular if and only if its Myhill quotient is finite.