L and l are turing recognizable prove l is turing decidable
This presentation is the property of its rightful owner.
Sponsored Links
1 / 3

L and L’ are Turing-recognizable, prove L is Turing-decidable PowerPoint PPT Presentation


  • 52 Views
  • Uploaded on
  • Presentation posted in: General

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.

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


L and l are turing recognizable prove l is turing decidable

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


Exercise 4 3 m s z z is a dfa l z s

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


Exercise 4 2 m t b e b is a dfa e is a regular expression and b e

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


  • Login