Ex. 0

Naively we guess any transformation ff of Boolean formulas preserves the property of satisfiability. Hence it would always be the case

w∉UNSATf(w)SAT \begin{aligned} w \not\in \textit{UNSAT} \leftrightarrow f(w) \in \textit{SAT} \end{aligned}

Ex. 1

Since the questions is about factor aa we can ignore constants. nr+(nl)b=nr+lbn^r + {(n^l)}^b = n^{r+lb}. So a=r+lba = r+lb.

Ex. 2

following NTM simulation by DTM, partition states into H1 and H2 subsets, and apply the same procedure on each. now the combination of delta1 and delta2 reaches all possible states of NTM.

First. sipser-NTM can be viewed as a sequence of states, Each of which, is a subset of a deterministic TM’s states. A state of binary-NTM can be viewed as a subset of exactly two states from a deterministic TM. Since there are no restrictions on the number of elements of sipser-NTM’s subset, binary-NTM can be seen as a special case of it.

Second. Recall the proof idea of a deterministic TM simulating a non-deterministic TM, whereby a determinstic state encodes/resembles a non-determinstic subset of states. Following the same idea, partition Q=Q1Q2Q = Q_1 \cup Q_2 and define Q1=P(Q1)Q_1' = P(Q_1) and Q2=P(Q2)Q_2' = P(Q_2). Here P(Qi)P(Q_i) means the set of all subsets of states QiQ_i. Let δ1\delta_1 and δ2\delta_2 be responsible of Q1Q_1' and Q2Q_2', respectively. Observe any state of P(Q)P(Q) can be constructed by some xyx \cup y where xQ1x \in Q_1' and yQ2y \in Q_2'. Therefore, Any configuration sequence of sipser-TM can be encoded/represented by some configuration sequence of binary-TM.

Ex. 3

The proof is shown by constructing a non-deterministic exponential-time algorithm for solving IMPLICIT-4COL.

Given a circuit CC, Construct its graph GCG_C by enumerating all possible 2n2^n inputs of ii and all 2n2^n inputs of jj, Computing C(i,j)C(i,j), for iji \neq j. The complexity is 2n×2n=2n+12^n \times 2^n = 2^{n+1}; Exponential.

Check whether the graph GCG_C is 4-colorable. For each vertex of the graph, non-determinstically brute-force all the possible 4 colours. Since there are 2n2^n vertices, The complexity is NEXP.

Clearly the total complexity of a subroutine of EXP followed by a subroutine of NEXP, is NEXP.

Ex. 4

We construct the reduction function through a polynomial algorithm. Let C_colorable and C_uncolorable be some fixed 4-colorable and 4-uncolorable graphs.

    L-to-3COL(w)
      check whether w is in L by the given polynomial algorithm
      if w belongs to L output C_colorable
      otherwise output C_uncolorable

Observe our mapping necessarily satisfies

wLL-to-3COL(w)3COL w \in L \leftrightarrow \textit{L-to-3COL(w)} \in 3COL