Abstract
We introduce a new form of logic programming with constraints. The constraints that we consider are not restricted to statements on real numbers as in CLP(R), see Jaffar and Lassez [10]. Instead our constraints are arbitrary global constraints. The basic idea is that the applicability of a given rule is not predicated on the fact that individual variables satisfy certain constraints, but rather on the fact that the least model of the set rules that are ultimately applicable satisfy the constraint of the rule. Thus the role of clauses is slightly different than in the usual Logic Programming with constraints. In fact, the paradigm we present is closely related to stable model semantics of general logic programming, Gelfond and Lifschitz [9]. We define the notion of a constraint model of a constraint logic program and show that stable models of logic programs as well as the supported models of logic programs are just special cases of constraint models of constraint logic programs. In the general definition of a constraint logic program, the constraint of a clause is not restricted to be of a certain form or even to be expressible in the underlying language of the logic program. This feature is useful for certain applications in hybrid control systems and database applications that we have in mind. In this paper, however, we focus on the properties of constraint programs and constraint models in the simplest case where the constraints arc expressible in the language of underlying program.
Research supported by NSF grant IRI-9400568
Research supported by US ARO contract DAAL03-91-C-0027
Research partially supported by NSF grant DMS-9306427
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
A.V. Aho and J.D. Ullman. Universality of Data Retrieval Languages. In: ACM Symposium on Principles of Programming Languages, pages 110–120, 1979.
K. Apt. Logic programming. In: J. van Leeuven, editor, Handbook of Theoretical Computer Science, pages 493–574. MIT Press, Cambridge, MA, 1990.
K.R. Apt, H.A. Blair, and A. Walker. Towards a Theory of Declarative Knowledge. In: J. Minker, editor, Foundations of Deductive Databases and Logic Programming, pages 89–142, Los Altos, CA, 1987. Morgan Kaufmann.
C. Baral and V.S. Subrahmanian. Stable and Extension Class Theory for Logic Programs and Default Theories. Journal of Automated Reasoning 8, pages 345–366, 1992.
H.A. Blair. The recursion-theoretic complexity of predicate logic as programming language. Information and Control 54, pages 25–47, 1982.
K.L. Clark. Negation as failure. In: H. Gallaire and J. Minker, editors, Logic and data bases, pages 293–322. Plenum Press, 1978.
A. Colmcrauer. PROLOG III Reference and Users Manual, PrologIA, Marseilles 1990.
M. Dincbas and H. Simonis and P. Van Hententryck and A. Aggoun. The Constraint Logic Programming Language CHIP. In: Proceedings of the 2nd International Conference on Fifth Generation Computing Systems, pages 249–264. 1988.
M. Gelfond and V. Lifschitz. The Stable Semantics for Logic Programs. In: Proceedings of the 5th International Symposium on Logic Programming, pages 1070–1080, Cambridge, MA., MIT Press, 1988.
J. Jaffar and J.-L. Lassez. Constraint Logic Programming. In: Proceedings of the. 14th ACM Symposium on Principles of Programming Languages, pages 111–119, Münich, 1987.
J. Jaffar and M. Maher. Constraint Logic Programming: A Survey. Journal of Logic Programming 19–20, pages 503–581, 1994.
V. Marek, A. Nerode, and J.B. Remmel. Rule Systems, well orderings, and foward chaining. Cornell University, MSI Technical Report, 1994.
R. Reiter. A logic for default reasoning. Artificial Intelligence 13, pages 81–132, 1980.
M.H. van Emden and R.A. Kowalski. The Semantics of Predicate Logic as a Programming Language. Journal of the ACM 23 pages 733–742, 1976.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Marek, V.W., Nerode, A., Remmel, J.B. (1995). On logical constraints in logic programming. In: Marek, V.W., Nerode, A., Truszczyński, M. (eds) Logic Programming and Nonmonotonic Reasoning. LPNMR 1995. Lecture Notes in Computer Science, vol 928. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-59487-6_4
Download citation
DOI: https://doi.org/10.1007/3-540-59487-6_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-59487-1
Online ISBN: 978-3-540-49282-5
eBook Packages: Springer Book Archive