Skip to main content

2021 | OriginalPaper | Buchkapitel

Homomorphic Characterization of Tree Languages Based on Comma-Free Encoding

verfasst von : Stefano Crespi Reghizzi, Pierluigi San Pietro

Erschienen in: Language and Automata Theory and Applications

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

A classic result in language theory is Medvedev’s theorem for trees, stating that any regular tree language can be defined by the projection of a local tree language, i.e., of a language defined by its tiles of height 2, a.k.a. di-grams. The simple proof of the statement is based on a local alphabet whose size (linearly) depends on the number of states of the tree automaton recognizing the original language. We prove a new extended version of Medvedev’s theorem for trees, by using a k-locally testable tree language defined by tiles of height \(k\ge 2\) (k-grams). The size of the local alphabet is just the double of the original one, hence it is independent from the complexity of the tree automaton. This result relies on an encoding of the states traversed by a tree automaton, by means of binary comma-free codes carefully laid on tree paths. We thus generalize from words to trees our recent extended Medvedev’s theorem for word languages that was based on strictly locally testable word languages. By applying the result to the syntax trees of context-free grammars, we characterize them by k-locally testable, binary-labeled trees .

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Anselmo, M., Madonia, M.: Two-dimensional comma-free and cylindric codes. Theor. Comput. Sci. 658, 4–17 (2017)MathSciNetCrossRef Anselmo, M., Madonia, M.: Two-dimensional comma-free and cylindric codes. Theor. Comput. Sci. 658, 4–17 (2017)MathSciNetCrossRef
2.
Zurück zum Zitat Berstel, J., Perrin, D., Reutenauer, C.: Codes and Automata, volume 129 of Encyclopedia of Mathematics and its Applications. CUP (2009) Berstel, J., Perrin, D., Reutenauer, C.: Codes and Automata, volume 129 of Encyclopedia of Mathematics and its Applications. CUP (2009)
4.
Zurück zum Zitat Crespi-Reghizzi, S., Guida, G., Mandrioli, D.: Noncounting context-free languages. J. ACM 25(4), 571–580 (1978)MathSciNetCrossRef Crespi-Reghizzi, S., Guida, G., Mandrioli, D.: Noncounting context-free languages. J. ACM 25(4), 571–580 (1978)MathSciNetCrossRef
5.
Zurück zum Zitat Crespi-Reghizzi, S., San Pietro, P.: From regular to strictly locally testable languages. Int. J. Found. Comput. Sci. 23(8), 1711–1728 (2012)MathSciNetCrossRef Crespi-Reghizzi, S., San Pietro, P.: From regular to strictly locally testable languages. Int. J. Found. Comput. Sci. 23(8), 1711–1728 (2012)MathSciNetCrossRef
6.
Zurück zum Zitat Engelfriet, J.: Tree automata and tree grammars. CoRR, abs/1510.02036 (2015) Engelfriet, J.: Tree automata and tree grammars. CoRR, abs/1510.02036 (2015)
9.
Zurück zum Zitat McNaughton, R., Papert, S.: Counter-Free Automata. MIT Press, Cambridge (1971)MATH McNaughton, R., Papert, S.: Counter-Free Automata. MIT Press, Cambridge (1971)MATH
10.
Zurück zum Zitat Medvedev, Y.T.: On the class of events representable in a finite automaton. In: Moore, E.F. (ed.) Sequential Machines - Selected Papers, pp. 215–227. Addison-Wesley (1964) Medvedev, Y.T.: On the class of events representable in a finite automaton. In: Moore, E.F. (ed.) Sequential Machines - Selected Papers, pp. 215–227. Addison-Wesley (1964)
11.
Zurück zum Zitat Perrin, D., Reutenauer, C.: Hall sets, Lazard sets and comma-free codes. Discret. Math. 341(1), 232–243 (2018)MathSciNetCrossRef Perrin, D., Reutenauer, C.: Hall sets, Lazard sets and comma-free codes. Discret. Math. 341(1), 232–243 (2018)MathSciNetCrossRef
12.
Zurück zum Zitat Place, T., Segoufin, L.: A decidable characterization of locally testable tree languages. Log. Methods Comput. Sci. 7(4), 1–25 (2011) MathSciNetCrossRef Place, T., Segoufin, L.: A decidable characterization of locally testable tree languages. Log. Methods Comput. Sci. 7(4), 1–25 (2011) MathSciNetCrossRef
13.
Metadaten
Titel
Homomorphic Characterization of Tree Languages Based on Comma-Free Encoding
verfasst von
Stefano Crespi Reghizzi
Pierluigi San Pietro
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-68195-1_19