Pushdown automaton
Builds on AlphabetStringFormal languageNondeterministic finite automatonContext-free language
Definition
A pushdown automaton is a tuple where:
- is a finite set of states;
- is a finite input alphabet;
- is a finite stack alphabet;
- is a function from to the finite subsets of , the transition function;
- is the start state and is the initial stack symbol;
- is the set of accepting states.
A configuration is a triple with , the unread input and the stack, top symbol first. For , and , there is a move . Let be the reflexive and transitive closure of . The language accepted by is
Remarks
Example: for take , and . The transitions are , , , , , and all other values are empty. The machine pushes one per and pops one per . It can enter only when the stack is back to , so it accepts exactly the words . Non-example: a machine with two independent stacks is not a pushdown automaton, since clause 4 allows only one stack; two stacks already simulate a Turing machine. Acceptance by empty stack, for some , gives the same class of languages. A language is accepted by a pushdown automaton if and only if it is a context-free language.
Reading path
To understand this page from the ground up, read these 6 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Alphabet concept
- Context-free language concept
- Formal language concept
- Nondeterministic finite automaton concept
- String concept
- Pushdown automaton definition
Further reading
About this page
| Tag | KNWWRAYCSR |
|---|---|
| URI | m2://KNWWRAYCSR |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68Q45, 68Q04 |
| Defines | Pushdown automaton |
| Uses | Alphabet, String, Formal language, Nondeterministic finite automaton, Context-free language |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.