Myhill–Nerode Equivalence and State Lower Bounds

Prove that a regular language needs a state for each distinct suffix behavior and construct a simple infinite family of distinguishable prefixes.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Prefixes are equivalent when all completions agree
  2. An infinite sequence of witnesses prevents finite recognition

Prefixes are equivalent when all completions agree

For language \(L\), write \(u\equiv_L v\) if for every suffix \(z\) one has \(uz\in L\) exactly when \(vz\in L\). Any deterministic recognizer reaching the same state on \(u\) and \(v\) must treat all suffixes alike. Conversely, if this equivalence has finitely many classes, use the classes as states and transition from \([u]\) to \([ua]\) on symbol \(a\). This is well-defined because equivalence can be tested on suffixes beginning with \(a\).

An infinite sequence of witnesses prevents finite recognition

For \(L=\{0^n1^n:n\ge0\}\), two prefixes \(0^i,0^j\) with \(i\ne j\) are distinguished by \(1^i\). Infinitely many prefixes require different states. A pushdown automaton can recognize this language by storing the count on a stack. DFA minimization computes the same future equivalence when a finite machine is already given.[1][2]

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩
  2. MIT OpenCourseWare, Automata, Computability, and Complexity: Lecture Notes ↩