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.
Preview
Unable to display preview. Download preview PDF.
References
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.
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.
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.
Boolos, G., Jeffrey, R. (1973) Computability and Logic, Cambridge University Press.
Clark, K.L. (1976) Negation as Failure, in: Logic and Databases (eds. H. Gallaire and J. Minker), Plenum Press.
Dugundji, J., Granas, A. (1982) Fixed-Point Theory, PWN Press, Warsaw.
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.
Flum, J., Ziegler, M. (1980) Topological Model Theory, Lecture Notes in Mathematics, vol. 769, Springer-Verlag.
Garavaglia, S. (1978) Model Theory of Topological Structures, Annals of Mathematical Logic, 14, pps 13–37.
Gierz, G., Hofmann, K.H., Keimel, K., Lawson, J.D., Mislove, M., Scott, D.S. (1980) A Compendium of Continuous Lattices, Springer-Verlag.
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.
Jaffar, J., Stuckey, P.J. (1986) Canonical Logic Programs, J. of Logic Programming, 2, pps 143–155.
Jungck, G. (1976) Commuting Mappings and Fixed Points, Amer. Math. Monthly 83, pps 261–163.
Kelley, J. (1955) General Topology, Van Nostrand Reinhold.
Kuratowski, K. (1966) Topology, Vol. 1, Academic Press.
Lloyd, J.W. (1984) Foundations of Logic Programming, Springer-Verlag.
Maher, M. (1987) Equivalences of Logic Programs, in: Foundations of Logic Programming and Deductive Databases, (ed. Jack Minker), Morgan Kauffman, to appear.
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.
Munkres, J.R. (1975) Topology: A First Course, Prentice-Hall, Inc.
Sayeki, H. (1968) Some Consequences of the Normality of the Space of Models, Fund. Math. LXI, pps 243–251.
Vaught, R. (1974) Invariant Sets in Topology and Logic, Fund. Math. LXXXII, pps 269–294.
Author information
Authors and Affiliations
Editor information
Rights 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