Professional Documents
Culture Documents
1
Linear-Bounded Automata:
2
Linear Bounded Automaton (LBA)
Input string
[ a b c d e ]
Working space
Left-end Right-end
in tape
marker marker
3
We define LBA’s as NonDeterministic
Open Problem:
NonDeterministic LBA’s
have same power as
Deterministic LBA’s ?
4
Example languages accepted by LBAs:
n n n n!
L {a b c } L {a }
5
Unrestricted Grammars:
Productions
uv
6
Example unrestricted grammar:
S aBc
aB cA
Ac d
7
Theorem:
A language L is Turing-Acceptable
if and only if L is generated by an
unrestricted grammar
8
Context-Sensitive Grammars:
Productions
uv
S abc | aAbc
Ab bA
Ac Bbcc
bB Bb
aB aa | aaA
10
Theorem:
A language L is context sensistive
if and only if
it is accepted by a Linear-Bounded automaton
Observation:
There is a language which is context-sensitive
but not decidable
11
The Chomsky Hierarchy
Non Turing-Acceptable
Turing-Acceptable
decidable
Context-sensitive
Context-free
Regular
12