Definition. decision problem
[decision-problem]
Definition. decision problem [decision-problem]
A decision problem is a computational problem with a Boolean / binary / n-ary output.
We can usually tweak computational problems to become decision problems: e.g. given , does have a prime factor that is ?
Important Idea: decision problems are equivalent to languages.
Example.
Let be a decision problem. Let be the set of all strings that maps to “Yes”.
and are complementary sets: no element is in both, and every element (of the overarching language) is in one or the other.
Example.
The decision problem is