Here's a sketch of the proof that NTIME(n) does not equal NTIME(n^2) using the non-deterministic time hierarchy theorem:
The non-deterministic time hierarchy theorem states that for any integer k ≥ 0, there exists a language L_k in NTIME(n^k) that is not in NTIME(n^(k-1)).
To prove that NTIME(n) does not equal NTIME(n^2), we need to show that there exists a language in NTIME(n) that is not in NTIME(n^2).
Consider the following language L_1:
L_1 = { (x, y) : x is a binary representation of a non-negative integer and the length of y is even }
We can decide whether a given pair (x, y) is in L_1 in linear time as follows:
- Check if x is a valid binary representation of a non-negative integer. This can be done in constant time.
- Check if the length of y is even. This can also be done in constant time.
- If both conditions are satisfied, accept the pair. Otherwise, reject the pair.
Since the above decision procedure runs in linear time, L_1 is in NTIME(n).
Now, we need to show that L_1 is not in NTIME(n^2). Suppose, for the sake of contradiction, that there exists a non-deterministic Turing machine M that decides L_1 in time O(n^2).
Consider the language L_2, which is the complement of L_1:
L_2 = { (x, y) : x is a binary representation of a non-negative integer and the length of y is odd }
Since M decides L_1 in time O(n^2), it must also decide L_2 in time O(n^2). However, this leads to a contradiction because L_2 involves counting the number of bits in a binary representation, which requires at least Ω(n) time in the worst case.
Therefore, our assumption that L_1 is in NTIME(n^2) is false, and so NTIME(n) does not equal NTIME(n^2).
In conclusion, based on the non-deterministic time hierarchy theorem, we have shown that there exists a language in NTIME(n) that is not in NTIME(n^2), thereby proving that NTIME(n) does not equal NTIME(n^2).