This might be a question that is related to some of the existent questions on the topic in the title, but I still find some answers either not full, or the topic still slightly different (maybe due to the nature of the question).
So my original question was: "Given a (fixed, say $NP$) Complexity Class $\mathcal{C}$ and arbitrary decision problem $P$, is there a Turing machine $M_{CC}$ for the fixed complexity class that decides the question "Does $P\in\mathcal{C}$?"".
- My first step was to note that a given decision problem $P$ can be seen/encoded as a language $\mathcal{L}$ (using the logical predicates etc) (please confirm). Here I'm a bit unsure whether we make the topic slightly more complex or it' still equivalent.
Then there is a similar question that tries to clarify the decidability of the language (not the given complexity class), though they are related.
Also I found this question that is somewhat a "special case" where the interest was specifically for $NP$ complexity class. This raises the next question:
- a) Does my question/problem can be restated as "Is $\{P|P\in\mathcal{C}\}$ recursively enumerable?". b) Or, alternatively, as "Is $\{\langle M\rangle|L(M)\in\mathcal{C}\}$ recursively enumerable?".
And the last related question is this. Here it is also about the $NP$ complexity class and there is an answer which shows undecidability of the problem in question. But the reduction mechanism was unclear as well as some statements, so it brings to the final question:
- Assuming my question can be asked as in 2b) about $\{\langle M\rangle|L(M)\in\mathcal{C}\}$, how can I build a reduction mechanism from a halting problem (showing the equivalence of the mapping as well) to show that the set is not R.E./problem is undecidable?
Many thanks in advance.