Decision problem restricted to inputs that satisfy some necessary condition.
Has 2 answers on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Consider the following decision problem:
Problem 1
INPUT: A graph G.
OUTPUT: YES if G is 3-colorable, NO if not.
This is a well-known NP-complete problem. Now suppose that we have a necessary (but not sufficient) condition for a graph to be 3-colorable, called NC. Consider the following problem:
Problem 2
INPUT: A graph G that satisfies NC.
OUTPUT: YES if G is 3-colorable, NO if not.
Now suppose that it is not known whether NC can be determined in polynomial time. Can we say that Problem 2 is in NP? It seems to me that it should be, seeing as there is a succinct certificate for a YES answer.
(However, I've been told by someone who I trust on other matters that this is a "promise problem" and not in NP, which is why I'm posting it here.)
Update
I'm not entirely happy with the answers below (although the subsequent discussions in the comments were useful), so I will attempt to …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.