Im studying Rice Theorem and I would like to verify its consistency. If I am able to prove de undecidability in other ways, the Rice Theorem would prove to be useful after all.
Im trying to find out two different ways to prove that the following Decision problem is undecidable:
Is it true that the Turing Machine $M$ accepts exactly a finite and odd number of words?
So far:
One way is using the Rice Theorem. Let $X$ be the property of being finite and have an odd number of words. Rice Theorem tells us that for every property of semi-decidable languages, the Test of Property is undecidable only if $X$ is non trivial. Now I need to verify if $X$ is non-trivial correct? I got stuck on that part.
Talking about other way to prove, I was thinking about Reductio ad absurdum. I have an idea but I don't know how to build this reduction.
If I have an entry $(M,w)$ of HALTING that produces $r(M,w) = M'$ of ODD.
If $(M,w)$ is an affirmative instance of HALTING then $M'$ accepts only one word and nothing more. If $(M,w)$ is an negative instance of HALTING then $M'$ accepts no words at all.
Is that clear? Sorry, english is not my mother language, so translating the way we refer to problems and theorems can be tricky.
Thanks for everything.