encyclopegia.org

Tree stack automaton

A tree stack automaton (plural: tree stack automata) is a formalism considered in automata theory. It is a finite-state automaton with the additional ability to manipulate a tree-shaped stack. It is an automaton with storage whose storage roughly resembles the configurations of a thread automaton. A restricted class of tree stack automata recognises exactly the languages generated by multiple context-free grammars (or linear context-free rewriting systems).

A tree stack automaton (plural: tree stack automata) is a formalism considered in automata theory. It is a finite-state automaton with the additional ability to manipulate a tree-shaped stack. It is an automaton with storage whose storage roughly resembles the configurations of a thread automaton. A restricted class of tree stack automata recognises exactly the languages generated by multiple context-free grammars (or linear context-free rewriting systems). ==Definition== ===Tree stack=== For a finite and non-empty set , a tree stack over is a tuple where is a partial function from strings of positive integers to the set with prefix-closed domain (called tree), (called bottom symbol) is not in and appears exactly at the root of , and is an element of the domain of (called stack pointer). The set of all tree stacks over is denoted by . The set of predicates on , denoted by , contains the following unary predicates: which is true for any tree stack over , which is true for tree stacks whose stack pointer points to the bottom symbol, and which is true for some tree stack if , for every . The set of instructions on , denoted by , contains the following partial functions: which is the identity function on , which adds for a given tree stack a pair to the tree and sets the stack pointer to (i.e. it pushes to the -th child position) if is not yet in the domain of , which replaces the current stack pointer by (i.e. it moves the stack pointer to the -th child position) if is in the domain of , which removes the last symbol from the stack pointer (i.e. it moves the stack pointer to the parent position), and which replaces the symbol currently under the stack pointer by , for every positive integer and every . ===Tree stack automata=== A tree stack automaton is a 6-tuple where , , and are finite sets (whose elements are called states, stack symbols, and input symbols, respectively), (the initial state), (whose elements are called transitions), and (whose elements are called final states). A configuration of is a tuple where is a state (the current state), is a tree stack (the current tree stack), and is a word over (the remaining word to be read). A transition is applicable to a configuration if , is true on , is defined for , and is a prefix of . The transition relation of is the binary relation on configurations of that is the union of all the relations for a transition where, whenever is applicable to , we have and is obtained from by removing the prefix . The language of is the set of all words for which there is some state and some tree stack such that where is the reflexive transitive closure of and such that assigns for the symbol and is undefined otherwise. ==Related formalisms== Tree stack automata are equivalent to Turing machines. A tree stack automaton is called -restricted for some positive natural number if, during any run of the automaton, any position of the tree stack is accessed at most times from below. 1-restricted tree stack automata are equivalent to pushdown automata and therefore also to context-free grammars. -restricted tree stack automata are equivalent to linear context-free rewriting systems and multiple context-free grammars of fan-out at most (for every positive integer ). ==Notes== ==References==

References

  1. not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. Lippe [ 1 ] Wikipedia revision 1264116738, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1264116738
    Cite this reference

    MLA "not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. Lippe [ 1 ] Wikipedia revision 1264116738, retrieved 2026-11-18." not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1264116738. Accessed 25 November 2026.

    Chicago "not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. Lippe [ 1 ] Wikipedia revision 1264116738, retrieved 2026-11-18." not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1264116738.

    APA not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. (2026). not to be confused with a device with the same name introduced in 1990 by Wolfgang Golubski and Wolfram-M. Lippe [ 1 ] Wikipedia revision 1264116738, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1264116738

  2. A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. Wikipedia revision 1264116738, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1264116738
    Cite this reference

    MLA "A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. Wikipedia revision 1264116738, retrieved 2026-11-18." A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1264116738. Accessed 25 November 2026.

    Chicago "A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. Wikipedia revision 1264116738, retrieved 2026-11-18." A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1264116738.

    APA A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. (2026). A set of strings is prefix-closed if for every element w in the set, all prefixes of w are also in the set. Wikipedia revision 1264116738, retrieved 2026-11-18. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1264116738

  3. a b Denkinger, Tobias (2016). An automata characterisation for multiple context-free languages . Proceedings of the 20th International Conference on Developments in Language Theory (DLT 2016). Lecture Notes in Computer Science, Vol. 9840, pages 138–150, doi:10.1007/978-3-662-53132-7_12 . Wikipedia revision 1264116738, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1264116738
    Cite this reference

    MLA "a b Denkinger, Tobias (2016). An automata characterisation for multiple context-free languages . Proceedings of the 20th International Conference on Developments in Language Theory (DLT 2016). Lecture Notes in Computer Science, Vol. 9840, pages 138–150, doi:10.1007/978-3-662-53132-7_12 . Wikipedia revision 1264116738, retrieved 2026-11-18." a b Denkinger, Tobias (2016). 2026-11-17. https://link.springer.com/chapter/10.1007/978-3-662-53132-7_12. Accessed 25 November 2026.

    Chicago "a b Denkinger, Tobias (2016). An automata characterisation for multiple context-free languages . Proceedings of the 20th International Conference on Developments in Language Theory (DLT 2016). Lecture Notes in Computer Science, Vol. 9840, pages 138–150, doi:10.1007/978-3-662-53132-7_12 . Wikipedia revision 1264116738, retrieved 2026-11-18." a b Denkinger, Tobias (2016). 2026-11-17. https://link.springer.com/chapter/10.1007/978-3-662-53132-7_12.

    APA a b Denkinger, Tobias (2016). (2026). a b Denkinger, Tobias (2016). An automata characterisation for multiple context-free languages . Proceedings of the 20th International Conference on Developments in Language Theory (DLT 2016). Lecture Notes in Computer Science, Vol. 9840, pages 138–150, doi:10.1007/978-3-662-53132-7_12 . Wikipedia revision 1264116738, retrieved 2026-11-18. Retrieved November 25, 2026, from https://link.springer.com/chapter/10.1007/978-3-662-53132-7_12

  4. Golubski, Wolfgang and Lippe, Wolfram-M. (1990). Tree-stack automata . Proceedings of the 15th Symposium on Mathematical Foundations of Computer Science (MFCS 1990). Lecture Notes in Computer Science, Vol. 452, pages 313–321, doi:10.1007/BFb0029624 . Wikipedia revision 1264116738, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1264116738
    Cite this reference

    MLA "Golubski, Wolfgang and Lippe, Wolfram-M. (1990). Tree-stack automata . Proceedings of the 15th Symposium on Mathematical Foundations of Computer Science (MFCS 1990). Lecture Notes in Computer Science, Vol. 452, pages 313–321, doi:10.1007/BFb0029624 . Wikipedia revision 1264116738, retrieved 2026-11-18." Golubski, Wolfgang and Lippe, Wolfram-M. 2026-11-17. http://www.dx.doi.org/10.1007/BFb0029624. Accessed 25 November 2026.

    Chicago "Golubski, Wolfgang and Lippe, Wolfram-M. (1990). Tree-stack automata . Proceedings of the 15th Symposium on Mathematical Foundations of Computer Science (MFCS 1990). Lecture Notes in Computer Science, Vol. 452, pages 313–321, doi:10.1007/BFb0029624 . Wikipedia revision 1264116738, retrieved 2026-11-18." Golubski, Wolfgang and Lippe, Wolfram-M. 2026-11-17. http://www.dx.doi.org/10.1007/BFb0029624.

    APA Golubski, Wolfgang and Lippe, Wolfram-M. (2026). Golubski, Wolfgang and Lippe, Wolfram-M. (1990). Tree-stack automata . Proceedings of the 15th Symposium on Mathematical Foundations of Computer Science (MFCS 1990). Lecture Notes in Computer Science, Vol. 452, pages 313–321, doi:10.1007/BFb0029624 . Wikipedia revision 1264116738, retrieved 2026-11-18. Retrieved November 25, 2026, from http://www.dx.doi.org/10.1007/BFb0029624

  5. Scott, Dana (1967). Some Definitional Suggestions for Automata Theory . Journal of Computer and System Sciences, Vol. 1(2), pages 187–212, doi:10.1016/s0022-0000(67)80014-x . Wikipedia revision 1264116738, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1264116738
    Cite this reference

    MLA "Scott, Dana (1967). Some Definitional Suggestions for Automata Theory . Journal of Computer and System Sciences, Vol. 1(2), pages 187–212, doi:10.1016/s0022-0000(67)80014-x . Wikipedia revision 1264116738, retrieved 2026-11-18." Scott, Dana (1967). 2026-11-17. http://www.dx.doi.org/10.1016/s0022-0000(67)80014-x. Accessed 25 November 2026.

    Chicago "Scott, Dana (1967). Some Definitional Suggestions for Automata Theory . Journal of Computer and System Sciences, Vol. 1(2), pages 187–212, doi:10.1016/s0022-0000(67)80014-x . Wikipedia revision 1264116738, retrieved 2026-11-18." Scott, Dana (1967). 2026-11-17. http://www.dx.doi.org/10.1016/s0022-0000(67)80014-x.

    APA Scott, Dana (1967). (2026). Scott, Dana (1967). Some Definitional Suggestions for Automata Theory . Journal of Computer and System Sciences, Vol. 1(2), pages 187–212, doi:10.1016/s0022-0000(67)80014-x . Wikipedia revision 1264116738, retrieved 2026-11-18. Retrieved November 25, 2026, from http://www.dx.doi.org/10.1016/s0022-0000(67)80014-x

Cite this article

MLA

"Tree stack automaton." encyclopegia.org, 2024, https://encyclopegia.org/wiki/tree-stack-automaton. Accessed 25 November 2026.

Chicago

"Tree stack automaton." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/tree-stack-automaton.

APA

encyclopegia.org. (2024). Tree stack automaton. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/tree-stack-automaton

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ti -Tree

stub · references available

Siberian Tree Frog

stub · references available

Olive-tree Warbler

stub · references available

Tree Pipit

stub · references available

Matschie's tree-kangaroo

stub · references available

two-stack push down automaton

stub · references available

phylogenetic tree

stub · references available

two-way deterministic finite automaton

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1264116738 · 0.5 · snapshot enwiki-001264116738

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.