Talk:Myhill–Nerode theorem
From Wikipedia, the free encyclopedia
Removed.
[edit] Example proof of non-regularity
Consider the language . Now consider the infinite set of strings . For any two strings from this set x = ai, y = ak with i < k, we can append z = bk to each, which results in xz = aibk, which is not in L, and yz = akbk, which is in L. Thus each string of the form ai belongs to a different equivalence class, so there are an infinite number of equivalence classes defined by the language, and so by the Myhill-Nerode Theorem it is not regular.
Note that this language can be "pumped" in the sense that any nonempty string in the language can be expanded by replacing a single a with arbitrarily many copies of a. The language thus gives an example of a non-regular language that cannot be shown to be non-regular using the pumping lemma.
- This is false. The pumping lemma requires it to be true for the case i = 0 as well. So say the string is apbp If the y portion of the string is an, then removing it would get the string ap − nbp, which is not in the language since if n > 1 (required by the condition for y being nonempty), then p > p − n, so it is not in the language. Therefore, it can not be pumped, so the Myhill-Nerode Theorem is not required.
- As suggested by Michael Sipser, the language F = { and if i = 1 then j = k}, can be pumped (including for the case where the y portion is ommitted), but is not regular, might be a canidate for using the Myhill-Nerode Theorem. Jrincayc 17:11, 21 Mar 2004 (UTC)
[edit] Unintuitive formal definition
While the current version of the article may be cleaner from a formal point of view, IMO it's highly unintuitive. My initial version, explaining it in terms of FSM states and alluding to a simple proof by the pigeonhole principle is much more intuitive (again, IMO). Any ideas on how to integrate this? --Delirium 22:36, Sep 9, 2004 (UTC)