Skip to main content

On Completion of Constraint Handling Rules

  • Conference paper
  • First Online:

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

Abstract

Constraint Handling Rules (CHR) is a high-level language for writing constraint solvers either from scratch or by modifying existing solvers. An important property of any constraint solver is confluence: The result of a computation should be independent from the order in which constraints arrive and in which rules are applied. In previous work [1], a sufficient and necessary condition for the confluence of terminating CHR programs was given by adapting and extending results about conditional term rewriting systems. In this paper we investigate so-called completion methods that make a non-confluent CHR program confluent by adding new rules. As it turns out, completion can also exhibit inconsistency of a CHR program. Moreover, as shown in this paper, completion can be used to define new constraints in terms of already existing constraints and to derive constraint solvers for them.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Abdennadher. Operational semantics and confluence of constraint propagation rules. In Third International Conference on Principles and Practice of Constraint Programming, CP’97, LNCS 1330. Springer-Verlag, 1997.

    Google Scholar 

  2. S. Abdennadher. Analyse von regelbasierten Constraintlösern (in German). PhD thesis, Computer Science Institute, LMU Munich, February 1998.

    Google Scholar 

  3. S. Abdennadher, T. Frühwirth, and H. Meuss. On confluence of constraint handling rules. In 2nd International Conference on Principles and Practice of Constraint Programming, CP’96, LNCS 1118. Springer-Verlag, August 1996. Revised and extended version to appear in the Constraints Journal.

    Google Scholar 

  4. ACM. The constraint programming working group. Technical report, ACM-MIT SDRC Workshop, Report Outline, Draft, September 1996.

    Google Scholar 

  5. L. Bachmair and N. Dershowitz. Commutation, transformation, and termination. In J. H. Siekmann, editor, Proceedings of the Eighth International Conference on Automated Deduction (Oxford, England), LNCS 230. Springer-Verlag, July 1986.

    Google Scholar 

  6. M. P. Bonacina and J. Hsiang. On rewrite programs: Semantics and relationsship with PROLOG. Journal of Logic Programming, 14:155–180, 1992.

    Article  MATH  MathSciNet  Google Scholar 

  7. N. Dershowitz and N. A. Josephson. Logic programming by completion. In Sten-åke TÄrnlund, editor, Proceedings of the Second International Conference on Logic Programming, Uppsala, 1984.

    Google Scholar 

  8. N. Dershowitz, N. Okada, and G. Sivakumar. Confluence of conditional rewrite systems. In J.-P. Jouannaud and S. Kaplan, editors, Proceedings of the 1st International Workshop on Conditional Term Rewriting Systems, LNCS 308, 1988.

    Google Scholar 

  9. T. Frühwirth. Constraint handling rules. In A. Podelski, editor, Constraint Programming: Basics and Trends, LNCS 910. Springer-Verlag, March 1995.

    Google Scholar 

  10. T. Frühwirth. A Declarative Language for Constraint Systems: Theory and Practice of Constraint Handling Rules. Habilitation, Computer Science Institute, LMU Munich, 1998. Shortened version to appear in Journal of Logic Programming, Special Issue on Constraint Logic Programming, P. Stuckey and K. Marriot, editors.

    Google Scholar 

  11. J. Jaffar and M. J. Maher. Constraint logic programming: A survey. Journal of Logic Programming, 20, 1994.

    Google Scholar 

  12. D. E. Knuth and P. B. Bendix. Simple word problems in universal algebra. In J. Leech, editor, Computational Problems in Abstract Algebra. Pergamon Press, 1970.

    Google Scholar 

  13. K. Marriott and P. Stuckey. Programming with Constraints: An Introduction. The MIT Press, 1998.

    Google Scholar 

  14. V. A. Saraswat. Concurrent Constraint Programming. MIT Press, Cambridge, 1993.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Abdennadher, S., Frühwirth, T. (1998). On Completion of Constraint Handling Rules. In: Maher, M., Puget, JF. (eds) Principles and Practice of Constraint Programming — CP98. CP 1998. Lecture Notes in Computer Science, vol 1520. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49481-2_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-49481-2_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65224-3

  • Online ISBN: 978-3-540-49481-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics