Abstract
Combining the logic of hereditary Harrop formulas HH with a constraint system, a logic programming language is obtained that extends Horn clauses in two different directions, thus enhancing substantially the expressivity of Prolog. The implementation of this new language requires the ability to test the satisfiability of constraints built up by means of terms and predicates belonging to the domain of the chosen constraint system, and by the connectives and quantifiers usual in first-order logic. In this paper we present a constraint system called \( \mathcal{R}\mathcal{H} \) for a hybrid domain that mixes Herbrand terms and real numbers. It arises when joining the axiomatization of the arithmetic of real numbers and the axiomatization of the algebra of finite trees. We have defined an algorithm to solve certain constraints of this kind. The novelty relies on the combination of two different mechanisms, based on elimination of quantifiers, o ne used for solving unification and disunification problems, the other used to solve polynomials. This combination provides a procedure to solve \( \mathcal{R}\mathcal{H} \)-constraints in the context of HH with constraints.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Buchberger, B. and Winkler, F. (eds.) Gröebner Bases and Applications, Cambridge Univ. Press, 1998. 107
Caprotti, O. Extending RISC-CLP(Real) to Handle Symbolic Functions, A. Miola (ed.) DISCO 1993. LNCS 722, Springer, 1993, 241–255. 104, 116
Caviness, B. F. and Johnson, J.R. Quantifier Elimination and Cylindrical Algebraic Decomposition, Springer, 1998. 107, 109, 117
Clark, K. L., Negation as Failure, in: H. Gallaire and J. Minker (eds.) Logic and Databases 293–322, Plenum Press, 1978. 106
Colmerauer, A. An introduction to PROLOG III, Commun. ACM 33(7), 1990, 69–90. 104, 116
Comon, H. and Lescanne, P. Equational problems and disunification, J. of Symbolic Computation 7,1989, 371–425. 104
García-Díaz, M. and Nieva, S. Solving mixed quantified constraints over a domain based on real numbers and Herbrand terms, Technical Report 01-121, Dep. of Computer Science, Univ. Complutense of Madrid, 2001. 104, 111, 114
Herbrand, J. Researches sur la theorie de la demonstration. In: Ecrits logiques de Jacques Herbrand, Paris, PUF, 1968. 107
Hong, M., RISC-CLP(CF) Constraint Logic Programming over Complex Functions, Frank Pfenning (ed.) Logic Programming and Automated Reasoning, LPAR’94. LNCS 822, Springer, 1994, 99–113. 104, 116
Jaffar, J. and Maher, M. Constraint Logic Programming: A Survey, J. of Logic Programming 19(20), 1994, 503–581. 103, 104
Jaffar, J., Michaylov, S., Stuckey, P. and Yap, R. The CLP(R) Language and System, ACM Transactions on Programming Languages 14(3), 1992, 339–395. 104, 116
Leach, J. and Nieva, S. A Higher-Order Logic Programming Language with Constraints, Kuchen, H. and Ueda, K. (eds.) LOPS’01. LNCS 2024, Springer, 2001, 102–122. 103
Leach, J., Nieva, S. and Rodríguez-Artalejo, M. Constraint Logic Programming with Hereditary Harrop Formulas, Theory and Practice of Logic Programming 1(4), Cambridge University Press, 2001, 409–445. 103, 104, 105, 106, 114, 117
Lloyd, J. W. Foundations of Logic Programming, Springer-Verlag, 1987. 103
Maher, M. Complete axiomatizations of the algebras of finite, rational and infinite trees, in Procs. of the Third Annual Symposium on Logic in Computer Science, Edinburgh, 1988. IEEE Computer Society, 348–357. 104, 107, 109, 117
Miller, D., Nadathur, G., Pfenning, F. and Scedrov, A. Uniform Proofs as a Foundation for Logic Programming, Annals of Pure and Applied Logic 51, 1991, 125–157. 104, 105
Nadathur, G. A Proof Procedure for the Logic of Hereditary Harrop Formulas, J. of Automated Reasoning 11,1993, 111–145. 104
Nelson, G. and Oppen, D. Simplification by Cooperating Decision Procedures, ACM Transactions on Programming Languages and Systems 1(2), 1979, 245–257. 104, 106, 116
Tarski, A. A Decision Method for Elementary Algebra and Geometry, University of California Press, 1951. 104, 106, 117
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
García-Díaz, M., Nieva, S. (2002). Solving Mixed Quantified Constraints over a Domain Based on \( \mathcal{R} \)eal Numbers and \( \mathcal{H} \)erbrand Terms. In: Hu, Z., Rodríguez-Artalejo, M. (eds) Functional and Logic Programming. FLOPS 2002. Lecture Notes in Computer Science, vol 2441. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45788-7_6
Download citation
DOI: https://doi.org/10.1007/3-540-45788-7_6
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-44233-2
Online ISBN: 978-3-540-45788-6
eBook Packages: Springer Book Archive