Let PALINDROMEDFA = { | M is a DFA, and for all s L(M), s is a palindrome }. Show that PALINDROMEDFA P by providing an algorithm for it that runs in polynomial time.
Please please thumbs up!!!
Hope it will help uh ouT!!!
(HANDWRITTEN)
------------------------------------
7.(15) Let PALINDROMEDFA = { <M> Mis a DFA, and for all s E L(M), s is a palindrome } Show that PALINDROMEDFA E P by providing an algorithm for it that runs in polynomial time.
Let PALINDROME DFA = { <M> | M is a DFA, and for all s E L(M), s is a palindrome }. Show that PALINDROME DFA E P by providing an algorithm for it that runs in polynomial time.
3. (15) ALLDFA = { <D> | D is a DFA with L(D) = {*}. Show that ALLDFA E P.
Let REPEATTM = { | M is a TM, and for all s L(M), s = uv where u = v }. Show that REPEATTM is undecidable. Do not use Rice’s Theorem. Let REPEATTM = { <M>M is a TM, and for all s E L(M), s = uv where u = v}. Show that REPEATM is undecidable. Do not use Rice's Theorem.
Let REPEATTM = {<M> Mis a TM, and for all s E L(M), s = uv where u =v}. Show that REPEATTM is undecidable. Do not use Rice's Theorem.
8. (15) Let REPEATTM = { <M> | M is a TM, and for all s L(M), s = uv where u = v }. Show that REPEATTM is undecidable. Do not use Rice’s Theorem. 7. (15) PALINDROIVIDACI vy provimo ETUS in polynomial time. 8. (15) Let REPEATTM = { <M>M is a TM, and for all s € L(M), s = uv where u =v}. Show that REPEATTM is undecidable. Do not use Rice's Theorem. ai
8. (15) Let REPEATTM = { <M>M is a TM, and for all s € L(M), s = uv where u = v}. Show that REPEATM is undecidable. Do not use Rice's Theorem.
1. Recall the following theorem. Theorem 1. Let a, b, m,n e N, m, n > 0 and ged(m,n) = 1. There erists a unique r e Zmn such that the following holds. x = a (mod m) x = b (mod n) please show that such solution is unique.
5. Use Rice's Theorem to prove the undecidablity of the following language. P = {< M > M is a TM and 1011 E L(M)}.
2. Prove that {a"6"c" |m,n0}is not a regular language. Answer: 3. Let L = { M M is a Turing machine and L(M) is empty), where L(M) is the language accepted by M. Prove L is undecidable by finding a reduction from Aty to it, where Arm {<M.w>M is a Turing machine and M accepts Answer: 4. a) Define the concept of NP-completeness b) If A is NP-complete, and A has a polynomial time algorithm, then a polynomial time algorithm...