Rice's theorem says that there is no computable method F(m,p) to determine, if given as input a TM m, and some non-trival property p, if the language accepted by m has property p. To quote another source, "...you can infer from Rice's Theorem [that]... it is undecidable to determine whether a given TM accepts a finite or infinite number of inputs. It is undecidable to determine whether a given TM accepts only prime numbers, and so on."
Are there any results related to Rice's Theorem, but pertaining specifically to when m is only allowed to run a finite number of steps C (possibly expressed in code as some function, possibly exponential, of the actual length of m).
I understand this rules out infinite loops. But considering the two examples from the first paragraph, how would you determine if an arbitrary TM even without endless loops accepted a finite or infinite number of inputs. Same with determining if it accepts only primes.
Actually, to correct the first paragraph above, I guess Rice is saying that even if the property being checked is constant (i.e. not an arbitrary input p as described) F its still undecidable. And certainly it's undecidable when p is arbitrary input. And I'm also thinking if p is arbitrary input, something like Rice's theorem would apply even if m was only allowed to run a finite number of steps (which I'm thinking may not apply to a constant P). Any results out there pertaining to this.
Of course if the number of steps C is really small, like 1, 2 or 3, that's very different from say, C > 1000.