I'm currently working on a homework assignment and I am being told to prove a language is not recursive. I can't fathom why it would not be.
The Q:
Prove L={M| L(M) accepts only even length strings} is not recursive.
I personally can't fathom how this is not a recursive language. To me it seems like it meets all of the requirements. For every string in the language it will be able to decide that it is either even length or odd length when it reaches the end, no? The same would be true of it's complement, correct? Shouldn't this indicate that it is in fact recursive? Why is it not recursive?
It just seems reasonable that it would always halt on an input. Maybe there is some lack of understanding here? I guess if the string was infinitely long it would never decide but is that part of the why?
This post has been edited by SpeedisaVirus: 15 May 2010 - 05:17 PM

New Topic/Question
Reply



MultiQuote




|