Skip to main content
Log in

Δ: Set-theoretic query language capturing LOGSPACE

  • Published:
Annals of Mathematics and Artificial Intelligence Aims and scope Submit manuscript

Abstract

Two versions of a set theoretic Δ-language are considered as theoretical prototypes for database query languages with “nested”, “unstructured” data where database states and queries are represented as hereditarily-finite (HF) sets and set theoretic operations, respectively. It is shown that these versions correspond exactly to (N/D)LOGSPACE computability over HF relative to a special graph representation (encoding) of HF-sets. Such languages over sets, capturing also PTIME, were introduced in previous works, however, descriptions of LOGSPACE over HF [34] were not completely satisfactory. Here we overcome the drawbacks of the previous approaches by some new partial result on definability of a linear ordering over finite extensional acyclic graphs and present a unified and simplified approach.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. S. Abiteboul, Querying semi-structured data, in: Database Theory-ICDT'97, 6th International Conference, Delphi, Greece, January 1997, Proceedings, Lecture Notes in Computer Science, Vol. 1186 (Springer, Berlin, 1997) pp. 1-18.

    Google Scholar 

  2. S. Abiteboul and C. Beeri, On the power of languages for the manipulation of complex objects, INRIA Research Report 846 (1988), Abstract in Proc. International Workshop on Theory and Applications of Nested Relations and Complex Objects, Darmstadt (1987).

  3. S. Abiteboul, P. Buneman and D. Suciu, Data on the Web: From Relations to Semistructured Data and XML (Morgan Kaufman, San Francisco, CA, 2000).

    Google Scholar 

  4. S. Abiteboul, R. Hull and V. Vianu, Foundations of Databases (Addison-Wesley, Reading, MA, 1995).

    Google Scholar 

  5. S. Abiteboul, M Vardi and V. Vianu, Fixpoint logics, relational machines, and computational complexity, JACM 44(1) (1997) 30-56.

    Google Scholar 

  6. S. Abiteboul and V. Vianu, Queries and computation on the Web, Database Theory-ICDT'97, 6th International Conference, Delphi, Greece, January 1997, Proceedings, Lecture Notes in Computer Science, Vol. 1186 (Springer, Berlin, 1997) pp. 262-275.

    Google Scholar 

  7. P. Aczel, Non-Well-Founded Sets, CSLI Lecture Notes, Vol. 14 (1988).

  8. J.K. Barwise, Admissible Sets and Structures (Springer, Berlin, 1975).

    Google Scholar 

  9. P. Buneman, S. Davidson, G. Hillebrand and D. Suciu, A query language and optimization techniques for unstructured data, in: Proc. of SIGMOD, San Diego, CA (1996).

  10. P. Buneman, S. Davidson, M. Fernandez and D. Suciu, Adding structure to unstructured data, in: ICDT'97, 6th International Conference, Delphi, Greece, January 1997, Proceedings, Lecture Notes in Computer Science, Vol. 1186 (Springer, Berlin, 1997) pp. 336-350.

    Google Scholar 

  11. A. Blass, Y. Gurevich and S. Shelah, Choiceless polynomial time, Ann. Pure Appl. Logic 100 (1999) 141-187.

    Google Scholar 

  12. Val Breazu-Tannen and R. Subrahmanyam, Logical and computational aspects of programming with sets/bags/lists, Manuscript (1991).

  13. A. Chandra and D. Harel, Structure and complexity of relational queries, J. Comput. System Sci. 25 (1982) 99-128.

    Google Scholar 

  14. E. Dahlhaus, Is SETL a suitable language for parallel programming-a theoretical approach, in: CSL'87, eds. E. Börger, H. Kleine Buning and M.M. Richter, Lecture Notes in Computer Science, Vol. 329 (1987) pp. 56-63.

  15. E. Dahlhaus and J. Makowsky, The choice of programming primitives in SETL-like languages, in: ESOP'86, Lecture Notes in Computer Science, Vol. 213 (1986) pp. 160-172.

  16. E. Dahlhaus and J. Makowsky, Query languages for hierarchic databases, Information and Computation 101 (1992) 1-32.

    Google Scholar 

  17. R.O. Gandy, Set theoretic functions for elementary syntax, in: Proc. Sympos. Pure Math., Vol. 13, Part 2 (1974) pp. 103-126.

    Google Scholar 

  18. M.R. Garey and D.S. Johnson, Computers and Intractability: A Guide to the Theory of NPCompleteness (Freeman, New York, 1979).

    Google Scholar 

  19. E. Grädel and M. Spielmann, Logspace reducibility via abstract state machines, in: Proceedings of World Congress on Formal Methods (FM '99), Lecture Notes in Computer Science, Vol. 1709 (Springer, Berlin, 1999) pp. 1738-1757.

    Google Scholar 

  20. S. Grumbach and V. Vianu, Tractable query languages for complex object databases, Rapports de Recherche N. 1573, INRIA (1991).

  21. Y. Gurevich, Algebras of feasible functions, Found. Comput. Ser. 24 (1983) 210-214.

    Google Scholar 

  22. Y. Gurevich, Logic and challenge of computer science, in: Current Trends in Theoretical Computer Science, ed. E. Börger (Computer Science Press, 1988) pp. 1-57.

  23. Y. Gurevich, Evolving Algebra 1993: Lipari guide, in: Specification and Validation Methods, ed. E. Börger (Oxford University Press, 1995) pp. 9-36.

  24. Y. Gurevich, May 1997 draft of the ASM guide (the Michigan Guide), Technical Report CSE-TR-336-97, EECS Department of University of Michigan (1997).

  25. N. Immerman, Relational queries computable in polynomial time, in: Proc. 14th. ACM Symp. on Theory of Computing (1982) pp. 147-152. Also available in Inform. and Control 68 (1986) 86-104.

  26. N. Immerman, Languages which captures complexity classes, SIAM J. Comput. 16(4) (1987) 760-778.

    Google Scholar 

  27. N. Immerman, Descriptive and computational complexity, in: Proceedings of Symposia in Applied Mathematics, Vol. 38 (1989) pp. 75-91.

    Google Scholar 

  28. N. Immerman, S. Patnaik and D. Stemple, The expressiveness of a family of finite set languages, Theoret. Comput. Sci. 155(1) (1996) 111-140.

    Google Scholar 

  29. R.B. Jensen, The fine structure of the constructible hierarchy, Ann. Math. Logic 4 (1972) 229-308.

    Google Scholar 

  30. A. Kosky, Observational properties of databases with object identity, Technical Report MS-CIS-95-20, Department of Computer and Information Science, University of Pennsylvania (1995).

  31. G.M. Kuper and M.Y. Vardi, A new approach to database logic, in: Proc. 3rd ACM Symp. on Principles of Database Systems (1984).

  32. A.V. Leontjev and V.Yu. Sazonov, Capturing LOGSPACE over hereditarily-finite sets, in: Foundations of Information and Knowledge Systems, First International Symposium, FoIKS 2000, Burg, Germany, February 14-17, 2000, Proceedings, eds. K.-D. Schewe and B. Thalheim, Lecture Notes in Computer Science, Vol. 1762 (Springer, Berlin, 2000) pp. 157-175.

    Google Scholar 

  33. A. Levy, A hierarchy of formulas in set theory, Mem. Amer. Math. Soc., Vol. 57 (1965) 76.

    Google Scholar 

  34. A.P. Lisitsa and V.Yu. Sazonov, Delta-languages for sets and LOGSPACE computable graph transformers, Theoret. Comput. Sci. 175(1) (1997) 183-222.

    Google Scholar 

  35. A.P. Lisitsa and V.Yu. Sazonov, Linear ordering on graphs, anti-founded sets and polynomial time computability, Theoret. Comput. Sci. 224(1-2) (1999) 173-213. Earlier version also available in: Proc. of the 4th International Symp. on Logical Foundations of Computer Science, Yaroslavl, Russia, 1997, Lecture Notes in Computer Science, Vol. 1234 (Springer, Berlin, 1997) pp. 178-188.

    Google Scholar 

  36. A.P. Lisitsa and V.Yu. Sazonov, Bounded hyperset theory and Web-like data bases, in: Computational Logic and Proof Theory, 5th Kurt Gödel Colloquium, KGC'97, Vienna, Austria, August 25-29, 1997, Proceedings, eds. G. Gottlob, A. Leitsch and D. Mundici, Lecture Notes in Computer Science, Vol. 1289 (Springer, Berlin, 1997) pp. 172-185.

    Google Scholar 

  37. A.P. Lisitsa and V.Yu. Sazonov, Bounded hyperset theory and Web-like databases, Manuscript (preliminary version) (1998).

  38. A.B. Livchak, Languages of polynomial queries, in: Raschet i Optimizacija Teplotehnicheskih Ob'ektov s Pomosh'ju EVM, Sverdlovsk (1982) p. 41 (in Russian).

  39. A.O. Mendelzon, G.A. Mihaila and T. Milo, Querying the World Wide Web, Internat. J. Digital Libraries 1(1) (1997) 54-67.

    Google Scholar 

  40. M. Otto, Bisimulation-Invariant PTIME and higher-dimensional µ-calculus, Theoret. Comput. Sci. 224 (1999) 237-265. Earlier version, Capturing bisimulation-invariant PTIME, available in: Proc. of the 4th International Symp. on Logical Foundations of Computer Science, Yaroslavl, Russia, 1997, Lecture Notes in Computer Science, Vol. 1234 (1997) pp. 294-305.

    Google Scholar 

  41. V.Yu. Sazonov, Polynomial computability and recursivity in finite domains, Elektronische Informationsverarbeitung und Kybernetik 16(7) (1980) 319-323.

    Google Scholar 

  42. V.Yu. Sazonov, Bounded set theory and polynomial computability, in: All Union Conference on Applied Logic, Proceedings (Novosibirsk, 1985) pp. 188-191 (in Russian).

  43. V.Yu. Sazonov, The collection principle and the existential quantifier, Logiko-Matematicheskie Problemy MOZ., Vychislitel'nye Sistemy 107 (1985) 30-39 (in Russian). English translation: Amer. Math. Soc. Transl. Ser. 2 142 (1989) 1-8.

    Google Scholar 

  44. V.Yu. Sazonov, Bounded set theory, polynomial computability and Δ-programming, Application aspects of mathematical logic, Computing systems 122 (1987) 110-132 (in Russian). A short English version of this paper available in: Lecture Notes in Computer Science, Vol. 278 (Springer, Berlin, 1987) pp. 391-397.

    Google Scholar 

  45. V.Yu. Sazonov, Hereditarily-finite sets with attributes, data bases and polynomial-time computability, in: Actes Preliminaires du Symposium Franco-Sovietique, INFORMATIKA'91, 16-18 Octobre, Grenoble (INRIA, 1991) pp. 113-132.

  46. V.Yu. Sazonov, Hereditarily-finite sets, data bases and polynomial-time computability, Theoret. Comput. Sci. 119 (1993) 187-214.

    Google Scholar 

  47. V.Yu. Sazonov and A.V. Leontjev, On coding hereditarily-finite sets and polynomial-time computability, in: Theoretical and Applied Foundations of Program Systems (Program Systems Institute of Russian Acad. of Sci., Pereslavl-Zalessky, 1994) pp. 203-229 (in Russian).

  48. V.Yu. Sazonov, A bounded set theory with anti-foundation axiom and inductive definability, in: Computer Science Logic, 8th Workshop, CSL'94 Kazimierz, Poland, September 1994, Selected Papers, Lecture Notes in Computer Science, Vol. 933 (Springer, Berlin, 1995) pp. 527-541.

    Google Scholar 

  49. V.Yu. Sazonov, On bounded set theory, in: Proceedings of 10th International Congress on Logic, Methodology and Philosophy of Sciences, Florence, August 1995, Vol. I: Logic and Scientific Method (Kluwer Academic, Dordrecht, 1997) pp. 85-103 (invited talk).

    Google Scholar 

  50. V.Yu. Sazonov, Using agents for concurrent querying of Web-like databases via a hyper-set-theoretic approach, Andrei Ershov Fourth International Conference on Perspectives of Systems Informatics, Novosibirsk, Akademgorodok, Russia (3-6 July 2001), Springer Lecture Notes in Computer Science, in print, 17 pages.

  51. J.R. Shoenfield, Mathematical Logic (Addison-Wesley, Reading, MA, 1967).

    Google Scholar 

  52. R. Szelepcsényi, The method of forcing for nondeterministic automata, Bull. European Assoc. Theor. Comp. Sci. (October 1987) 96-100.

  53. M.Y. Vardi, The complexity of relational query languages, in: Proc. of the 14th. ACMSymp. on Theory of Computing (1982) pp. 137-146.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Leontjev, A., Sazonov, V. Δ: Set-theoretic query language capturing LOGSPACE. Annals of Mathematics and Artificial Intelligence 33, 309–345 (2001). https://doi.org/10.1023/A:1013189515673

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1013189515673

Navigation