Skip to main content

The query topology in logic programming

  • Contributed Papers
  • Conference paper
  • First Online:
STACS 89 (STACS 1989)

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

Included in the following conference series:

Abstract

We define a topology called the query topology on each of two sets — the set of interpretations of a first order language and the set of models of any sentence in the language. We show that in each of these cases, the resulting topology is a perfectly normal, T 4-space. In addition, the query topology on the set of interpretations is compact. We derive a necessary and sufficient condition for the query topology on the space of models of sentences to be compact and show, in addition, that the completions of canonical logic programs (cf. Jaffar and Stuckey [12]) have a compact space of models. The familiar T P operator (cf. Lloyd [16]) may now be viewed as a function from a compact Hausdorff space to a compact Hausdorff space. We show that if P is either covered or function-free, then T P is continuous in the query topology. The fact that the space of interpretations of a language is compact Hausdorff allows us to use the well-known theorems in topological fixed point theory to obtain heretofore unknown results on the semantics of logic programming. We present one such result — viz. a necessary and sufficient topological condition that guarantees the J-consistency (a notion defined in the paper) of completions of general logic programs.

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. Batarekh, A., Subrahmanian, V.S. (1988) A T 4-Space of Models of Logic Programs and their Completions, Tech. Report LPRG-TR-88-15, Logic Programming Research Group, Syracuse University.

    Google Scholar 

  2. Batarekh, A., Subrahmanian, V.S. (1988) Semantical Equivalences of (Non-Classical) Logic Programs, in: Proc. 5th Intl. Conf./Symp. on Logic Programming (eds. K. Bowen and R. Kowalski), pps 960–977, MIT Press.

    Google Scholar 

  3. Batarekh, A., Subrahmanian, V.S. (1988) Topological Model Set Deformations in Logic Programming, Tech. Report LPRG-TR-88-26, Logic Programming Research Group, Syracuse University.

    Google Scholar 

  4. Boolos, G., Jeffrey, R. (1973) Computability and Logic, Cambridge University Press.

    Google Scholar 

  5. Clark, K.L. (1976) Negation as Failure, in: Logic and Databases (eds. H. Gallaire and J. Minker), Plenum Press.

    Google Scholar 

  6. Dugundji, J., Granas, A. (1982) Fixed-Point Theory, PWN Press, Warsaw.

    Google Scholar 

  7. Ehrenfeucht, A., Mostowski, A. (1961) A Compact Space of Models of First Order Theories, in Foundational Studies: Selected Works of A. Mostowski, Vol. 2, pps 432–436, North Holland.

    Google Scholar 

  8. Flum, J., Ziegler, M. (1980) Topological Model Theory, Lecture Notes in Mathematics, vol. 769, Springer-Verlag.

    Google Scholar 

  9. Garavaglia, S. (1978) Model Theory of Topological Structures, Annals of Mathematical Logic, 14, pps 13–37.

    Google Scholar 

  10. Gierz, G., Hofmann, K.H., Keimel, K., Lawson, J.D., Mislove, M., Scott, D.S. (1980) A Compendium of Continuous Lattices, Springer-Verlag.

    Google Scholar 

  11. Jaffar, J., Lassez, J.-L., Maher, M. (1986) Some Issues and Trends in the Semantics of Logic Programming, Proc. 3rd Intl. Conf. on Logic Programming, Lecture Notes in Computer Science, Vol. 225, Springer Verlag.

    Google Scholar 

  12. Jaffar, J., Stuckey, P.J. (1986) Canonical Logic Programs, J. of Logic Programming, 2, pps 143–155.

    Google Scholar 

  13. Jungck, G. (1976) Commuting Mappings and Fixed Points, Amer. Math. Monthly 83, pps 261–163.

    Google Scholar 

  14. Kelley, J. (1955) General Topology, Van Nostrand Reinhold.

    Google Scholar 

  15. Kuratowski, K. (1966) Topology, Vol. 1, Academic Press.

    Google Scholar 

  16. Lloyd, J.W. (1984) Foundations of Logic Programming, Springer-Verlag.

    Google Scholar 

  17. Maher, M. (1987) Equivalences of Logic Programs, in: Foundations of Logic Programming and Deductive Databases, (ed. Jack Minker), Morgan Kauffman, to appear.

    Google Scholar 

  18. Mostowski, A. (1962) A Problem in the Theory of Models, in Foundational Studies: Selected Works of A. Mostowski, Vol. 2, pps 488–493, North Holland.

    Google Scholar 

  19. Munkres, J.R. (1975) Topology: A First Course, Prentice-Hall, Inc.

    Google Scholar 

  20. Sayeki, H. (1968) Some Consequences of the Normality of the Space of Models, Fund. Math. LXI, pps 243–251.

    Google Scholar 

  21. Vaught, R. (1974) Invariant Sets in Topology and Logic, Fund. Math. LXXXII, pps 269–294.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

B. Monien R. Cori

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Batarekh, A., Subrahmanian, V.S. (1989). The query topology in logic programming. In: Monien, B., Cori, R. (eds) STACS 89. STACS 1989. Lecture Notes in Computer Science, vol 349. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0029000

Download citation

  • DOI: https://doi.org/10.1007/BFb0029000

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-50840-3

  • Online ISBN: 978-3-540-46098-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics