Linear Bounded Automata
LBAs
Linear Bounded Automata (LBAs)
are the same as Turing Machines
with one difference:
The input string tape space
is the only tape space allowed to use
Linear Bounded Automaton (LBA)
Input string
[ a b c d e ]
Working space
Left-end in tape Right-end
marker marker
All computation is done between
end markers
We define LBA’s as NonDeterministic
Open Problem:
NonDeterministic LBA’s
have same power with
Deterministic LBA’s ?
Example languages accepted by LBAs:
L = {a b c }
n n n
L = {a }
n!
LBA’s have more power than NPDA’s
LBA’s have also less power
than Turing Machines
The Chomsky Hierarchy
Unrestricted Grammars:
Productions u must have at least one non-terminal &
v can be a combination of (T X non-T)*
u→v
String of variables String of variables
and terminals and terminals
Example unrestricted grammar:
S → aBc
aB → cA
Ac → d
Theorem:
A language L is recursively enumerable
if and only if L is generated by an
unrestricted grammar
Context-Sensitive Grammars:
Productions
u→v v can be a combination of (T X non-T)+
epsilon is not allowed here
String of variables String of variables
and terminals and terminals
and: |u| |v|
The language n n n
{a b c }
is context-sensitive:
S → abc | aAbc
Ab → bA
Ac → Bbcc
bB → Bb
aB → aa | aaA
Theorem:
A language L is context sensistive
if and only if
L is accepted by a Linear-Bounded
automaton
Observation:
There is a language which is
context-sensitive
but not recursive
The Chomsky Hierarchy
Non-recursively enumerable
Recursively-enumerable
Recursive
Context-sensitive
Context-free
Regular