Reduction argument

[35/77%]
Show
LaTeX

Implement a machine computing the reduction function ff from the proof of Theorem 170 on p. 446 in the case of the alphabet Σ={a,b}\Sigma =\left\{ a, b\right\}.

Theorem 170: The problem TOTAL\mathrm{TOTAL} is undecidable.

?

Prove the algorithmic undecidability of the test-data completeness problem TEST\mathrm{TEST}. The problem consists of triples (π(M),x,q)(\pi (\mathfrak {M}), x, q) such that the state qq occurs in the computation of the Turing machine M\mathfrak {M} on input xx.

?

Prove the algorithmic undecidability of the zero problem ZERO\mathrm{ZERO}. The problem ZERO\mathrm{ZERO} consists of codes π(M)\pi (\mathfrak {M}) of Turing machines M\mathfrak {M} such that M(x)=ε\mathfrak {M}(x)=\varepsilon for all xx. Hint. Reduce TOTAL\mathrm{TOTAL} to ZERO\mathrm{ZERO}.

?

Prove the algorithmic undecidability of the following equivalence problem EQU\mathrm{EQU}. The problem EQU\mathrm{EQU} consists of pairs (π(M),π(N))(\pi (\mathfrak {M}), \pi (\mathfrak {N})) such that the machines M\mathfrak {M} and N\mathfrak {N} are equivalent. Hint. Reduce ZERO\mathrm{ZERO} to EQU\mathrm{EQU}.

?

Prove the algorithmic undecidability of the test-data completeness problem TEST\mathrm{TEST}. The problem consists of triples (π(M),x,q)(\pi (\mathfrak {M}), x, q) such that the state qq occurs in the computation of the Turing machine M\mathfrak {M} on input xx.

?

Prove the algorithmic undecidability of the zero problem ZERO\mathrm{ZERO}. The problem ZERO\mathrm{ZERO} consists of codes π(M)\pi (\mathfrak {M}) of Turing machines M\mathfrak {M} such that M(x)=ε\mathfrak {M}(x)=\varepsilon for all xx. Hint. Reduce TOTAL\mathrm{TOTAL} to ZERO\mathrm{ZERO}.

?

Prove the algorithmic undecidability of the following equivalence problem EQU\mathrm{EQU}. The problem EQU\mathrm{EQU} consists of pairs (π(M),π(N))(\pi (\mathfrak {M}), \pi (\mathfrak {N})) such that the machines M\mathfrak {M} and N\mathfrak {N} are equivalent. Hint. Reduce ZERO\mathrm{ZERO} to EQU\mathrm{EQU}.

?

Prove the algorithmic undecidability of the constant problem CONST\mathrm{CONST}. The problem CONST\mathrm{CONST} consists of those π(M)\pi (\mathfrak {M}) such that the Turing machine M\mathfrak {M} returns the same result on any input, whenever it halts at all. Hint. Reduce the complement of SELF\mathrm{SELF} to CONST\mathrm{CONST}.

?

Prove the algorithmic undecidability of the growth problem GROW\mathrm{GROW}. The problem GROW\mathrm{GROW} consists of those π(M)\pi (\mathfrak {M}) such that the Turing machine M\mathfrak {M} computes an arithmetic function and M(x)<M(y)\mathfrak {M}(x)<\mathfrak {M}(y) holds for all x<yx<y, whenever both values are defined. Hint. Reduce the complement of SELF\mathrm{SELF} to GROW\mathrm{GROW}.

?

A set AA is called single-valued if for each yy, there exists at most one zz such that ⟨y,z⟩∈A\langle y, z\rangle \in A. Let B12={x∣Wx is single-valued }B_{12}=\left\{ x \mid W_{x}\text{ is single-valued }\right\}. Show that EMP ≤mB12\leq_{m} B_{12} and B12≤mB_{12} \leq_{m} EMP,

?

Assume that A≤mBA \leq_{m} B by a reduction function ff with time bound 2n2^{n}. Also assume that B∈DTIME⁡(2n)B \in \operatorname {DTIME}(2^{n}). What can you say about the time complexity of set AA?

?

Prove that CNF-Sat ≤mP\leq_{m}^{P} 3Sat.

?

In this exercise, we study an alternative proof for Example 7.25. Let us replace conditions (1) and (2) by condition (3): For every a∈A∪B∪Ca \in A \cup B \cup C, there is a triple w∈W′w \in W^{\prime } such that (i) a∈wa \in w, and (ii) if w′∈W′,w′≠ww^{\prime } \in W^{\prime }, w^{\prime } \neq w then a∉w′a \notin w^{\prime }. Translate this condition into a Boolean formula GG over variables xwx_{w} and show that GG is satisfiable if and only if WW has a threedimensional matching W′W^{\prime }.

?

Construct the following reductions:

?
(a)

3SAT ≤mp3DM\leq_{m}^{p} 3 \mathrm{DM}.

(b)

VC≤mPHC\mathrm{VC} \leq_{m}^{P} \mathrm{HC}.

(c)

HC≤mP3Sat. \mathrm{HC} \leq_{m}^{P} 3 \mathrm{Sat}_{\text{. }}

(d)

VC≤mPHS\mathrm{VC} \leq_{m}^{P} \mathrm{HS}.

Consider the following variations of the problem 3Sat:

3Sat-Exactly-One: Given a 3-CNF FF, determine whether there is an assignment tt on variables in FF that assigns value TRUE to exactly one literal in each clause of FF.

3Sat-Not-All: Given a 3-CNF FF, determine whether there is an assignment tt on variables in FF that assigns value TRUE to either one or two literals (but not all three literals) in each clause of FF.

Show that 3Sat, 3Sat-Exact-One and 3Sat-Not-All are polynomial time equivalent under ≤mP\leq_{m}^{P}.

?

HC ≤mPLP\leq_{m}^{P} \mathrm{LP}.

?

VC≡mP\mathrm{VC} \equiv_{m}^{P} IS.

?

GIso ≡mP\equiv_{m}^{P} DGIso.

?

SAT ≤mP\leq_{m}^{P} CNF-SAT.

?

VC≤mPIP\mathrm{VC} \leq_{m}^{P} \mathrm{IP}.

?

3DM≤mPSAT3\mathrm{DM} \leq_{m}^{P} \mathrm{SAT}.

?

3SAT≤mPVC3\mathrm{SAT} \leq_{m}^{P} \mathrm{VC}.

?

3SAT≤mpHC3\mathrm{SAT} \leq_{m}^{p} \mathrm{HC}.

?

Let T={⟨M⟩∣M is a TM that accepts wR whenever it accepts w}T=\left\{ \langle M\rangle \mid M \text{ is a TM that accepts } w^{\mathcal{R}} \text{ whenever it accepts } w\right\}. Show that TT is undecidable.

?

ᴬ Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape when it is run on input ww. Formulate this problem as a language and show that it is undecidable.

?

ᴬ Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.

?

Consider the problem of determining whether a single-tape Turing machine ever writes a blank symbol over a nonblank symbol during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.

?

A useless state in a Turing machine is one that is never entered on any input string. Consider the problem of determining whether a Turing machine has any useless states. Formulate this problem as a language and show that it is undecidable.

?

Consider the problem of determining whether a Turing machine MM on an input ww ever attempts to move its head left when its head is on the left-most tape cell. Formulate this problem as a language and show that it is undecidable.

?

Show that the Post Correspondence Problem is undecidable over the binary alphabet Σ={0,1}\Sigma =\left\{ 0,1\right\}.

?

Let X={⟨M,w⟩∣M is a single-tape TM that never modifies the portion of the tape that contains the input w}X=\left\{ \langle M, w\rangle \mid M\text{ is a single-tape TM that never modifies the portion of the tape that contains the input }w\right\}. Is XX decidable? Prove your answer.

?

ᴬ Let (N,<)(\mathcal{N},<) be the model with universe N\mathcal{N} and the "less than" relation. Show that Th⁡(N,<)\operatorname {Th}(\mathcal{N},<) is decidable.

?

ᴬ Let HALF-CLIQUE ={⟨G⟩∣G is an undirected graph having a complete subgraph with at least m/2 nodes, where m is the number of nodes in G}=\left\{ \langle G\rangle \mid G \text{ is an undirected graph having a complete subgraph with at least } m / 2 \text{ nodes, where } m \text{ is the number of nodes in } G\right\}. Show that HALF-CLIQUE is NP-complete.

?

A cut in an undirected graph is a separation of the vertices VV into two disjoint subsets SS and TT. The size of a cut is the number of edges that have one endpoint in SS and the other in TT. Let

MAX-CUT⁡={⟨G,k⟩∣G has a cut of size k or more }. \operatorname {MAX-CUT}=\left\{ \langle G, k\rangle \mid G \text{ has a cut of size } k \text{ or more }\right\} .

Show that MAX-CUT is NP-complete. You may assume the result of Problem 7.26. (Hint: Show that ≠SAT≤P\neq S A T \leq_{\mathrm{P}} MAX-CUT. The variable gadget for variable xx is a collection of 3c3 c nodes labeled with xx and another 3c3 c nodes labeled with xˉ\bar{x}, where cc is the number of clauses. All nodes labeled xx are connected with all nodes labeled xˉ\bar{x}. The clause gadget is a triangle of three edges connecting three nodes labeled with the literals appearing in the clause. Do not use the same node in more than one clause gadget. Prove that this reduction works.)

?

A subset of the nodes of a graph GG is a dominating set if every other node of GG is adjacent to some node in the subset. Let

 DOMINATING-SET ={⟨G,k⟩∣G has a dominating set with k nodes }. \text{ DOMINATING-SET }=\left\{ \langle G, k\rangle \mid G \text{ has a dominating set with } k \text{ nodes }\right\} .

Show that it is NP-complete by giving a reduction from VERTEX-COVER.

?

References

[ДДК+21a] Дехтярь М.И., Дудаков С.М., Карлов М.И., Карлов Б.Н. Лекции по дискретной математике. 3-е изд., Тверской государственный университет, 2021.
[ДДК+21b] Дехтярь М.И., Дудаков С.М., Карлов М.И., Карлов Б.Н. Задачник по дискретной математике. 2-е изд., Тверской государственный университет, 2021.
[DuKo01] Du D., Ko K. Problem Solving in Automata, Languages, and Complexity. John Wiley & Sons, 2001.
[Sip13] Sipser M. Introduction to the Theory of Computation. 3rd ed., Cengage Learning, 2013.