Abstract
In Apt and Bezem [AB99] we provided a computational interpretation of first-order formulas over arbitrary interpretations. Here we complement this work by introducing a denotational semantics for first-order logic. Additionally, by allowing an assignment of a non-ground term to a variable we introduce in this framework logical variables.
The semantics combines a number of well-known ideas from the areas of semantics of imperative programming languages and logic programming. In the resulting computational view conjunction corresponds to sequential composition, disjunction to “don’t know” nondeterminism, existential quantification to declaration of a local variable, and negation to the “negation as finite failure” rule. The soundness result shows correctness of the semantics with respect to the notion of truth. The proof resembles in some aspects the proof of the soundness of the SLDNF-resolution.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
K. R. Apt and M. A. Bezem. Formulas as programs. In K.R. Apt, V.W. Marek, M. Truszczyński, and D.S. Warren, editors, The Logic Programming Paradigm: A 25 Year Perspective, pages 75–107, 1999. Available via http://xxx.lanl.gov/archive/cs/.
K. R. Apt, J. Brunekreef, V. Partington, and A. Schaerf. Alma-0: An imperative language that supports declarative programming. ACM Toplas, 20(5):1014–1066, 1998.
K. L. Clark. Negation as failure. In H. Gallaire and J. Minker, editors, Logic and Databases, pages 293–322. Plenum Press, New York, 1978.
E. M. Clarke. Programming language constructs for which it is impossible to obtain good Hoare axiom systems. J. of the ACM, 26(1):129–147, January 1979.
J W. de Bakker. Mathematical Theory of Program Correctness. Prentice-Hall International, Englewood Cliffs, N.J., 1980.
DVS+88._M. Dincbas, P. Van Hentenryck, H. Simonis, A. Aggoun, T. Graf, and F. Berthier. The Constraint Logic Programming Language CHIP. In FGCS-88: Proceedings International Conference on Fifth Generation Computer Systems, pages 693–702, Tokyo, December 1988. ICOT.
P. M. Hill and J. W. Lloyd. The Gödel Programming Language. The MIT Press, 1994.
J. Jaffar, S. Michayov, P. Stuckey, and R. Yap. The CLP(R) language and system. ACM Transactions on Programming Languages and Systems, 14(3):339–395, July 1992.
R.A. Kowalski and D. Kuehner. Linear resolution with selection function. Artificial Intelligence, 2:227–260, 1971.
R.A. Kowalski. Predicate logic as a programming language. In Proceedings IFIP’74, pages 569–574. North-Holland, 1974.
J. W. Lloyd and R. W. Topor. Making Prolog more expressive. Journal of Logic Programming, 1:225–240, 1984.
M.J. Maher. Complete axiomatizations of the algebras of finite, rational and infinite trees. In Proceedings of the Fifth Annual Symposium on Logic in Computer Science, pages 348–357. The MIT Press, 1988.
J.A. Robinson. A machine-oriented logic based on the resolution principle. J. A CM, 12(1):23–41, 1965.
D. S. Scott and C. Strachey. Towards a mathematical semantics for computer languages. Technical Report PRG-6, Programming Research Group, University of Oxford, 1971.
P. Van Hentenryck. Constraint Satisfaction in Logic Programming. Logic Programming Series. MIT Press, Cambridge, MA, 1989.
J. van Eijck. Programming with dynamic predicate logic. Technical Report INS-R9810, CWI, Amsterdam, 1998.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Apt, K.R. (2000). A Denotational Semantics for First-Order Logic. In: Lloyd, J., et al. Computational Logic — CL 2000. CL 2000. Lecture Notes in Computer Science(), vol 1861. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44957-4_4
Download citation
DOI: https://doi.org/10.1007/3-540-44957-4_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-67797-0
Online ISBN: 978-3-540-44957-7
eBook Packages: Springer Book Archive