Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Theory of Computation

Rating
-
Sold
-
Pages
15
Uploaded on
11-10-2024
Written in
2023/2024

In above this Paper i submitted my class Notes for The paper of Theory of Computation in this contain 1 to 5 units overall coverage and it's mostly hand written so it's easy to understand the subject that's it

Institution
Course

Content preview

UNIT-5
UNDECIDABILITY

Non Recursive Enumerable (RE) Language – Undecidable Problem with RE – Undecidable
Problems about TM – Post‘s Correspondence Problem, The Class P and NP
RECURSIVEANDRECURSIVELYENUMERABLELANGUAGES
Recursively Enumerable Language

A language LcΣ*is recursively enumerable if there exist a Turing machine, M that accepts every string,
wϵL and does not accept strings that are not in L.
If the input string is accepted, M halts with the answer ,“YES”.
If the string is not an element of L, then M may not halt and enters into infinite loop.


wєL

M
L



YES

wLoopsForever


The language, L is Turing Acceptable.

Recursive Language
A language is said to be recursive if there exists of Turing machine, M that accepts every
string, wϵL and rejects those strings that are not in L.
If the input is accepted, M halts with the answer ,”YES”


wєL

M
L

YES

wNO

, w L the Turing machine doesn‟t accept the string.

If w L, then M halts with answer, “NO”. This is also called as Turing Decidable language.


PROPERTIESOFRECURSIVEANDRELANGUAGES
1. The union of two recursive language is recursive
2. The language Land its complement L are recursively enumerable, then L is recursive.
3. The complement of a recursive language is recursive.
4. TheUnionoftworecursivelyenumerablelanguagesisrecursivelyenumerable.
5. The intersection of two recursive language is recursive.
6. The intersection of two recursively enumerable language is recursively enumerable

Proofs on the Properties
Property-1
Theunionoftworecursivelyenumerablelanguagesisrecursivelyenumerable.

Proof:
LetL1andL2betworecursivelyenumerablelanguagesacceptedbytheTuring
machinesM1andM2.

If a string wϵL1then M1returns “YES”, accepting the input string: Else loops forever. Similarly
if a stringw ϵL2 then M2returns “YES”, else loops forever.
TheTuringmachineM3thatperformstheunionofL1andL2isgivenas

RE
YES
M1

YES
wєΣ* M3


RE
M2 YES

RE

HeretheoutputofM1andM2are writtenon theinputtape ofM3. The turning
machine,M3returns“YES”,ifatleastoneoftheoutputsofM1andM2is“YES”.TheM3 decides on
L1UL2that halts with the answer, “YES” if wϵL1orwϵL2.ElseM3loops forever if both M1and
M2loop forever.

Hence the union of two recursively enumerable languages is also recursively
enumerable.
Property–2

Written for

Institution
Course

Document information

Uploaded on
October 11, 2024
Number of pages
15
Written in
2023/2024
Type
SUMMARY

Subjects

$11.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
mshriramagudees

Also available in package deal

Get to know the seller

Seller avatar
mshriramagudees Anna University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions