Hostname: page-component-586b7cd67f-rdxmf Total loading time: 0 Render date: 2024-11-24T11:46:36.913Z Has data issue: false hasContentIssue false

Comparing the succinctness of monadic query languages over finite trees

Published online by Cambridge University Press:  15 October 2004

Martin Grohe
Affiliation:
Institut für Informatik, Humboldt-Universität Berlin, Germany; [email protected].; [email protected].
Nicole Schweikardt
Affiliation:
Institut für Informatik, Humboldt-Universität Berlin, Germany; [email protected].; [email protected].
Get access

Abstract

We study the succinctness of monadic second-order logic and a variety of monadic fixed point logics on trees. All these languages are known to have the same expressive power on trees, but some can express the same queries much more succinctly than others. For example, we show that, under some complexity theoretic assumption, monadic second-order logic is non-elementarily more succinct than monadic least fixed point logic, which in turn is non-elementarily more succinct than monadic datalog.
Succinctness of the languages is closely related to the combined and parameterised complexity of query evaluation for these languages.

Keywords

Type
Research Article
Copyright
© EDP Sciences, 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

S. Abiteboul, P. Buneman and D. Suciu, Data on the Web: From Relations to Semistructured Data and XML. Morgan Kaufmann (1999).
S. Abiteboul, R. Hull and V. Vianu, Foundations of databases. Addison-Wesley (1995).
Adler, M. and Immerman, N., An n! lower bound on formula size. ACM Trans. Comput. Logic 4 (2003) 296314. CrossRef
Alechina, N. and Immerman, N., Reachability logic: An efficient fragment of transitive closure logic. Logic Journal of the IGPL 8 (2000) 325338. CrossRef
Chandra, A. and Harel, D., Structure and complexity of relational queries. J. Comput. Syst. Sci. 25 (1982) 99128. CrossRef
Dantsin, E., Goerdt, A., Hirsch, E.A., Kannan, R., Kleinberg, J., Papadimitriou, C., Raghavan, P. and Schöning, U., A deterministic (2 - 2/(k + 1))n algorithm for k-SAT based on local search. Theor. Comput. Sci. 289 (2002) 6983. Revised version of: Deterministic algorithms for k-SAT based on covering codes and local search, ICALP'00. Lect. Notes Comput. Sci. 1853. CrossRef
H.-D. Ebbinghaus and J. Flum, Finite Model Theory. Springer-Verlag, 2nd edition (1999).
Etessami, K., Vardi, M.Y. and Wilke, T., First-order logic with two variables and unary temporal logic. Inform. Comput. 179 (2002) 279295. CrossRef
Fagin, R., Monadic generalized spectra. Zeitschrift für mathematische Logik und Grundlagen der Mathematik 21 (1975) 8996. CrossRef
Fernandez, M.F., Siméon, J. and Wadler, P., An algebra for XML query, in Proc. of the 20th Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS'00), edited by S. Kapoor and S. Prasad, Springer-Verlag. Lect. Notes Comput. Sci. 1974 (2000) 1145. CrossRef
M. Frick and M. Grohe, The complexity of first-order and monadic second-order logic revisited. Ann. Pure Appl. Logic, accepted (2004).
M. Frick, M. Grohe and C. Koch, Query evaluation on compressed trees, in Proc. of the 18th IEEE Symposium on Logic in Computer Science (LICS'03) (2003) 188–197.
Gottlob, G. and Koch, C., Monadic datalog and the expressive power of web information extraction languages. J. ACM 51 (2004) 74113. CrossRef
Grädel, E. and Otto, M., Logics, On with Two Variables. Theor. Comput. Sci. 224 (1999) 73113. CrossRef
Grohe, M. and Schweikardt, N., Comparing the succinctness of monadic query languages over finite trees, in Proc. of the 17th International Workshop on Computer Science Logic (CSL'03), Springer-Verlag. Lect. Notes Comput. Sci. 2803 (2003) 226240. CrossRef
M. Grohe and N. Schweikardt, Comparing the succinctness of monadic query languages over finite trees. Technical Report EDI-INF-RR-0168, School of Informatics, University of Edinburgh, Scotland, UK (2003).
M. Grohe and N. Schweikardt, The succinctness of first-order logic on linear orders, in Proc. of the 19th IEEE Symposium on Logic in Computer Science (LICS'04) (2004) 438–447.
H. Hosoya and B.C. Pierce, XDuce: A typed XML processing language (preliminary report), in International Workshop on the Web and Databases, edited by D. Suciu and G. Vossen (2000). Reprinted in The Web and Databases, Selected Papers, Springer. Lect. Notes Comput. Sci. 1997 (2001).
N. Immerman, Descriptive Complexity. Springer-Verlag (1999).
H. Kamp, Tense Logic and the theory of linear order. Ph.D. Thesis, University of California, Los Angeles (1968).
C. Koch, Efficient processing of expressive node-selecting queries on XML data in secondary storage: A tree-automata based approach, in VLDB'03: 29th Conference on Very Large Databases, Berlin, September (2003) 249-260.
F. Neven, Design and Analysis of Query Languages for Structured Documents – A Formal and Logical Approach. Ph.D. Thesis, Limburgs Universitair Centrum (1999).
Neven, F. and Schwentick, T., Query automata over finite trees. Theor. Comput. Sci. 275 (2002) 633674. CrossRef
W. Thomas, Languages, automata, and logic, in Handbook of formal languages 3 (1996), edited by G. Rozenberg and A. Salomaa, Springer, New York.
Vardi, M.Y., Reasoning about the past with two-way automata, in 25th International Colloquium on Automata, Languages and Programming (ICALP'98), edited by K.G. Larsen, S. Skyum and G. Winskel, Springer-Verlag. Lect. Notes Comput. Sci. 1443 (1998) 628641. CrossRef
Wilke, T., CTL+ is exponentially more succinct than CTL, in Proc. of the 19th Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS'99), Springer-Verlag. Lect. Notes Comput. Sci. 1738 (1999) 110121. CrossRef