14. Chomsky Hierarchy
Feb 22, 2022
Linear-Bounded Automata
- the input string tape space is the only allowed tape space allowed
- cannot go left/right beyond input
- all computation is done between end markers
=> this restriction limits the number of problems that can be solved
- LBAs have more power than PDAs
- LBAs have less power than TMs
Example languages accepted by LBAs
(Presumably) open problem:
do nondeterministic LBAs have same power as deterministic LBAs?
Variations of Grammars
Unrestricted Grammars
Production rules are sensitive to the context of the variables, e.g.
Unrestricted Grammars have same power as Turing Machines.
Examples:
Theorem. A language
Context-sensitive Grammars
Subcase of unrestricted grammars — restricted form where
Example: the language
Note: the length of left side is upper bounded by length of right side.
Theorem. A language
Observation: There is a language which is decidable but not context-sensitive.
Chomsky Hierarchy
╭————————————————————————————————————————╮ │ Unrestricted/recursively enumerable │ │ ╭———————————————————————————————╮ │ │ │ Context—sensitive │ │ │ │ ╭—————————————————————————╮ │ │ │ │ │ Context—free │ │ │ │ │ │ ╭———————————————————╮ │ │ │ │ │ │ │ Regular │ │ │ │ │ │ │ ╰———————————————————╯ │ │ │ │ │ ╰—————————————————————————╯ │ │ │ ╰———————————————————————————————╯ │ ╰————————————————————————————————————————╯