edited by
672 views
1 votes
1 votes

Alan’s task is to design an algorithm for a decision problem $P$. He knows that there is an algorithm $A$ that transforms instances of $P$ to instances of the Halting Problem such that $\text{yes}$ instances of $P$ map to $\text{yes}$ instances of the Halting Problem, and $no$ instances of $P$ map to $\text{no}$ instances of the Halting problem. Which of the following is true?

  1. The existence of $A$ implies the existence of an algorithm for $P$.
  2. The existence of $A$ implies that there is no algorithm for $P$.
  3. The existence of $A$ says nothing about whether there is an algorithm for $P$.
  4. The Halting Problem can be solved using $A$.
edited by

1 Answer

Related questions

1 votes
1 votes
2 answers
1
3 votes
3 votes
2 answers
3
go_editor asked May 27, 2016
635 views
Consider the code below, defining the function $A$:A(m, n, p) { if (p == 0) return m+n; else if (n == 0 && p == 1) return 0; else if (n == 0 && p == 2) return 1; else if ...
3 votes
3 votes
2 answers
4