[Solved] CSE 396 Assignment 6

$25

File Name: CSE_396__Assignment_6.zip
File Size: 197.82 KB

SKU: [Solved] CSE 396 – Assignment 6 Category: Tag:
5/5 - (1 vote)

In lecture we have concluded our discussion on computability and with it have moved into the realm of problems that are always decidable. This assignment touches on a number of the bits we saw during the exploration of the computability theory with a focus on some of the main theorems that tied everything together. Many-one reductions were a big part of our discussion and enabled us to show that many of the problems we were studying that asked about the behavior of a TM algorithm were undecdiable problems [of varying degrees].

Problem 1. Complete the TopHat worksheet

2 Consider the following algorithm describing the TM M1:

Input: hDi, the encoding of a DFA D.

  1. Simulate D on input .
  2. if(D accepts input )
  3. Accept hDi.
  4. else
  5. Reject hDi.

Using M1, prove that L1 = {hDi | hDi is the encoding of a DFAis Turing decidable.

Problem 3.

Prove the following theorem:

If language L is undecidable and Turing recognizable, then L 6m L.

Problem 4.

Recall the following decision problem ALLTM:

ALLTM:

INSTANCE: hMi, the encoding of a Turing machine.

QUESTION: Is L(M) = ? (i.e., does M accept every input?)

Consider the function: f1(hM,wi) = hAoNM,wi

where AoNM,w is the All-or-Nothing machine as defined in lecture. Prove that ATM m ALLTM via this function f1. Conclude that ALLTM is undecidable.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSE 396 Assignment 6
$25