Professional Documents
Culture Documents
TAFL Unit 5 Notes Ms. Minakshi
TAFL Unit 5 Notes Ms. Minakshi
3t Aas ont
of turg ma
bauC mdil
dugram ea
T s block
petni
blo
a odivnded i n tcel
RLadl wnte
ape
hed
Frricle tortal
Tu
o u Kead/ut
Kead/ut
wndu
tsprbe/
s prbel
ymbei
Or ymbel
uH paiuerd
piserd
ull stres only exqnunes
to
detexmiee
Eeah automatn
maun
move fhe Aali
u
Ome ,
puet
amd ntte eell
Labntte-tape
o bewittev on otpe
a a neuw syvnbel
wmcleRw head tiu tape: eike
Rouad along
ef #o right(p)
gre cell
mDuement
et(L)
head movei en l l
audvmalon
tu next Atal e t
ho intalskat
statas
.
o e offral
ha
FCQ
from
fponn He
devicled byo PLRachabilkl7Aallad
Aalld
is
of sruinyAtilh. stalu
ave
^o Ana
aceptabilta
NOTTh
N.
Atte t o i a l
ntial
acupting Atats
elment
for ome of
dkinad
not be
may
x
TD)
lestuipuo (Tm)
Tutanttavs Ous mathn
csUedhon by s n t a n i t a r u g u s
dexophin ef tuwnry
9s
Hu
terms of entre
entire
inpt stoy
ID
isoymed
inrtemsof
Trm
f
TD
uwnmd stpt
wnol Hu
TM s a S e
Ar TD o{
slat
wh asx y
pAKlnl
p is split P'res e n t
tonuct
stning
pokent Right
zatRi stale eqjuonte
symbof eff
ost sequna Cbin
f u l symbol
Symbel
TDs s vesy much
of
mS by stins .
by twmuon able
Conlkuehon
Desgnung
1 Comusting
TM Ap Uoguize
all strirys
mathine
a tuving
esio
QuAs
eem
numbes of 1s
-b bblank
b. F
M ( , T, 8,%r -1,b ape Symb
Vo-inidealstala
Tramunqkaph
F
wit B(blanle)
for e o h 1
L8.8st Tranastiomn
Tabe
1,B,R Hape symbo
amd Ahmnyt L
,R
2R
x wnp obtuin H aorputatiom &«quenu of 1111.
TM hat arcots a
palundhomo f a's amd b's.)
esiom a tho occwea a
hCo
Cone
Ato uapAIseut
a,a,R
lank syonbol b b,R uboAmuut
stnagstaiud
e n d
h o
(1w a
4,a,k
b e
b, bR b y p a s s
W a ' s o n d
a,a, Onnd
g ofto
b,b,L storti
T o sywnbo u
ebsfring
Ja,a,R stard o b
bbR
aAf bypaa/ng
bib,R cll al'sandb'
4,4,L
b
a,a
o Acpt
b
Ua,a,R
brbiR
b , b , R
BB
,L s
a,A,L
bb, L
( % ) b B r ( 7
b
aaR
b. bR B,B,R
TI
For palvindhome roinak
bR
(ro BR ALuptre L
Jaa,
BR LD bb
Oaa,R
bbR
na TACal accois 01
cs As
etsse
a nto
cowet eah
Procs
oO,xR 00ol1A ond toTresporoj r
OXR X
xoo Y I1A
XXOYY IA
XXX y
m
C o w e u dt o
O r m O
XXX YYY A
XXYYYyA
0,0,K
R Tot ootra
a X, R.
o,0,
to lottmut gero
Xx,R ifx octuwu o
o,0,R
Go OX,R
0, 01L
nopo Jet
C
9R DRuchad
end o sfsina
Pad ol
r1Mraks
a een onlaqps
ugn o u r ma ulsns t i atupts
uu:
wsten n bunaa1 vtn
unbe encds wr# geo.
,0,K
B Ioo
,0,R
C,A
a twingmothu
to arupt language a"b'c"|,mt
Ouson
a,a, R
Y,,R Y,4,L
a,x,R a, a, L
bY,L
Y,R x,x,R
C,e,R
CecR
QuAuir a T to aceht Ljarn>=o?
n9,,R Y,Y,
YY,R
I]a,0, LL
Y,,
B Amh
,Y,R
L u a lun'ny MaLhuve -for ab'"
ena
ous ma»k,"as as X
el a alalblb]blelelc mak b as y
mark c as z.
Z, Z,R
bbR Y.Y,
a,x,K b,Y,R
,R
X,x,R
final
Y,R B8, stale
Z,z,R
n= a°6 >aafk
AeAn a T -o
L-3a1no n-2 ab aadkK
Tavo more a's han ocuRen es of b's
C o n s u n et u o
//1,R
AX.R R R
,R s
B,8,R)
a,aR
YYR b,Y,R QQu x,xR
Frofunakehi
Vaaiaik o Tuing Machivnes mathine
Aalled
stamdand tuing
mauhune ab. of Tm
A normal tuing variamb of TM
un madhtut,
Ahaning teatues ofsfardand
By
m bematad
.TMoth daionayhaad
Mulhtple hauk-TmË
Tuvo way inknli Tate
Multipe Tpe Tm
.Non-deteininisthe Tm
wtStaionary aadl
Uinammbun moveme,
head Aan be otat A
no Readfhile ead
ealus.allous
leads on
machue Aymnbal
The
ints a
m dh a TM
moves a Aeads
Head
Txümaugnfumtión
6:(0x xk (&, X, 1 Left, Rijht, shstionxy?
ha Aame owe a sandard Tm
heady head2
Mahun
|OFP- n e Tuning
TMh
i a muttitape nla
nuk kungth ungth.
th
amd with
w
is eacdornly intu
Snput tape nnuh tope
tope
at
wo-oay
T Aemainirg tapes
muuns fr wl
Aturing
ot um mudurd
TM ntodur°fTM as a proram)
Desubhiom of
prosam
Exeutiom of aboe
Moalof UTM\
Finule
Conhol
Tae Tabe 2
ape3
Desuutiono conlnt of TntenalAtnli
m tn Ta M 0tape2 fm ontape3
EnCode statis
fhw
t 8(q)= (2ag, L
emtodad as
kimilasly al
=11
mathnsohiih L. u m e qn
md qune
gin
an9
not m
ha
a llt
t e n ym e
evey
he sbin:
will
will
mathi md ewyinpud
The luuing eath
Aaieded)fo* paus a
(accestdl ps ofohuw ifwe
lanquage8,
will
accept Aha,
accoptLa
ashose mathme
maune
sewusive
Kanguaga
vnaubune,
he g and HRal svip
R a t sh
Th amd
t e Ito.ing languag
sting
into
belörge to
to kat chit
i t will pejert oill
olshuz
to R
lnnuaee
he
WLiVe wvta
dos not belong oiln o l qo
nol
a lume o pabuneoill
zpahune
tsna m
he
means
h e JuAng
alt at
datt
Acu
tunal
a
=s Pojet
TO7 stna Aalts in unal stali
TM non
en
e w e L
aks ma
alls
Tm
Rin
w4
languagR
Kitoguizablb
P r e c w s i r e y e n u m e r a b l lmgia
lomuagd
.Tung èmumvabl
cavguag2
t r u m E r a b l e
F u c u k i d y
(amd
accelpt (amd
pLwsvy be
a ohuh will accelpt
L i s said to wheh
in L
atuain *wimmathine mahine anu
A Smgu
A
Jomguagp
erisk
a
sbung
ohuih
4hu he inpet
vL.
halt) for all sAbun
nat
hunts he
halt f o all
not
o may
But
may tunalate
a
in
alts
slato o r
hen T a non-final
eL
Tm
Aalts im
Dops-forenel
R
L
Deilalblo lamquaq vs loiially Deudabl. lamauoqs vs.
Vndecidable. lamquoga
Deudable, kmguo
A lavnguage s loeiolable qitia scuwsie Jmguage.
mauhune
A gRunLIne lamguag0 s w lnguage to uwuth Jwurg
will alwaus halt ( accaplad-balt etLalt).
as rotunaive
qud all eursive
All d ciclabla lamguages
Kamguags aNe deuidabk
Wndeudable kamguage
A lavnguagt s unceudable. 4 it ià not deidable.
6omilnmes be partally decidas
A anauaat as m
A kmguage 701 een fatially duidablk, BRn r e
(wndaidaba),
exists no uung omaehint for #at lamgunge
.
Mame
Halking lroblem b Tuig aguvem prozsa
mochne u hak "Frt s h e t h v u a
a l i n Y problevtn
of uruing detemuiu #hat
4ti ot possiblo to
algouthm,
o
talt pa nat
oill e amd
Juiymathune atept ut will
rtain unput imto
m o
man Hat pogtam- m
machut will not go
Halting amd halt. TLe turing
halt s sajict
it
whn kun
teminati
ev halt t net
umteudlable buause
etusing machine is
oo Aalking praklem uohe dtexmms Hat hs
shontRm cam nol edaignad not n a qmvralized way
wilhalt o
en uning machine
i l u s YEs Hn loop
Hee suun C[C) H
forev
R n Half
riluns No,
if H
anel s pomubuua
Fwthu. a (Hm), which irput
onaubuint
as ollous;
inpd,
fhun deep preven
M) Lalk on
X =
[b, ba, ba)
Y (. ba, a)
ADUutiom
abc
ca
ca ab
euone 213 24
a
abc
Shimg ab ca
Solulin G abb
a bb
abb
ab
b b
ob
ab b
aba bob abb
quene 1523H43 y
b abb
SBung: aba ba babbabb
Lam-Jake
His etfe
he
APt
agaun t produt extsa 1
oll
Te
7Te tist substiinp uned in fCP oill alusag e Xamd y,
hn he. PCP is knuon as modhied fCP
0s Chwnch Tusing Thesis
Chuch Thesis
a for solving mattonmatical
uule a
a roblom
Tuing
be
kowed by a
n solrecl
beSolbved
ky
by Tm.
TM.
c
coam
n be
robloms
problavms
algorthmisally
sowablo )
aud only4
opalabla
AL
uiumbe
as
naural
on
A dumution a TM.
be
Bolved b aan
olved
it An Ampee
a degilhl
be Sowed by
a d con
amthung
b u t no one e
Augqestd
by TM molals n are
matkemalical
Tm
sowerul tam
Mmang
me
Them ohi.
daugmad
*o ply Pree
machunes a9u ce
ring
A s accesling
devites sorkamguages. a pariuular
&pasenls
funetion > ftmio
Hs a computa o
amouage
Xaneuaqe
emumexalos of
&tongs a a
a Janga
Jangunge
P , am a t outpuli a hirgs
lopic
Lnitg Machune ns Conputek f1nfeqe tunduns
S
oputia funtions wth tuaing machines Demuun D Kugon
A fumction Aas domatin md rugion fto)
LOED
A fundiom a y a Mmy paramctes es
Addlion 47-ftz)-*
sd bedause, t s easiegto
Unay keprasontalzn s
0 mackiinu.
mawibulato wih Zuung
m umåry inti n
4AO C o w e
it intoA
m-14
n 2 1
1,R ,1,R
11, R R
(
two mb
Aubtration of
uring m a thine fos
lugn a
11
=2
1,1,
L1,R
1,1,
R
L1,L
BBlank R
uuwbek
us uim 0 onng ra thut or multipu'catuon o twe
LI,L
LLR
R R
IR B
YR
X,X,R **, L
1,1,
(A
Kiniar Bomdod Automata
mockel ofPeesing
A enea loundad automata is fhe sestictod
mahine mavine with finiti
utihead wing
4t a 0n-detesmtriistic,
Finul
2 inpid althabef Covkel
taje alhabet
oinilal Atat model of LBA
t end mwkes.
LB accepts contaxt semitine
J ught end moku Lguages.
STrmuonsunhuivn LBA i MORe pawesdul and NPDA
Aet of fina Abh bu less pwerkal Ran Tm.
F
Exle LBA atupb lunguap
Auuhas Laen>=1}
e w s e hwnctuom
Toy
Tntial Funttons Zerofmniuon
imilial fmtions- Succesko funuom
Thee ans r e e
Propchion tundion
zevo Funmtion itis doined a 2c)=o, e Z[5)=°
Zl5)=o
S(3o)= go+| =
8|
(,7,8,9) 3
P3,7,8,) = *
15,18,8)= t5
R 2,6, 12,
9(ft)= z(31+2)+5
3t2tS
amd
Kecunsive humeluon A unctuon Kat selpeai sbe again
agaun