2

We have $\Sigma =\{0\}$ and $$L=\{0^{2^n} \mid n\ge 0\}$$ How to prove that $L$ is irregular by using Myhill–Nerode theorem?

At other languages with $\Sigma >1$ we can usually separate the word or something like this with combination and this how we can show that two words are not at the same equivalent class....
But what we can do at this case?

Here what I tried:
Assuming that $i\ne j$, then $0^{2^i+1}$ is not at the same equivalent class with $0^{2^j+1}$, why?
Let mark: $p$ - the amount of $0$'s that we need to add to $0^{2^i+1}$ to be $0^{2^{i+1}}$, $q$ - same thing but with $j$ instead of $i$.
Of course $p\ne q$, hence:
$0^p\in 0^{2^i+1}$ but $0^p\notin 0^{2^j+1}$.

I'd like to know if I'm right at my and I should continue or try a different way...

Thank you!

Yuval Filmus
  • 276,994
  • 27
  • 311
  • 503
stud1
  • 307
  • 1
  • 7
  • 1
    What have you tried? What makes you think you can't do the same thing here (separate two words and show they're not in the same equivalence class)? Have you tried working out the Myhill-Nerode equivalence classes? If you search on "unary" or "unary alphabet" on this site you'll find lots of related questions that should enable you to answer your own question. e.g., http://cs.stackexchange.com/q/22272/755, http://cs.stackexchange.com/q/164/755, http://cs.stackexchange.com/q/16293/755, http://cs.stackexchange.com/q/1031/755. – D.W. Dec 18 '15 at 18:36
  • 1
    @D.W. - Here I put what I tried so far... Please tell me if I'm right.... :-) Thank you! – stud1 Dec 18 '15 at 19:27
  • The "I assume" part makes no sense. You start by assuming that the equivalence class of $\varepsilon$ is the entire language, but you don't show any justification or explanation why you think this is valid. Anyway, this assumption is false. 2. Then, you say "I try to show..." -- but you don't show us what you actually tried. So what did you try? Where did you get stuck? 3. I think you need to review Myhill-Nerode and do a bit more reading in your textbook.
  • – D.W. Dec 18 '15 at 19:50
  • @D.W., thank you for your answer: About your answer - 1. I base it from one of the links that you gave me... 2. OK, I'll try again, I thought that you want to see just the idea of my proof... So I'll be really glad if you will guide my, at the links you gave me there are languages with $|\Sigma|>1$ (most of them, and it's doesn't help...). 3. I reed it many times but it doesn't help..... – stud1 Dec 18 '15 at 20:24
  • I saw something here: http://cs.stackexchange.com/questions/22272/if-l-is-a-non-regular-language-over-a-are-all-myhill-nerode-classes-singleton but I don't know how to use it... – stud1 Dec 18 '15 at 20:28