Docsity

Decidability and undecidability, Summaries of Theory of Computation

Partial preview of the text

Download Decidability and undecidability and more Summaries Theory of Computation in PDF only on Docsity!

me set e pect dable pb! - me alern. eolves all thatan Ces . e bUndecidable Pr: - No algro- Z0l\ver all tnartan ces: - But Aorme endividual {nAlanees ray Zxill be solvable: Th, Boome Pbms: Cant jbe Solved , then rt 16 enough tv call +t tin decidable- A Pbro- is Called undecidable i even dmat weeks dor all trputs one. qeneral agro: C nor because €VerG instance aves not eaci&t + le unsolvable _| ™T™ te One oA, the moet Urspor tant theoretiaal mols. by Tots TE wars tntwoduced PY Alan Tung th 1qab town ally cle}ine Uthat tt reais dor a pbry > be Computable %, So, tr helps vs to: — Uncles*etand ushat b Cor puters - oe ¥ _ De > > diya : Pete Aeciolabi lity & Fe LOR NI kability 4 Linn? ba b+ Com pau beth . . Cex! haltthg Phra) we D aa Key con Cepia et FM: Dectable lange. - T™ always halts Caceept/ , reject) a Retogni Yable lange - ™ a ray loop doreven doe Aone tinppus * Non- cermputable pbms—- No TMs can solve ther hesrainan « |. Decidable lange. C Alusosys Halts) A lang. [pbm) te cledAable 4 Theve ens Aa TM. that; — Alwar, cro)s ( fra les) doy every. ‘tp. . L or “pect tne) i, Stang é Ty ckaings EL ink oY Like a perdectly y wi thak neves™ ety ruth, be, ™ net ¢ Mio the Loop. scotiable pro. Wo mot {Ge Exarop le Shope _ Check ng Vf, a no Ne rwattes hat input Liniches and ancwer& uw even. you Ylve, the role ed Recurrafve We pecdable Lamp: are om ee = Ss. Ou. 3. Non - Corn pu table bbms. C Irn poxsi ble for Mg) oe eee thee Ore the pbrs « for etrt ob aNo tM eiat. that can Zolve tero Corre Cty ter all tps. 0 Path tho poemnble- ke Compute example. Halting bbro. — Given a Paro Ip, wiil te 249 ow wun Povevie? «Decidable - always get 4 Clear Yes ’ er np! Fes only é Revwgni xable- Cras work, br" Yer”) - qet ‘ Yes T answers, burt Lercetuvies fou weet dpvrever dor tno’ 2 beet’ only por Hex’) ® Non- compy vatele ! Ne algm- can golve it: ' Rewognixeble > we pave oO pota, but tts th temptlete - Non - Cora putecble 3+ No rote: eylnte at all . [ why Lwoping happens! — Recause Sroppurg cantly Could make | whe alara . tetas thio, ty he, it will keep FA Ruy] wal’ 2 fond pvoo} ye Wuree, But fou cre Weng | a om never be abl bovve Me] ° “d ee ;: - lags: thee are lwolh rk LRM | ~ gpecidable -yuble & daetldable - TM halite ow yes, may Loop Lorrevere pn no's not ctetllable - | vetognl Yabvle but Rew@uixable | | Undectalable- Reject PL Actept if eh petolable = mth \ lA bl = Re brdially devdable " nt oe ace NGS US th neve - not REL, ait | epee mw Blo The Pest Correspondence Problem Cpep) S no alem. can eave all cases: A The pep i a classte decision Phro. w Tee , tniaoduted by mathemati clan Emil Peek. (ntl weed the “Post ! Aikex Emil Past, who e Covves bon dente: veers to maketh ing ( or \\ Lorre spending */) con cackenatiens ot eimngs acorn the hwo Wad, Ge, binding a usrrespendence Crmatehung ?) bho we Sequences eiings) Pep ia ackually used for? bohat pep we Used % prove that other Problen Ore undeciditble . Yow Ve works? [. Start urtth pep Calcweady Knoun bo be undetidable) a2. Take Q new Probleno pb. 3. Bhow “Th Could avlve P, b Ceuld aleo AolVe Pcp”, That pmeans! a ae Boling P => aolving PCP. But, pep can't be Arlved - So, P rust also be undedcable - Pcp te Used AS A Alenlard tool © jprvove the Undedda bility of Other problems trough reduetions - e Alan Turing > proved underdabi ity eAibthe * Emil Post > gave pep » PCP > Used & prove roan bebe Pers: are Undericdable- Example: pominos are a Kind Hles , Th the, wr D7 we have 2 parte: Ne & Dr =] (=) [&] [ed aq [rel [ed bel (tere, Loe heed bo gana a Aequen le Ci clorntnoe «= Buch that the top and better rings Ose BONO: Alan Tuxtng a © IN l4ap, he Urovduced the TM- * He tovmulated 2: proved the famous halktng Pbr. © Thi ume the 1S clear Preoof that aome pbrrs-. ave undedidable. = ( Formally establishing undecidab! lity) Ernt Post © Worked thdependently apund the zame Lime (1430, - PA) a OrxuAdted Lito es 8} Corputakton and formal & Yysterns. e Trtroduced the PcP. win work helped expand and apply undeciaabi ity — other pbs. He eleva loped CUke Pep) to explore and undecidability further. Poaere Ppbms. Aero re kvate exam ple B . the ‘Dominos WM voliever wal Dom tno 7 we Can Use Ory ne: + Lines + Prnally Wwe need HA ce 4uth that the bottom nt BeGUENn & i. * ae oe BYU ahould be the n e <; AAI ahd ‘tk should be & dunite foquence Aesrrcun o we want & each We Rob we: shold alwas atert with a Domine o tn uhith the (oe *ZYmbel on the +p \s* Ay robe eh the kotkorn ave the sam Otherwise, th the 14% place teseld toe Cant a wtwng tat & are at the “x and the bottom. Lek the !%# tile [8 Ch | & 7 The (SE Aeginbel* (Be) Are ~ iyjerent- the only pre Choice left te A AB y _A moa ER A EE AB “aR OSA A ABO Another way ot, “re prre xenting The Pcp: A B 1 tt! (oll! lo lo TE Can be Ye presented as, 1 "7 ( tout ® lo Oo we have 2 option . © &@. het Us Choose @ dinrst - eo ES Se, ty Cn, tetead v4 toryung @, © leo tol 101 lol orysrhotrle @ WY 1\oroltlloliol Lotlotrotrotl oe The neg en ce con tines. Wwe are qoung be lett with ore as €xrbrH th Me Sv BQ the only possibility Woe GAN use K ®. T+ Wwe use @y, Ft wll continue os thdthite thing => Be will not halt: ‘ ~. Pcp cloes Not have a Aoln, Sore Pepe Can be olved 22 2Ome Can't. do te Lu trnpossible b have qeneralixed alan. S pep te an undecdable Bbm. We a a ai Pesoving Diagona ul Lion Lang Uage A Not = Recursjvel Enumervuble. The hal Lung Pbro halt when aun én Given a TM, will It aterng ) Home. past cular Aven “input TL we qive. zone ‘Up atving lp the mM, will aE halt (eth by ace pting or ‘ey ecking) pe ey duvever ? TH O generalixed uy writ we be abe to ade4lgn o aM ox on a\gro. wht ch wil) take any pgro: and kel) Us Whether 2 that Pgro Ww iL balk oF nok § “he Ounseer bo thi question te ho’, we can't clesian A Generalized alana. nto whith «Wy we = pass Perq: and then the agra. belle us that the Pare wil) ewer alt os mob gt \e only possible — un the Pyros with a PartLeular Input > soe whether Ye WA hawt . Bo, the hattuy bbro-u undetiable he, yore 6 ono TM witth tan . wow Ul golve The Pb. ber VY eee. 9! an