1 / 3

L and L’ are Turing-recognizable, prove L is Turing-decidable

L and L’ are Turing-recognizable, prove L is Turing-decidable. M TR. <w>. accept. w. B. accept. w. accept. reject. A. B checks if string w is in L, A checks if w is in L’ M TR halts because w is in either L or L’; B and A are run once.

kioshi
Download Presentation

L and L’ are Turing-recognizable, prove L is Turing-decidable

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. L and L’ are Turing-recognizable, prove L is Turing-decidable MTR <w> accept w B accept w accept reject A • B checks if string w is in L, A checks if w is in L’ • MTR halts because w is in either L or L’; B and A are run once

  2. Exercise 4.3MS* = {<Z> | Z is a DFA, L(Z) = S*} MS* accept <Z> reject <Z> MEQdfa reject <E> accept F • F creates DFA E such that L(E) = S* • MEQdfa accepts if L(Z) = L(E), rejects otherwise. • MS* accepts if and only if L(Z) = L(E) if and only if L(Z) = S* • MS* halts because F, MEQdfa are decidable and run only once

  3. Exercise 4.2: MT = {<B,E> | B is a DFA, E is a regular expression and B = E } MT <B,E> <B> accept accept MEQdfa reject <F> <E> reject D • D converts regular expression E into equivalent DFA F • MEQdfa accepts if L(B) = L(F), rejects otherwise • MT accepts if and only if L(B) = L(F) if and only if L(B) = L(E) • MT halts since D and MEQdfaare deciable and run once

More Related