This document contains solutions to problems related to computation theory including decidable and semi-decidable languages, loops, and blank cells. The solutions are explained in detail with examples and references.
Contribute Materials
Your contribution can guide someoneβs learning journey. Share your
documents today.
University ****** Semester ****** Student Id **** Student Name *** Submission Date **** 1
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
M: on input Aloop2 For Aloop2=0, Aloop2=1 it does not matter to find the string length is M It could accept, or run M is L02, anything, suppose M is rejected (Auger and Doerr, 2011). If Aloop2=2 then loop If Aloop2= 1 then run M on L02 If M accepts, than the string is accepted. If M rejects, than loop (here, reject would also be correct). c.The Halt01 = {< M >| M rejects string β1β and halts on some string ending with 0}. Halt01 can consist of the two strings on 0, 1. Let us consider the ending of the stings is 0 and rejecting of the string is 1. It is possible to define the string of the producing as an output. In that case, the computation halts in a rejecting state with 1, except for the output and head pointing of the first output. The Halt01 of the string can be used for the two methods, i.e accepts and rejects. The Halt01 string can be ending with 0. Let us show that the ATM is not decidable. Assume for the sake of contradiction that it is so, there of the computation H that takes as an input i <M>|M and halts rejecting the string in 1. ATMβ€Halt01 Let us xββxΒΏ , and assume the x=<M>|M, where M is the computation quantifier. F(x) =<M> is the contradiction of the computation. M: on the input A Write 0, 1 on the tape Simulate M running on input 0, 1 IF and when M halts and rejects <M> halt with rejects the 1 IF and when M halts and end <M> halt with ending with 0 It is also to see the that 0, 1βATMβHalt01. Since is the string is Mβreject(1)and MβendΒΏ ) 3
d. Ain = {< M, w > |M accepts w without moving to a blank cell}. We will show that, {< M, w > |M} is the computation. F(x) =<M> where Mfollows on Blank cell taps(w). M: on inputx' Write w on the tape Simulate M running on input w; if and when M halts and accepts, M0 halts and accepts; If and when M halts and rejects, M0 goes into an infinite loop. Clearly f is computable. It is also easy to see that xβATMβf(x)βblank cell, since M accepts wβM halts on blank cell. 4
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
References Atallah, M. and Blanton, M. (2010).Algorithms and theory of computation handbook. Boca Raton: CRC Press. Atallah, M. and Blanton, M. (2010).Algorithms and theory of computation handbook. Boca Raton, FL: Chapman & Hall/CRC. Auger, A. and Doerr, B. (2011).Theory of randomized search heuristics. Hackensack, N.J.: World Scientific. 5