/
CS  Section  Harvard University Fall  Overview This we CS  Section  Harvard University Fall  Overview This we

CS Section Harvard University Fall Overview This we - PDF document

min-jolicoeur
min-jolicoeur . @min-jolicoeur
Follow
398 views
Uploaded On 2015-05-25

CS Section Harvard University Fall Overview This we - PPT Presentation

1 Concept Review 11 Undecidability By a cardinality argument we know that almost all languages are undecidable This argu ment however does not give us an explicit construction The following theorem does just that Theorem 11 The language Mw accepts ID: 74165

Concept Review

Share:

Link:

Embed:

Download Presentation from below link

Download Pdf The PPT/PDF document "CS Section Harvard University Fall Ov..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1.3Rice'stheoremTheorem1.2(Rice'stheorem).LetPbeanysubsetoftheclassofr.e.languagessuchthatPanditscomplementarebothnonempty.ThenthelanguageLP=fhMi:L(M)2Pgisundecidable.Intuitively,Rice'stheoremstatesthatTuringmachinescannottestwhetheranotherTuringmachinesatis esa(nontrivial)property.Forexample,letPbethesubsetoftherecursivelyenumerablelanguageswhichcontainsthestringa.ThenRice'stheoremclaimsthatthereisnoTuringmachinewhichcandecidewhetheraTuringmachineacceptsa.2ExercisesExercise2.1.Reductionscanbetrickytogetthehangof,andyouwanttoavoid\goingthewrongway"withthem.InwhichofthesescenariosdoesL1mL2provideusefulinformation(andinthosecases,whatmayweconclude)?(a)L1'sdecidabilityisunknownandL2isundecidableNothing(b)L1'sdecidabilityisunknownandL2isdecidableL1isdecidable.ThisisinSipser.(c)L1isundecidableandL2'sdecidabilityisunknownUndecidable.Corollarytotheabovequestion.(d)L1isdecidableandL2'sdecidabilityisunknownNothingExercise2.2.Arguethatmisatransitiverelation.LetfbethefunctionthatreducesAtoB,i.e.,AmBbyf,andletgbethefunctionthatreducesBtoC,i.e.,BmCbyg.Thenw2A()f(w)2B.Furthermore,x2B()g(x)2C.Itfollowsthatforeveryw2A,g(f(w))2C,andfurthermore,foreveryx2C,thereexistsay2Bsuchthatg(y)=x,andforeveryy2B,thereexistsaw2Asuchthatf(w)=x,sothatforeveryx2C,thereexistsaw2Awithg(f(w))=x2C.Thusw2Ai g(f(w))2C,sothatAmC.Exercise2.3.Determine,withproof,whetherthefollowinglanguagesaredecidable.2