linear bounded automaton
A linear bounded automaton, or LBA for short, is a restricted form of a non-deterministic Turing machine with a single tape and a single tape head, such that, given an input word on the tape, the tape head can only scan and rewrite symbols on the cells occupied by the initial input word.
Formally, a linear bounded automaton is a 9-tuple , where
-
1.
is the state alphabet
-
2.
is the input alphabet
-
3.
is the tape alphabet and
-
4.
are the left and right end markers.
-
5.
is a function from to , called the next move function
-
6.
is the start state
-
7.
is the blank symbol
-
8.
is the set of final states
The interpretation of is the same as that of a non-deterministic TM: if the is in state and the tape head is reading a tape cell containing , then it replaces by in that tape cell, and move in the direction of ( for left, and for right), and changes its state to . In addition, the next move function has the following properties:
-
•
if , then and , and
-
•
if , then and .
-
•
if and , then .
In other words, if the tape head is reading the left end marker , then if it has a next move, it can only move right without replacing the end marker . Similarly, if it is reading the right end marker , then it can only move left if it has any next move at all, without replacing . Furthermore, no symbol can be replaced by an end marker unless the symbol itself is the end marker.
An LBA is also known as a non-deterministic LBA, or NLBA for short. An LBA is said to be deterministic (abbreviated as DLBA) if is at most a singleton for every pair .
A configuration of is a triple , where is the current state of , is the content of the tape (including the end markers), and a non-negative integer, the position of the tape head, where is the position of , the left end marker.
Define a binary relation on the set of all configurations of : for ,
where and a non-negative integer, iff any one of the following holds:
Notice that and . If , then the former case can not happen, and if , then the latter case can not happen.
Remarks
-
•
For a given input word , the workspace of an LBA is defined as the portion of the tape between the end markers (including the end markers). In the definition above, we see that , where is the length function. One can enlarge the workspace so that , where are positive integers with and . This is the reason for the name “linear bounded” in LBA. However, the computational power of an LBA with enlarged workspace is not increased: the language accepted by such an LBA can be accepted by an LBA defined above.
-
•
A language is context-sensitive iff it can be accepted by an LBA.
-
•
Every context-free language can be accepted by a DLBA, but not conversely.
-
•
It is an open question whether every context-sensitive language can be accepted by a DLBA.
References
- 1 J.E. Hopcroft, J.D. Ullman, Formal Languages and Their Relation to Automata, Addison-Wesley, (1969).
Title | linear bounded automaton |
Canonical name | LinearBoundedAutomaton |
Date of creation | 2013-03-22 18:57:40 |
Last modified on | 2013-03-22 18:57:40 |
Owner | CWoo (3771) |
Last modified by | CWoo (3771) |
Numerical id | 10 |
Author | CWoo (3771) |
Entry type | Definition |
Classification | msc 68Q45 |
Synonym | LBA |
Synonym | NLBA |
Synonym | DLBA |
Synonym | deterministic LBA |
Related topic | ContextSensitiveGrammar |
Related topic | ContextSensitiveLanguage |
Defines | deterministic linear bounded automaton |