Skip to main content

Solving Mixed Quantified Constraints over a Domain Based on \( \mathcal{R} \)eal Numbers and \( \mathcal{H} \)erbrand Terms

  • Conference paper
  • First Online:
Functional and Logic Programming (FLOPS 2002)

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

Included in the following conference series:

  • 251 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Buchberger, B. and Winkler, F. (eds.) Gröebner Bases and Applications, Cambridge Univ. Press, 1998. 107

    Google Scholar 

  2. Caprotti, O. Extending RISC-CLP(Real) to Handle Symbolic Functions, A. Miola (ed.) DISCO 1993. LNCS 722, Springer, 1993, 241–255. 104, 116

    Google Scholar 

  3. Caviness, B. F. and Johnson, J.R. Quantifier Elimination and Cylindrical Algebraic Decomposition, Springer, 1998. 107, 109, 117

    Google Scholar 

  4. Clark, K. L., Negation as Failure, in: H. Gallaire and J. Minker (eds.) Logic and Databases 293–322, Plenum Press, 1978. 106

    Google Scholar 

  5. Colmerauer, A. An introduction to PROLOG III, Commun. ACM 33(7), 1990, 69–90. 104, 116

    Article  Google Scholar 

  6. Comon, H. and Lescanne, P. Equational problems and disunification, J. of Symbolic Computation 7,1989, 371–425. 104

    Article  MATH  MathSciNet  Google Scholar 

  7. 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

    Google Scholar 

  8. Herbrand, J. Researches sur la theorie de la demonstration. In: Ecrits logiques de Jacques Herbrand, Paris, PUF, 1968. 107

    Google Scholar 

  9. 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

    Google Scholar 

  10. Jaffar, J. and Maher, M. Constraint Logic Programming: A Survey, J. of Logic Programming 19(20), 1994, 503–581. 103, 104

    Article  MathSciNet  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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

    Google Scholar 

  13. 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

    Article  MATH  MathSciNet  Google Scholar 

  14. Lloyd, J. W. Foundations of Logic Programming, Springer-Verlag, 1987. 103

    Google Scholar 

  15. 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

    Google Scholar 

  16. 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

    Article  MATH  MathSciNet  Google Scholar 

  17. Nadathur, G. A Proof Procedure for the Logic of Hereditary Harrop Formulas, J. of Automated Reasoning 11,1993, 111–145. 104

    Article  MathSciNet  Google Scholar 

  18. 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

    Article  MATH  Google Scholar 

  19. Tarski, A. A Decision Method for Elementary Algebra and Geometry, University of California Press, 1951. 104, 106, 117

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics