Skip to main content

Computing with infinitary logic

  • Conference paper
  • First Online:
Database Theory — ICDT '92 (ICDT 1992)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 646))

Included in the following conference series:

Abstract

Most recursive extensions of relational calculus converge around two central classes of queries: fixpoint and while. Infinitary logic (with finitely many variables) is a very powerful extension of these languages which provides an elegant unifying formalism for a wide variety of query languages. However, neither the syntax nor the semantics of infinitary logic are effective, and its connection to practical query languages has been largely unexplored. We relate infinitary logic to another powerful extension of fixpoint and while, called relational machine, which highlights the computational style of these languages. Relational machines capture the kind of computation occurring when a query language is embedded in a host programming language, as in C+SQL. The main result of this paper is that relational machines correspond to the natural effective fragment of infinitary logic. Other well-known query languages are related to infinitary logic using syntactic restrictions formulated in language-theoretic terms. For example, it is shown that while corresponds to infinitary logic formulas which can be described by a regular language. As a side effect to these results, we obtain interesting normal forms for infinitary logic formulas.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Afrati, F., S.S. Cosmadakis, M. Yannakakis, On Datalog vs. polynomial time, Proc. 10th ACM Symp. on Principles of Database Systems (1991), 13–25.

    Google Scholar 

  2. Abiteboul, S., V. Vianu, Datalog extensions for database updates and queries, J. Computer and System Sciences 43:1 (1991), 62–124.

    Google Scholar 

  3. Abiteboul, S., V. Vianu, Generic computation and its complexity, Proc. 23rd ACM Symposium on Theory of Computing (1991), 209–219.

    Google Scholar 

  4. Abiteboul, S., V. Vianu, Computing with first-order logic, to appear in J. Computer and System Sciences.

    Google Scholar 

  5. Abiteboul, S., M.Y. Vardi, V. Vianu, Fixpoint logics, relational machines, and computational complexity, to appear in Proc. 7th IEEE Conf. on Structure in Complexity Theory (1992).

    Google Scholar 

  6. Barwise, J., Admissible Sets and Structures, Springer-Verlag, 1975.

    Google Scholar 

  7. Barwise, J., On Moschovakis closure ordinals, J. Symbolic Logic, 42 (1977), 292–296.

    Google Scholar 

  8. Barwise, J., S. Feferman (eds.), Model-Theoretic Logics, Springer-Verlag, 1985.

    Google Scholar 

  9. D. A. M. Barrington, N. Immerman, and H. Straubing, On uniformity within NC1, J. Computer and System Sciences 41 (1990), 274–306.

    Google Scholar 

  10. Chandra, A.K., D. Harel, Computable Queries for Relational Databases, J. Computer and System Sciences 21:2 (1980), 156–178.

    Google Scholar 

  11. Chandra, A.K., D. Harel, Structure and Complexity of Relational Queries, J. Computer and System Sciences 25:1 (1982), 99–128.

    Google Scholar 

  12. Dawar, A., S. Lindell and S. Weinstein, Infinitary logic and inductive definability over finite structures, Technical Report, Univ. of Pennsylvania, 1991.

    Google Scholar 

  13. Fagin R., Finite-Model Theory—a Personal Perspective, Proc. 3rd Int'l. Conf. on Database Theory, Springer-Verlag, Lecture Notes in Computer Science 470 (1990), 3–24, to appear in Theoretical Computer Science.

    Google Scholar 

  14. Hopcroft J.E., J.D. Ullman, Introduction to Automata Theory, Languages and Computation, Addison-Wesley, 1979.

    Google Scholar 

  15. Immerman N., Relational queries computable in polynomial time, Information and Control 68 (1986), 86–104.

    Article  Google Scholar 

  16. Kanellakis, P.C., Elements of Relational Database Theory, Handbook of Theoretical Computer Science (J. van Leeuwen, A.R. Meyer, N. Nivat, M.S. Paterson, and D. Perrin, eds.), Vol. B, Chapter 17, North-Holland, 1990.

    Google Scholar 

  17. Kolaitis, P., M.Y. Vardi, The decision problem for the probabilities of higher-order properties, Proc. 19th ACM Symp. on Theory of Computing (1987), 425–435.

    Google Scholar 

  18. Kolaitis, P., M.Y. Vardi, On the expressive power of Datalog: tools and a case study, Proc. 9th ACM Symp. on Principles of Database Systems (1990), 61–71. To appear in J. Computer and System Sciences.

    Google Scholar 

  19. Kolaitis, P., M.Y. Vardi, 0–1 laws for infinitary logic, Proc. 5th IEEE Symp. on Logic in Computer Science (1990), 156–167. To appear in Information and Computation.

    Google Scholar 

  20. Kolaitis, P., M.Y. Vardi, Fixpoint vs. infinitary logic in finite-model theory, to appear in Proc. 7th IEEE Symp. on Logic in Computer Science (1992).

    Google Scholar 

  21. Shemesh Y., N. Francez, Finite-state Datalog automata and relational languages, unpublished manuscript, 1988.

    Google Scholar 

  22. Ullman, J.D., Principles of Database and Knowledge Base Systems, Computer Science Press, 1988.

    Google Scholar 

  23. Vardi, M.Y., The complexity of relational query languages, Proc. 14th ACM Symp. on Theory of Computing (1982), 137–146.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Joachim Biskup Richard Hull

Rights and permissions

Reprints and permissions

Copyright information

© 1992 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Abiteboul, S., Vardi, M., Vianu, V. (1992). Computing with infinitary logic. In: Biskup, J., Hull, R. (eds) Database Theory — ICDT '92. ICDT 1992. Lecture Notes in Computer Science, vol 646. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56039-4_36

Download citation

  • DOI: https://doi.org/10.1007/3-540-56039-4_36

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-56039-5

  • Online ISBN: 978-3-540-47360-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics