r/AskComputerScience • u/Leading-Fail-7263 • Mar 12 '26
Proving non-regularity of languages without special theorems such as the Pumping Lemma and Myhill-Nerode
Hi, in my course we are required to prove non-regularity without learning any special theorems. We were taught how to do this with one example, the language of well-bracketed words. Ultimately, it came down to showing the sequence of states in the automaton for the language whose non-regularity we have to prove contains an infinite amount of unique (non-repetitive) states.
Is this an approach that always (mostly?) works? Is that always how you can prove that something can't be represtned in a DFA?
Thank you!
1
Upvotes
View all comments
Show parent comment
1
u/Leading-Fail-7263 Mar 16 '26
thank you