I have the following language:
T = {M | there exists w such that M accepts w within |w| steps}
I am trying to prove that this language is not recursive and that it is recursive-enumerable. To prove that it is NOT recursive I considered the following steps:
1) Assume that it was recursive 2) Conside input w of infinite length 3) Meaning, we get infinite steps that M can perform before halting. So we get the halting problem when considering this infinite input, and we are saying that we can decide it 4) halting problem is not decidable. contradiction
What do you think about this proof? I'm not sure that I can consider an infinite length input, and I'm not sure wither turing machines in general should deal with infinite inputs lengths.
I tried to search for answers with no luck so far. Any help would be much appreciated. Thanks.
About the reduction, I did. I can only use halting or looping languages in order to prove this but I couldn't build such reduction with them
– Hanna Sep 15 '15 at 18:58